Skip to main content

Create a new tag.

POST /api/admin/tags

Create a new tag with the specified data.

Request

Body

required

createTagSchema

  • value string required

    Possible values: Value must match regular expression ^\s*\S.{0,48}\S\s*$

    The value of the tag. The value must be between 2 and 50 characters long. Leading and trailing whitespace is ignored and will be trimmed before saving the tag value.

  • type string required

    Possible values: >= 2 characters and <= 50 characters

    The type of the tag

Responses

The resource was successfully created.

Response Headers
  • location string

    The location of the newly created resource.

Schema
  • version integer required

    The version of the schema used to model the tag.

  • tag objectrequired

    Representation of a tag

  • value string required

    Possible values: >= 2 characters and <= 50 characters

    The value of the tag.

  • type string required

    Possible values: >= 2 characters and <= 50 characters

    The type of the tag

Loading...