Skip to:

REST API design

  • macordu


    Hi. I do need to implement a native APP, and at this point, I’ve already understood I need to develop myself the REST API for that. So I am fighting with that (taking into account I am new to WP, BP and have PHP in a corner of my mind). My starting point, apart from reading all the documentation, is the official repo pointed above. I’ve been doing some small modifications. Now, I am trying to get the activity of a group (I mean filtering the stream to get just the posts and nested comments/replies related to one group). So now I need to start making some decisions concerning the REST design. I would rather do things as similar to the official path as possible (if possible). So after this long intro, my first question: is there anywhere any kind of design for the endpoints? I am thinking if the activity item should link the replies or everything should go in the collection. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp


    Designing endpoints is perhaps the major issue for this API and the subject of much discussion.

    I would encourage you to use the Issues tab on the repo:

    There is also a BuddyPress Slack channel. From the repo readme:
    Weekly BP REST API dev chat are held on Wednesdays at 22:00 UTC in WordPress Slack channel #buddypress



    Ok. Already there. Thanks for the tips.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar