GET
/
cms
/
types
/
v1
curl --request GET \
  --url https://api.mottostreaming.com/cms/types/v1 \
  --header 'Authorization: Bearer <token>'
{
  "types": [
    {
      "id": "<string>",
      "project_id": "<string>",
      "base_type": "BASE_TYPE_UNSPECIFIED",
      "name": "<string>",
      "description": "<string>",
      "field_groups": [
        {
          "title": "<string>",
          "fields": [
            {
              "id": "<string>",
              "name": "<string>",
              "description": "<string>",
              "type": "FIELD_TYPE_UNSPECIFIED",
              "input_type": "INPUT_TYPE_UNSPECIFIED",
              "validations": {
                "count": {
                  "min": "<string>",
                  "max": "<string>"
                },
                "length": {
                  "min": "<string>",
                  "max": "<string>"
                },
                "range": {
                  "start": "<any>",
                  "exclude_start": true,
                  "end": "<any>",
                  "exclude_end": true
                },
                "in": {
                  "values": [
                    "<any>"
                  ]
                },
                "link_type": {
                  "type_ids": [
                    "<string>"
                  ],
                  "base_type": "BASE_TYPE_UNSPECIFIED"
                },
                "asset": {
                  "types": [
                    "<string>"
                  ]
                }
              },
              "default_value": "<any>",
              "visibility": "VISIBILITY_UNSPECIFIED"
            }
          ]
        }
      ],
      "disabled": true,
      "visibility": "VISIBILITY_UNSPECIFIED"
    }
  ],
  "next_page_token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page_size
integer
project_id
string
base_type
enum<string>
Available options:
BASE_TYPE_UNSPECIFIED,
BASE_TYPE_EVENT,
BASE_TYPE_CREATIVE_WORK,
BASE_TYPE_ENTITY
filter
string
page_token
string

Response

200
application/json
OK
types
object[]
next_page_token
string