Tag

Tag schema

id long? Tag ID - cannot be null in PUT/PATCH methods 📶 EQUALS,ENUM

_cloudId integer Cloud ID

deleted boolean Tag deleted - cannot be true in POST/PUT/PATCH methods 📶 EQUALS, ENUM 🔽 BOTH

display boolean Tag displayed 📶 EQUALS, ENUM 🔽 BOTH

externalId string? External ID 📶 EQUALS,ENUM

name string(650) Tag name - must not be empty and must be unique. The name also cannot start with a dot "." when creating a new Tag (tags .dailymenu and .portion are allowed). 📶 STRING 🔽 BOTH

versionDate timestamp? Last modification date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH

JSON response

{
    "_cloudId": <integer>,
    "deleted": <boolean>,
    "display": <boolean>,
    "externalId": <string>,
    "id": <integer>,
    "name": <string>,
    "versionDate": <timestamp>
}

Get tags

GET https://api.dotykacka.cz/v2/clouds/:cloudId/tags

Path Parameters

NameTypeDescription

cloudId*

integer

Query Parameters

NameTypeDescription

sort

string

filter

string

page

integer

limit

integer

Headers

NameTypeDescription

If-None-Match

string

ETag to return results only if changed.

Authorization*

string

Bearer accessToken

[
 {
  // tag schema
 }
]

Get tag

GET https://api.dotykacka.cz/v2/clouds/:cloudId/tags/:tagId

Path Parameters

NameTypeDescription

tagId*

integer

cloudId*

integer

Headers

NameTypeDescription

If-None-Match

string

ETag to return results only if changed.

Authorization*

string

Bearer accessToken

{
    // tag schema
}

Create tags

POST https://api.dotykacka.cz/v2/clouds/:cloudId/tags

Path Parameters

NameTypeDescription

cloudId*

integer

Headers

NameTypeDescription

Authorization*

string

Bearer accessToken

Request Body

NameTypeDescription

array

Array of tags. Maximum size 100.

[
    {
        // tag schema
    }
]

Options tags

OPTIONS https://api.dotykacka.cz/v2/clouds/:cloudId/tags

Path Parameters

NameTypeDescription

cloudId*

integer

Headers

NameTypeDescription

Authorization*

string

Bearer accessToken

Options tag

OPTIONS https://api.dotykacka.cz/v2/clouds/:cloudId/tags/:tagId

Path Parameters

NameTypeDescription

tagId*

integer

cloudId*

integer

Headers

NameTypeDescription

Authorization*

string

Bearer accessToken

Last updated