Skip to Content
MinexonMinexon

forum.edit-form

Read editable topic values and its submission ID.

GET/api/v1/{locale}/forum/topics/{slug}/edit

API scope forum.edit-form

Request

Send Authorization: Bearer <key> with each request.

Requires a signed-in player and applicable permission.

Path parameters

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

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/topics/example/edit"

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