GET
/
cms
/
types
/
v1
/
{type_id}
curl --request GET \
  --url https://api.mottostreaming.com/cms/types/v1/{type_id} \
  --header 'Authorization: Bearer <token>'
{
  "type": {
    "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"
  }
}

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

Query Parameters

base_type
enum<string>
Available options:
BASE_TYPE_UNSPECIFIED,
BASE_TYPE_EVENT,
BASE_TYPE_CREATIVE_WORK,
BASE_TYPE_ENTITY
project_id
string

Response

200
application/json
OK
type
object