content.game-mode
Read a game mode’s details and any attached guide.
GET
/api/v1/{locale}/game-modes/{slug}API scope content.game-mode
Request
Send Authorization: Bearer <key> with each request.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
slug | string | Required | URL slug of the resource. |
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/example"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. |
mode | object | Conditional | Current game mode. |
selected | JSON value | Conditional | Category or filter selected on this screen. |
related | array or object | Conditional | Related published records. |
guide | object or null | Conditional | Related download guide, if present. |
Selected fields from an example response
{
"data": {
"locale": "en",
"mode": {},
"related": [],
"guide": {}
}
}