[buddypress-trac] [BuddyPress Trac] #8698: BP REST API Messages endpoint - additional recipient data
buddypress-trac
noreply at wordpress.org
Mon May 23 19:05:59 UTC 2022
#8698: BP REST API Messages endpoint - additional recipient data
-------------------------+----------------------------------
Reporter: niftythree | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Under Consideration
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+----------------------------------
Comment (by imath):
@espellcaste I like the `_embed` feature, if I understand well, we'd need
to add a new REST API link to the recipients collection there
https://github.com/buddypress/BP-
REST/blob/fbd9eab4cb37a1fd0068504e918e2af58b94e528/includes/bp-
messages/classes/class-bp-rest-messages-endpoint.php#L992 with an
embeddable property set to true (+ the same kind of link for the sending
user)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8698#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list