Create multiple tags

POST /v1/tags~bulkCreate

Create multiple tags

application/json

Body Required

  • name string Required

    Name of the tag

  • emoji string

    Emoji of the tag

Responses

  • 201 application/json

    Tags has been successfully created

    Hide response attributes Show response attributes object
    • created array[object] Required

      The tags that were created.

      Hide created attributes Show created attributes object
      • id string Required

        The id of the tag.

      • name string Required

        The name of the tag.

      • emoji string

        The emoji of the tag

      • order integer Required

        The order of the tag.

    • failed array[object] Required

      The tags that failed to be created.

      Hide failed attributes Show failed attributes object
      • name string Required

        Name of the tag

      • emoji string

        Emoji of the tag

  • 400

    Malformed payload

  • 413

    Payload is too large

POST /v1/tags~bulkCreate
curl \
 --request POST 'https://openapi.meltingspot.io/v1/tags~bulkCreate' \
 --header "Content-Type: application/json" \
 --data '[{"name":"string","emoji":"string"}]'
Request examples
[
  {
    "name": "string",
    "emoji": "string"
  }
]
Response examples (201)
{
  "created": [
    {
      "id": "string",
      "name": "string",
      "emoji": "string",
      "order": 42
    }
  ],
  "failed": [
    {
      "name": "string",
      "emoji": "string"
    }
  ]
}