Skip to Content
MinexonMinexon

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

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.
slugstringRequiredURL slug of the resource.

Query parameters

FieldTypeRequirementDescription
categorystringOptionalCategory 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.

FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
modeobjectConditionalCurrent game mode.
selectedJSON valueConditionalCategory or filter selected on this screen.
relatedarray or objectConditionalRelated published records.
guideobject or nullConditionalRelated download guide, if present.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "mode": {},
    "related": [],
    "guide": {}
  }
}

Flow and error cases

Shared error and authentication contract