Skip to content

get posts

Hadrien Daures edited this page Jun 6, 2018 · 5 revisions

URL: POST: /get/posts

Request content:
{
    TOKEN: "the token",
    TARGETID: "the target id", //will be usable either for sport center's posts and user's posts
    START: 12, //start from the 12th post
    END: 10 //get 10 posts from the START (12->22 here)
}

Response content:
{
    STATUS: "the status code",
    POSTS: [
               { POSTID:"postid1", POSTTYPE:"type"}, 
               { POSTID:"postid2", POSTTYPE:"type"},
               ...
           ]
}
Clone this wiki locally