content.game-modes
List published game modes and category branches.
GET
/api/v1/{locale}/game-modesAPI scope content.game-modes
Request
Send Authorization: Bearer <key> with each request.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
Query parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
category | string | Optional | Category slug. |
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/game-modes"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. |
modes | array or object | Conditional | Published game modes. |
branches | array or object | Conditional | Category tree branches. |
total | integer | Conditional | Total record count. |
counts | array or object | Conditional | Counts by group. |
selected | JSON value | Conditional | Category or filter selected on this screen. |
Selected fields from an example response
{
"data": {
"locale": "en",
"modes": [],
"branches": [],
"total": 1,
"counts": []
}
}