##// END OF EJS Templates
Added a doc for API
neko259 -
r503:1ffea44c 1.6-dev
parent child Browse files
Show More
@@ -0,0 +1,25 b''
1 # INTRO #
2
3 The API is provided to query the data from a neaboard server by any client
4 application.
5
6 Tha data is returned in the json format and got by an http query.
7
8 # METHODS #
9
10 /api/threads/N/?offset=M&tag=O
11
12 Get a thread list. You will get N threads (required parameter) starting from
13 Mth one (optional parameter, default is 0) with the tag O (optional parameter,
14 threads with any tags are shown by default).
15
16 /api/tags/
17
18 Get all active tag list. Active tag is a tag that has at least 1 active thread
19 associated with it.
20
21 /api/thread/N/
22
23 Get all Nth thread post. N is an opening post ID for the thread.
24
25 In case of incorrect request you can get http error 404.
General Comments 0
You need to be logged in to leave comments. Login now