BbPress API Wordpress Plugin - Rating, Reviews, Demo & Download

BbPress API Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

A first attempt for a bbPress API.

WARNING This API will show all forums, topics, replies that bbPress has access to. If you have any extra plugin to restrict bbPress content, please double and triple check that everything works correctly.

Current routes for READING (GET):

  • /wp-json/bbp-api/v1/forums/ (list all forums)
  • /wp-json/bbp-api/v1/forums/id (includes latest topics and subforums)
  • /wp-json/bbp-api/v1/topics/ (latest topics from all forums)
  • /wp-json/bbp-api/v1/topics/id (includes latest replies)
  • /wp-json/bbp-api/v1/replies/id (show one reply)
  • /wp-json/bbp-api/v1/topic-tags/
  • /wp-json/bbp-api/v1/stats/

Parameters for /forums/id and /topics/id (following https://developer.wordpress.org/rest-api/using-the-rest-api/pagination/#pagination-parameters )

  • per_page (records per page)
  • page (page number)

Parameter for /topics/id (following https://developer.wordpress.org/rest-api/using-the-rest-api/linking-and-embedding/#embedding )

  • _embed (showing content for replies)

Current routes for WRITING (POST):

  • /wp-json/bbp-api/v1/forums/id (create a new topic in this forum)
  • /wp-json/bbp-api/v1/topics/id (create a reply to this topic ID)
  • /wp-json/bbp-api/v1/replies/id (create a reply to this reply ID)

Follow development on https://github.com/ePascalC/bbp-API/ !

Many thanks and credits to:

  • Daniel Turton (mistertwo) for the topics and replies POST functions
  • Tony Korologos (@tkserver) for his input and testing with his app

Consider also the following plugins:

  • bbP Toolkit
  • bbP Move Topics

Screenshots

No screenshots provided


Reviews & Comments