[buddypress-trac] [BuddyPress Trac] #8697: BP REST API Messages endpoint - total messages per thread
buddypress-trac
noreply at wordpress.org
Thu May 5 11:36:32 UTC 2022
#8697: BP REST API Messages endpoint - total messages per thread
-------------------------+-----------------------------
Reporter: niftythree | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
Hi there,
We've noticed that currently there is no easy way to get the total number
of individual messages per message thread when accessing messages from the
BP REST API "messages" endpoint (as far as we are aware). In order to get
the total count, you have to repeatedly call the endpoint and add up the
number of messages returned for each thread. Because we're trying to
access the API via a mobile app, this really slows down the message
loading process. Would it possible to put in a total message count field
as part of the message thread data returned by the API?
Thanks!
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8697>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list