Body
The new 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>"
}
]
}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>"
}
]
}The new TopicType resource