post/api/v1/tag/

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

$schemastring uri

A URL to the JSON Schema for this object.

namestring required

The name of the tag to create

typestring required

The type of the tag

Example request

{
  "$schema": "https://example.com/schemas/CreateTagBody.json",
  "name": "Hockey",
  "type": "sports"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

idstring required

ID of the tag created

namestring required

The name of the tag created

typestring required

The type of the tag

Example response

{
  "$schema": "https://example.com/schemas/CreateTagResponse.json",
  "id": "1",
  "name": "Hockey",
  "type": "sports"
}

Changes

    • ▲

      added the new required request property

    • ○

      added the required property to the response with the status

    • ▲

      removed the required property from the response with the status

    • ●

      removed the request property