Tags

Create a tag

Creates a tag in the workspace.

The name is trimmed before being stored. Tag names are unique within the workspace, so reusing an existing name returns 409.

post/tags

Request body

namestring required

Name of the tag. Must be unique within the workspace

Response

Tag created successfully

idstring uuid required

Id of the tag

namestring required

Name of the tag

Changes

Changed in 1 of the 9 revisions of this API.425

  • 8ccfb9a461e2425See the full diff
    • request body became required

      request-body-became-required

    • the request property name became required

      request-property-became-required

    • the name request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • removed the media type application/json for the response with the status 409

      response-media-type-removed

    • the name request property's maxLength was set to 128

      request-property-max-length-set

    • removed the request property id

      request-property-removed

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 401

      response-non-success-status-added

    • the response property id became required for the status 201

      response-property-became-required

    • the response property name became required for the status 201

      response-property-became-required

    • the id response's property pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ was added for the status 201

      response-property-pattern-added