Стикер с набором состояний

Создать

post/api-v2/string-stickers

Request

  • Base URL
    https://api-docs.yougile.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

namestring required

Имя стикера

icon'' | 'star' | 'heart' | 'check' | 'cloud' | 'filter' | 'alarm' | 'bolt' | 'bookmark' | 'box' | 'bulb' | 'prio' | 'code' | 'ruble' | 'dollar' | 'euro' | 'eye' | 'flag' | 'flame' | 'history' | 'info' | 'key' | 'anchor' | 'message' | 'movie' | 'mnote' | 'pencil' | 'picture' | 'pin' | 'clockwise' | 'clockwiseDot' | 'rectangle' | 'shield' | 'stack' | 'string' | 'timeStop' | 'design' | 'user' | 'plus' | 'gear' | 'sort' | 'calendar'

Иконка стикера

Example request

{
  "name": "Приоритет",
  "icon": "star",
  "states": [
    {
      "name": "Высокий",
      "color": "#FF0000"
    },
    {
      "name": "Низкий",
      "color": "#00FF00"
    }
  ]
}

Response

Стикер создан

idstring required

ID объекта

Example response

{
  "id": "4f6f0391-0f94-4d30-9b0e-99430a36d4fb"
}

Changes

No recorded changes to this operation across all 4 revisions of this API.