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.
Public Encore-format profile index (name -> :name/yaml). Served without auth. Response header x-profile-count carries the number of runnable profiles in the emitted index so monitoring consumers can distinguish an empty store (x-profile-count: 0, body {}) from a failure WITHOUT parsing the YAML body. The body and 200 status are unchanged by this header (issue #460).
Response
Response 200 (application/json)
"string"
GET /api/v1/profiles/stacks/{stack}/index.yml
Public Encore-format profile index for ONE stack (name -> :name/yaml), served without auth. Identical body/status/x-profile-count contract to GET /api/v1/profiles/index.yml, but resolved against the named stack's profile store so an Encore instance belonging to that stack reads the profiles created on it, whatever its position in the stack listing (issue #1164). Index entries are relative, so each per-profile fetch stays on this stack-scoped prefix.
Parameters
| Name | In | Type | Required |
|---|
stack | path | string | required |
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"
}