Transcoding profiles served to the transcoder via the public, unauthenticated index.yml endpoint.
GET /api/v1/profiles/
List transcoding profiles (names for the picker, plus full items).
Response
Response 200 (application/json)
{
"profiles": [
"string"
],
"items": [
{
"name": "string",
"yaml": "string",
"runnable": true,
"createdAt": "string",
"updatedAt": "string"
}
]
}
POST /api/v1/profiles/
Create a transcoding profile from raw transcoder-format YAML.
Request
Request body (application/json)
{
"name": "string",
"yaml": "string"
}
Response
Response 201 (application/json)
{
"name": "string",
"yaml": "string",
"runnable": true,
"createdAt": "string",
"updatedAt": "string"
}
POST /api/v1/profiles/bootstrap
Seed the profile store from the default transcoder test-profiles index. Pass `?force=true` to re-seed over existing profiles.
Parameters
| Name | In | Type | Required |
|---|
force | query | boolean | optional |
Response
Response 200 (application/json)
{
"seeded": 0,
"skipped": true,
"builtinSeeded": 0
}
GET /api/v1/profiles/index.yml
Public, unauthenticated profile index consumed by transcoder instances at transcode time.
Response
Response 200 (application/json)
"string"
PUT /api/v1/profiles/{name}
Replace a profile's YAML.
Parameters
| Name | In | Type | Required |
|---|
name | path | string | required |
Request
Request body (application/json)
{
"yaml": "string"
}
Response
Response 200 (application/json)
{
"name": "string",
"yaml": "string",
"runnable": true,
"createdAt": "string",
"updatedAt": "string"
}