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
Create platform
CreatePlatform
Creates new platform.
POST
/
ott
/
platforms
/
v1
Copy
curl --request POST \
--url https://api.mottostreaming.com/ott/platforms/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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>"
}'
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.
Body
application/json
Platform is a configuration object that defines the structure of a Motto OTT platform instance.
Response
200
application/json
OK
The response is of type object
.
Copy
curl --request POST \
--url https://api.mottostreaming.com/ott/platforms/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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>"
}'
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.