[buddypress-trac] [BuddyPress Trac] #8200: Retrieving specific Group via REST API returns an array
buddypress-trac
noreply at wordpress.org
Fri Sep 27 21:11:35 UTC 2024
#8200: Retrieving specific Group via REST API returns an array
--------------------------+--------------------------
Reporter: ExoConsult | Owner: espellcaste
Type: enhancement | Status: closed
Priority: highest | Milestone: 15.0.0
Component: REST API | Version: 5.0.0
Severity: normal | Resolution: fixed
Keywords: dev-feedback |
--------------------------+--------------------------
Changes (by espellcaste):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"14026" 14026]:
{{{
#!CommitTicketReference repository="" revision="14026"
Include the V2 of the BP REST API in BuddyPress core.
We are officially deprecating the V1 of the BP REST API. And bundling the
new, default, V2 of the BP REST API inside BuddyPress core. Previously,
the V1 was developed as a plugin in a separate repo
(https://github.com/buddypress/BP-REST).
- One of the main differences between the V1 and V2 is how objects are
returned. Single items are no longer returned as an `array`;
- We have a new `BP_Test_REST_Controller_Testcase` for testing the new API
endpoints;
- We changed the names of our controllers to follow our autoloader rules;
- Removed the BP-REST plugin from `wp-env` and from our release script;
- And we added notices for the deprecated V1 API (endpoints and files).
Props imath & I. ;)
Fixes #8200
See #9145
Closes https://github.com/buddypress/buddypress/pull/337
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8200#comment:16>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list