Skip to main content
POST
/
api
/
v1
/
topic_types
Creates a TopicType resource.
curl --request POST \
  --url http://api/v1/topic_types \
  --header 'Content-Type: application/ld+json' \
  --data '
{
  "name": "<string>"
}
'
{
  "@context": "<string>",
  "@id": "<string>",
  "@type": "<string>",
  "id": 123,
  "name": "<string>",
  "topics": [
    {
      "@context": "<string>",
      "@id": "<string>",
      "@type": "<string>",
      "id": 123,
      "name": "<string>"
    }
  ]
}

Body

The new TopicType resource

name
string

Response

TopicType resource created

@context
@id
string
@type
string
id
integer
name
string
topics
object[]