Get Started
Studio API
- Introduction
- Streaming
- CMS
- OTT
- Platforms
- GETGet platform
- GETList platforms
- POSTCreate platform
- PATCHUpdate platform
- DELDelete platform
- Pages
- Page Components
- Slugs
- Files
- GET
- Banners
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Platforms
Update platform
UpdatePlatform
Updates existing platform.
PATCH
/
ott
/
platforms
/
v1
/
{platform_id}
Copy
curl --request PATCH \
--url https://api.mottostreaming.com/ott/platforms/v1/{platform_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"platform_id": "<string>",
"platform": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"hosts": [
"<string>"
],
"locales": [
"<string>"
],
"default_locale": "<string>",
"title": {},
"logo_asset_id": "<string>",
"favicon_asset_id": "<string>",
"colors": {},
"navbar_entries": [
{
"title": {},
"url": "<string>"
}
],
"footer_entries": [
{
"title": {},
"url": "<string>"
}
],
"feature_configuration": {},
"scripts": "<string>",
"css": "<string>"
},
"update_mask": "<string>"
}'
Copy
{
"platform": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"hosts": [
"<string>"
],
"locales": [
"<string>"
],
"default_locale": "<string>",
"title": {},
"logo_asset_id": "<string>",
"favicon_asset_id": "<string>",
"colors": {},
"navbar_entries": [
{
"title": {},
"url": "<string>"
}
],
"footer_entries": [
{
"title": {},
"url": "<string>"
}
],
"feature_configuration": {},
"scripts": "<string>",
"css": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
200
application/json
OK
The response is of type object
.
Copy
curl --request PATCH \
--url https://api.mottostreaming.com/ott/platforms/v1/{platform_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"platform_id": "<string>",
"platform": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"hosts": [
"<string>"
],
"locales": [
"<string>"
],
"default_locale": "<string>",
"title": {},
"logo_asset_id": "<string>",
"favicon_asset_id": "<string>",
"colors": {},
"navbar_entries": [
{
"title": {},
"url": "<string>"
}
],
"footer_entries": [
{
"title": {},
"url": "<string>"
}
],
"feature_configuration": {},
"scripts": "<string>",
"css": "<string>"
},
"update_mask": "<string>"
}'
Copy
{
"platform": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"hosts": [
"<string>"
],
"locales": [
"<string>"
],
"default_locale": "<string>",
"title": {},
"logo_asset_id": "<string>",
"favicon_asset_id": "<string>",
"colors": {},
"navbar_entries": [
{
"title": {},
"url": "<string>"
}
],
"footer_entries": [
{
"title": {},
"url": "<string>"
}
],
"feature_configuration": {},
"scripts": "<string>",
"css": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.