-
Notifications
You must be signed in to change notification settings - Fork 4
III.2.b. Threads
/api/threadInfo.json?boardName=<bn>&threadNumber=<tn>
Information about a thread without posts.
{
"number": 1,
"bumpLimit": 500,
"postLimit": 1000,
"bumpLimitReached": true,
"postLimitReached": false,
"closed": false,
"fixed": false,
"postCount": 547,
"postingEnabled": true
}
On any error, an error object is returned. See Error object for details.
/<bn>/<page>.json
Note: page numbers begin from 0.
JSON representation of a page.
{
"threads": [
{thread},
...
],
"pageCount": 1,
"currentPage": 0,
"lastPostNumber": 60,
"postingSpeed": "2.6 post(s) per hour."
}
Note: see Get JSON representation of a thread for {thread} object example, and Get specific board description for {board} object example.
On any error, an error object is returned. See Error object for details.
/<bn>/res/<tn>.json
JSON representation of a thread.
{
"thread": {
"number": 4,
"bumpLimit": 500,
"postLimit": 1000,
"bumpLimitReached": false,
"postLimitReached": false,
"closed": false,
"fixed": false,
"postCount": 5,
"postingEnabled": true,
"opPost": {post},
"posts": [
{post},
...
]
},
"lastPostNumber": 60
}
Note: see Get specific post for {post} object example, and Get specific board description for {board} object example.
On any error, an error object is returned. See Error object for details.
/<bn>/catalog.json
JSON representation of a board catalog.
{
"threads": [
{thread},
...
],
"lastPostNumber": 65,
"postingSpeed": "2.6 post(s) per hour."
}
Note: see Get JSON representation of a thread for {thread} object example, and Get specific board description for {board} object example.
On any error, an error object is returned. See Error object for details.