curl --request GET \
--url https://api.mottostreaming.com/cms/banners/v2/batch \
--header 'Authorization: Bearer <token>'{
"banners": [
{
"project_id": "<string>",
"name": "<string>",
"banner_type": "BANNER_TYPE_UNSPECIFIED",
"template_type": "<string>",
"id": "<string>",
"content_id": "<string>",
"dynamic_target": {
"filter": "<string>",
"order_by": "<string>",
"offset": "<string>"
},
"background_assets": [
{
"options": [
{
"asset_id": {
"asset_id": {}
},
"keypath": "<string>"
}
],
"breakpoint_width": 123
}
],
"data": {},
"environments": [
"<string>"
],
"css_classes": [
"<string>"
],
"visibility": "VISIBILITY_UNSPECIFIED",
"overrides": {},
"geo_applicability_exempt": {
"country_codes": [
"<string>"
]
},
"geo_applicability_apply": {
"country_codes": [
"<string>"
]
},
"destination_url": {},
"is_preview": true,
"source_banner_id": "<string>"
}
]
}BatchGetBanners
Returns banner information by banner IDs.
curl --request GET \
--url https://api.mottostreaming.com/cms/banners/v2/batch \
--header 'Authorization: Bearer <token>'{
"banners": [
{
"project_id": "<string>",
"name": "<string>",
"banner_type": "BANNER_TYPE_UNSPECIFIED",
"template_type": "<string>",
"id": "<string>",
"content_id": "<string>",
"dynamic_target": {
"filter": "<string>",
"order_by": "<string>",
"offset": "<string>"
},
"background_assets": [
{
"options": [
{
"asset_id": {
"asset_id": {}
},
"keypath": "<string>"
}
],
"breakpoint_width": 123
}
],
"data": {},
"environments": [
"<string>"
],
"css_classes": [
"<string>"
],
"visibility": "VISIBILITY_UNSPECIFIED",
"overrides": {},
"geo_applicability_exempt": {
"country_codes": [
"<string>"
]
},
"geo_applicability_apply": {
"country_codes": [
"<string>"
]
},
"destination_url": {},
"is_preview": true,
"source_banner_id": "<string>"
}
]
}