BuddyPress Rest API参考

如果要开发BuddypRess的APP,或者是微信小程序,下面的API用得上。

  1. Activity http://site.com/wp-json/buddypress/v1/activity
  2. Groups http://site.com/wp-json/buddypress/v1/groups
  3. Group Membership http://site.com/wp-json/buddypress/v1/groups/<group_id>/members
  4. Group Membership Request(s) http://site.com/wp-json/buddypress/v1/groups/{group_id}/membership-request/
  5. Group Avatar http://site.com/wp-json/buddypress/v1/groups/<group_id>/avatar
  6. Group Cover http://site.com/wp-json/buddypress/v1/groups/<group_id>/cover
  7. Group Invites http://site.com/wp-json/buddypress/v1/groups/<group_id>/invites
  8. XProfile Fields http://site.com/wp-json/buddypress/v1/xprofile/fields
  9. XProfile Groups http://site.com/wp-json/buddypress/v1/xprofile/groups
  10. XProfile Data http://site.com/wp-json/buddypress/v1/xprofile/<field_id>/data/<user_id>
  11. Members http://site.com/wp-json/buddypress/v1/members
  12. Members Profile Photo (aka Avatar) http://site.com/wp-json/buddypress/v1/members/<user_id>/avatar
  13. Members Cover http://site.com/wp-json/buddypress/v1/members/<user_id>/cover
  14. Notifications http://site.com/wp-json/buddypress/v1/notifications
  15. Components http://site.com/wp-json/buddypress/v1/components
  16. Messages http://site.com/wp-json/buddypress/v1/messages
  17. Signup http://site.com/wp-json/buddypress/v1/signup
  18. Friends http://site.com/wp-json/buddypress/v1/friends
  19. Blogs http://site.com/wp-json/buddypress/v1/blogs
  20. Blog Avatar http://site.com/wp-json/buddypress/v1/blogs/<id>/avatar

BuddyPress REST API使用手册:

https://developer.buddypress.org/bp-rest-api/

发表回复