REST API design
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.
- You must be logged in to reply to this topic.