Skip to Content
MinexonMinexon

content.game-modes

List published game modes and category branches.

GET/api/v1/{locale}/game-modes

API scope content.game-modes

Request

Send Authorization: Bearer <key> with each request.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.

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"

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.
modesarray or objectConditionalPublished game modes.
branchesarray or objectConditionalCategory tree branches.
totalintegerConditionalTotal record count.
countsarray or objectConditionalCounts by group.
selectedJSON valueConditionalCategory or filter selected on this screen.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "modes": [],
    "branches": [],
    "total": 1,
    "counts": []
  }
}

Flow and error cases

Shared error and authentication contract