Skip to content

Thread Endpoint

Sh Lin edited this page May 11, 2017 · 3 revisions

GET /api/threads

Request

param type optional remarks
lower_limit integer yes returned thread id should be greater than this value
upper_limit integer yes returned thread id should be smaller than this value
client_id string yes used to check if user owned the post

Response

Array of 10 threads, each with 5 latest replies.

GET /api/threads/{id}

Request

param type optional remarks
lower_limit integer yes returned reply id should be greater than this value
upper_limit integer yes returned reply id should be smaller than this value
client_id string yes used to check if user owned the post

Response

Main post with 10 replies.

Clone this wiki locally