forum.reply
Post a reply to an open topic the player may answer.
POST
/api/v1/{locale}/forum/topics/{slug}/repliesAPI scope forum.reply
Request
Send Authorization: Bearer <key> with each request.
Requires a signed-in player and applicable permission.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
slug | string | Required | URL slug of the resource. |
Request body
| Field | Type | Requirement | Description |
|---|---|---|---|
body | string | Required | Text or accepted HTML with 10–3,000 characters of body text. |
body_format | text | html | Optional | Set html for a formatted body. |
_submission | string | Required | The form response’s submission value. Reuse it when retrying the same logical submission. |
Run samples from your application server. See Quickstart for variables and sessions.
curl --fail-with-body --request POST \
-H "Authorization: Bearer $MINEXON_API_KEY" \
-b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
-H 'Content-Type: application/json' \
--data '{
"body": "Here are the opening details.",
"body_format": "text",
"_submission": "<submission from GET>"
}' \
"${MINEXON_BASE_URL}/api/v1/en/forum/topics/example/replies"Response
HTTP 200 · application/json
| Field | Type | Requirement | Description |
|---|---|---|---|
next | string | Required | Next location returned by the CMS or provider. |
notices | string[] | Conditional | Success and state codes. |
error | string | Conditional | Error code. |
errors | string[] | Conditional | Field or operation error codes. |
{
"next": "/en/forum/topic/example"
}When the form is shown again, the response can contain data instead of next. Check the HTTP status and the error fields together.
Form response fields
| 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. |
topic | object | Conditional | Topic data and related replies. |
categories | array or object | Conditional | Available categories or a map keyed by category. |
categoryTrails | array or object | Conditional | Category paths. |
relatedTopics | array or object | Conditional | Related topics. |
memberRoles | array or object | Conditional | Visible author role badges. |
forumCanReply | boolean | Conditional | Whether the current account can reply. |
forumCanManage | boolean | Conditional | Category moderation permission. |
forumCanFollow | boolean | Conditional | Topic follow permission. |
forumCanVote | boolean | Conditional | Poll-voting permission. |
forumCanEditTopic | boolean | Conditional | Permission to edit the topic. |
editableReplies | array | Conditional | IDs of editable replies. |
forumNotice | string or null | Conditional | Forum status notice. |
reportable | array or object | Conditional | Reportable targets and report state. |
reportError | string or null | Conditional | Report validation error. |
pollError | string or null | Conditional | Poll vote error. |
submission | string | Conditional | Submit as _submission for the same form. |