[buddypress-trac] [BuddyPress Trac] #9145: BP REST API - V2
buddypress-trac
noreply at wordpress.org
Thu Sep 26 18:52:00 UTC 2024
#9145: BP REST API - V2
---------------------------------------------+--------------------------
Reporter: espellcaste | Owner: espellcaste
Type: task | Status: assigned
Priority: highest | Milestone: 15.0.0
Component: REST API | Version: 5.0.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit |
---------------------------------------------+--------------------------
Changes (by espellcaste):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests commit
* version: => 5.0.0
Comment:
We are ready to merge/commit the V2 of the BP REST API. Before doing so,
let me share some of the steps we will take.
- I'll commit the code from this
[https://github.com/buddypress/buddypress/pull/337 pr] to BuddyPress
`trunk`.
- I'll merge the code from this [https://github.com/buddypress/BP-
REST/pull/512 pr] in the BP REST plugin GitHub repo.
**The main difference here is that V2 will be bundled with `trunk` and
it'll be the default REST API for BuddyPress. If you need to use the V1 of
the BP REST API, you'll need to install the BP REST plugin (more
documentation about how to perform this task soon).**
After those two are done, we will start making other changes to better
support V2 inside BuddyPress itself. Here are some of the tickets in **the
current milestone**:
- #9229
- #8774
- #9231
- #9175
- #9137
- #9157
- #9160
And start deprecating V1 in other places too:
- update the current bp rest doc site to use `wp.apiRequest`.
- move `bp_rest_api_register_request_script` to `deprecated/10.php`. See
[https://github.com/buddypress/buddypress/pull/337#discussion_r1742403899
here].
- Add `_deprecated_function` See
[https://github.com/buddypress/buddypress/pull/337#discussion_r1742402110
here]
- Remove the `bp.apiRequest` file in BuddyPress 16 (ticket soon)
While those tickets are not fixed, we will keep this one open. I'm glad to
say most of them are already done and tested, so we should expect very few
issues.
I'll be publishing a blog post in our [https://bpdevel.wordpress.com/
development blog] soon about V2 BP REST API and the changes that came
along with it.
:)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9145#comment:28>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list