forum.category
List visible topics in the selected category branch.
GET
/api/v1/{locale}/forum/categories/{category}API scope forum.category
Request
Send Authorization: Bearer <key> with each request.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
category | string | Required | URL slug of the category. |
Query parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
q | string | Optional | Search text. |
page | integer ≥ 1 | Optional | Page number, defaults to 1. |
view | all | following | unanswered | Optional | Topic view, defaults to all. |
sort | activity | newest | replies | Optional | Sort order, defaults to activity. |
pending_page | integer ≥ 1 | Optional | Approval queue page for authorized users. |
This endpoint takes no request body.
Run samples from your application server. See Quickstart for variables and sessions.
curl --fail-with-body --request GET \
-H "Authorization: Bearer $MINEXON_API_KEY" \
"${MINEXON_BASE_URL}/api/v1/en/forum/categories/announcements?q=example&page=1"Response
HTTP 200 · application/json
The fields below are inside the response’s data object.
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | string | Required | Response locale. |
error | string or null | Conditional | Action error. Can be empty on success. |
errors | array or object | Conditional | Field or form validation errors. |
notice | string or null | Conditional | Action notice. |
categories | array or object | Conditional | Available categories or a map keyed by category. |
categoryTrails | array or object | Conditional | Category paths. |
topics | array or object | Conditional | Visible topics. |
pendingItems | array | Conditional | Approval queue rows available to the caller. |
pendingTotal | integer | Conditional | Total pending entries. |
pendingPage | integer | Conditional | Current approval queue page. |
pendingPages | integer | Conditional | Number of approval queue pages. |
showModerationQueue | boolean | Conditional | Whether the approval queue is available. |
forumNotice | string or null | Conditional | Forum status notice. |
selectedCategory | integer or string or null | Conditional | Current category filter. |
query | string | Conditional | Applied search text. |
counts | array or object | Conditional | Counts by group. |
page | integer | Conditional | Current page. |
pages | integer | Conditional | Number of result pages. |
total | integer | Conditional | Total record count. |
view | string | Conditional | Forum list view. |
sort | string | Conditional | Applied sort. |
following | array or object | Conditional | Topic following state. |
latestReplies | array or object | Conditional | Latest replies. |
onlinePlayers | array or object | Conditional | Online players, when available. |
Selected fields from an example response
{
"data": {
"locale": "en",
"categories": [],
"categoryTrails": [],
"topics": [],
"pendingItems": []
}
}