POST/spaces/api/v1/tags/{tagID}.json

create one or many tag/s for an installation. This will return a list

of tags that have been added with ID.

Path Params

  • Name
    tagID
    Type
    integer
    required
    Description

Body Params

    • Name
      tag
      Type
      object
      Description
      Tag is the full model struct for tags. It is the object sent to us from the client for the creation of a tag/s.

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
    • Code
      404
      Type
      object
      Schema
      Description
      404 Not Found
    • Code
      500
      Type
      object
      Schema
      Description
      500 Internal Server Error

    Examples

    200 OK

    Tag
    {
      "tag": {
        "color": "string",
        "createdAt": "2024-10-10T18:19:26.131Z",
        "createdBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "deletedAt": "2024-10-10T18:19:26.131Z",
        "deletedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "id": 0,
        "name": "string",
        "pageCount": 0,
        "updatedAt": "2024-10-10T18:19:26.131Z",
        "updatedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        }
      }
    }