Etiquetas

Lista de Etiquetas

get

Recupera a lista de todas as etiquetas da empresa

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Operação bem sucedida

application/json
get
/tag/list
GET /tag/list HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "keyword": [
      "text"
    ],
    "title": "text",
    "bgColor": "text",
    "fontColor": "text"
  }
]

Consulta por ID

get

Recupera um canal pelo identificador

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Identificador

Responses
200

Operação bem sucedida

application/json
get
/tag/{id}
GET /tag/{id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "keyword": [
    "text"
  ],
  "title": "text",
  "bgColor": "text",
  "fontColor": "text"
}

Cria uma nova Etiqueta

post

Realiza a criação de uma nova Etiqueta

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
titlestringRequired
Responses
200

Operação bem sucedida

application/json
post
/tag/create
POST /tag/create HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "title": "text"
}
{
  "keyword": [
    "text"
  ],
  "title": "text",
  "bgColor": "text",
  "fontColor": "text"
}

Atualiza dados de uma Etiqueta

put

Realiza a atualização dos dados de uma etiqueta

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Operação bem sucedida

application/json
put
/tag/update
PUT /tag/update HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "keyword": [
    "text"
  ],
  "title": "text",
  "bgColor": "text",
  "fontColor": "text"
}

Last updated