Skip to content

Gets available threads including their last post.

GET
/api/forum/{forumId}/{forumSubId}

Authorizations

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

Parameters

Path Parameters

forumId*

which forum to return threads for (region or group)

Typeinteger
Required
forumSubId*

each region/group has another namespace to separate different forums with the same base id (region/group id, here: forumId). So with any forumId, there is (currently) 2, possibly infinite, actual forums (list of threads).
* 0: Forum, 1: Ambassador forum

Typeinteger
Required

Query Parameters

limit

how many search results to return

Typeinteger
offset

starting with which result

Typeinteger

Responses

Success
Authorization
api_key
Variables
Key
Value
forumId*
forumSubId*
limit
offset
cURL
curl -X GET \
'http://localhost/api/forum/{forumId}/{forumSubId}'

Samples

cURL
curl -X GET http://localhost/api/forum/{forumId}/{forumSubId}
JavaScript
fetch("http://localhost/api/forum/{forumId}/{forumSubId}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/forum/{forumId}/{forumSubId}");
Python
import requests
response = requests.get("http://localhost/api/forum/{forumId}/{forumSubId}")
print(response.json())