Get Started
Studio API
- Introduction
- Streaming
- CMS
- OTT
- Monetization
- IAM
- Accounts
- Users
- Organizations
- Projects
- Integration
- Analytics
Content Delivery API
Deep dive
Get project
GetProject
Returns information about the project.
curl --request GET \
--url https://api.mottostreaming.com/iam/projects/v1/{project_id} \
--header 'Authorization: Bearer <token>'
{
"project": {
"id": "<string>",
"org_id": "<string>",
"name": "<string>",
"disabled": true,
"content_delivery_settings": {
"public_keys": [
"<string>"
],
"embed_domains": [
"<string>"
],
"content_visibility": "VISIBILITY_UNSPECIFIED"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
Human readable, URL-compatible short identifier, like "motto" or "rtt-show". Must be unique.
Organization ID this project belongs to.
Name of the project, e.g. "Motto".
Is the project disabled? If true, it will not be returned in any list requests.
Settings relevant for the content delivery API
Keys that can be used from clients to retrieve information from public endpoints (e.g. list events). They are supposed to be stable and public because some of them would be compiled into clients.
List of allowed domains for the web embed.
Content visibility settings. It overrides content visibility settings of content within this project. For example, if event is published, but project is hidden, the event will be available only through direct link.
VISIBILITY_UNSPECIFIED
, VISIBILITY_PUBLISHED
, VISIBILITY_UNLISTED
, VISIBILITY_HIDDEN
curl --request GET \
--url https://api.mottostreaming.com/iam/projects/v1/{project_id} \
--header 'Authorization: Bearer <token>'
{
"project": {
"id": "<string>",
"org_id": "<string>",
"name": "<string>",
"disabled": true,
"content_delivery_settings": {
"public_keys": [
"<string>"
],
"embed_domains": [
"<string>"
],
"content_visibility": "VISIBILITY_UNSPECIFIED"
}
}
}