[buddypress-trac] [BuddyPress Trac] #8698: BP REST API Messages endpoint - additional recipient data

buddypress-trac noreply at wordpress.org
Thu May 5 11:39:46 UTC 2022

#8698: BP REST API Messages endpoint - additional recipient data
 Reporter:  niftythree   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:

 When using the BP REST API "messages" endpoint, the data returned in the
 "recipients" section as part of the messages payload does not contain the
 member's name (but it does contain avatar information). This means that
 the party calling the API needs to then perform multiple API calls to the
 “members” endpoint using the respective member IDs to retrieve member
 information before it can be presented to the user (for example, in our
 case we are displaying basic member information such as their name and
 avatar in an Inbox/Starred/Outbox interface). Can the “name” information
 be added to the recipients section to bypass the need to call the members


Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8698>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list