Skip to Content
MinexonMinexon

forum.new

Read eligible categories and submission data for a new topic.

GET/api/v1/{locale}/forum/topic-form

API scope forum.new

Request

Send Authorization: Bearer <key> with each request.

Requires a signed-in player and applicable permission.

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" \
  -b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
  "${MINEXON_BASE_URL}/api/v1/en/forum/topic-form"

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.
categoriesarray or objectConditionalAvailable categories or a map keyed by category.
categoryTrailsarray or objectConditionalCategory paths.
valuesobjectConditionalCurrent form values.
editingTopicobject or nullConditionalTopic being edited.
canManageEditbooleanConditionalModerator edit permission.
submissionstringConditionalSubmit as _submission for the same form.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "categories": [],
    "categoryTrails": [],
    "values": {},
    "editingTopic": {}
  }
}

Flow and error cases

Shared error and authentication contract