PATCH
/
annotations
/
types
/
v1
/
{type_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/annotations/types/v1/{type_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type_id": "<string>",
  "type": {
    "project_id": "<string>",
    "set_id": "<string>",
    "name": "<string>",
    "icon_asset_id": "<string>",
    "priority": "<string>",
    "group_name": "<string>",
    "disabled": true,
    "visibility": "VISIBILITY_UNSPECIFIED",
    "delay": "<string>",
    "custom_data": {},
    "entity_types": [
      "<string>"
    ],
    "kind": "KIND_UNSPECIFIED"
  },
  "update_mask": "<string>"
}'
{
  "type": {
    "id": "<string>",
    "project_id": "<string>",
    "set_id": "<string>",
    "name": "<string>",
    "icon_asset_id": "<string>",
    "priority": "<string>",
    "group_name": "<string>",
    "disabled": true,
    "visibility": "VISIBILITY_UNSPECIFIED",
    "delay": "<string>",
    "custom_data": {},
    "entity_types": [
      "<string>"
    ],
    "kind": "KIND_UNSPECIFIED"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

type_id
string
required

Body

application/json

Response

200
application/json

OK

The response is of type object.