Skip to content

Returns a forum thread including all posts​

GET
/api/forum/threads/{threadId}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

threadId*
Type
integer
Required
Minimum
1

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": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
  
  
"isSleeping": null
  
  
  
},
  
  
  
"hidden": {
  
  
  
  
"reason": "string",
  
  
  
  
"moderator": {
  
  
  
  
  
"id": 342528,
  
  
  
  
  
"name": "Franzi",
  
  
  
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
  
  
  
"isSleeping": null
  
  
  
  
},
  
  
  
  
"time": "string"
  
  
  
},
  
  
  
"lastEditedAt": null
  
  
}
  
],
  
"linkedReport": {
  
  
"id": 0,
  
  
"message": "string",
  
  
"reason": "string",
  
  
"reportedAt": "string",
  
  
"store": {
  
  
  
"id": 0,
  
  
  
"name": ""
  
  
},
  
  
"reporter": {
  
  
  
"id": 342528,
  
  
  
"name": "Franzi",
  
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
  
"isSleeping": null,
  
  
  
"mail": "string",
  
  
  
"lastName": "string"
  
  
},
  
  
"reported": {
  
  
  
"id": 342528,
  
  
  
"name": "Franzi",
  
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
  
"isSleeping": null,
  
  
  
"mail": "string",
  
  
  
"lastName": "string"
  
  
},
  
  
"forumThreadId": 0,
  
  
"status": "string",
  
  
"consequence": "string",
  
  
"reminderAt": "string",
  
  
"reportedRegionId": 0
  
}
}

Playground​

Authorization
Variables
Key
Value

Samples​