Returns a forum thread including all posts
GET
/api/forum/threads/{threadId}
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
TypeAPI Key (header: X-CSRF-Token)
Parameters
Path Parameters
threadId*
Typestring
RequiredPattern
"\\d+"Responses
Success
application/json
JSON
{
"id": 0,
"regionId": 0,
"subforumId": 0,
"title": "Beta Testing: API refactoring",
"pinnedLevel": 3,
"isLocked": true,
"isActive": true,
"creatorId": 0,
"lastPostId": 0,
"permissions": {
"mayModerate": true,
"mayHidePosts": true,
"mayDelete": true
},
"subscriptionsStatus": {
"isBellSubscribed": false,
"isMailSubscribed": false
},
"posts": [
{
"id": 0,
"body": "string",
"createdAt": "string",
"author": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
},
"hidden": {
"reason": "string",
"moderator": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
},
"time": "string"
}
}
]
}