Skip to main content
POST
/
admin
/
topic
/
create
Creates the new Topic
curl --request POST \
  --url https://api.example.com/admin/topic/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "parentTopicID": 123,
  "topic": "<string>",
  "languageID": 123,
  "isFeatured": true,
  "editionIDs": [
    123
  ]
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
parentTopicID
integer<int32> | null
topic
string | null
languageID
integer<int32>
editionIDs
integer<int32>[] | null

Response

Success

success
boolean
data
unknown