Media API (v1)
Download OpenAPI specification:Download
Create an encoding preset
Authorizations:
Cloudmix
Request Body schema: application/json
| name required | string |
| description | string or null |
required | object (CreatePresetEncodingProfileDto) |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "description": "string",
- "encodingProfile": {
- "audio": {
- "type": "string",
- "sampleRate": 0
}, - "video": {
- "type": "string",
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1
}
}
}Response samples
- 200
- 400
Content type
application/json
{- "encodingPresetId": "107e66cb-75e1-4c28-99f2-42649b92366b"
}List encoding presets
Authorizations:
Cloudmix
query Parameters
| PageIndex | integer <int32> |
| PageSize | integer <int32> [ 1 .. 50 ] |
Array of objects (EncodingPresetOrderByFieldDtoOrderByReqDto) |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "items": [
- {
- "encodingPresetId": "107e66cb-75e1-4c28-99f2-42649b92366b",
- "name": "string",
- "description": "string",
- "encodingProfile": {
- "audio": {
- "type": "string",
- "sampleRate": 0
}, - "video": {
- "type": "string",
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1
}
}, - "isReadOnly": true
}
], - "pageIndex": 0,
- "pageSize": 0,
- "totalCount": 0
}Update an encoding preset
Authorizations:
Cloudmix
path Parameters
| encodingPresetId required | string <uuid> |
Request Body schema: application/json
| name | string or null |
| description | string or null |
object (UpdatePresetEncodingProfileDto) |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "description": "string",
- "encodingProfile": {
- "audio": {
- "type": "string",
- "sampleRate": 0
}, - "video": {
- "type": "string",
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1
}
}
}Response samples
- 400
- 404
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}Get an encoding preset
Authorizations:
Cloudmix
path Parameters
| encodingPresetId required | string <uuid> |
Responses
Response samples
- 200
- 400
- 404
Content type
application/json
{- "encodingPresetId": "107e66cb-75e1-4c28-99f2-42649b92366b",
- "name": "string",
- "description": "string",
- "encodingProfile": {
- "audio": {
- "type": "string",
- "sampleRate": 0
}, - "video": {
- "type": "string",
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1
}
}, - "isReadOnly": true
}List live inputs
Authorizations:
Cloudmix
query Parameters
| PageIndex | integer <int32> |
| PageSize | integer <int32> [ 1 .. 50 ] |
Array of objects (LiveInputOrderByFieldDtoOrderByReqDto) |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "items": [
- {
- "liveInputId": "f9376e27-e7ac-413f-995e-354cceb3bf42",
- "name": "string",
- "protocols": [
- {
- "type": "string"
}
], - "status": "connected",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdatedAt": "2019-08-24T14:15:22Z"
}
], - "pageIndex": 0,
- "pageSize": 0,
- "totalCount": 0
}Response samples
- 200
- 400
- 404
Content type
application/json
{- "liveInputId": "f9376e27-e7ac-413f-995e-354cceb3bf42",
- "name": "string",
- "protocols": [
- {
- "type": "string"
}
], - "status": "connected",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdatedAt": "2019-08-24T14:15:22Z"
}Update a live input
Authorizations:
Cloudmix
path Parameters
| liveInputId required | string <uuid> |
Request Body schema: application/json
| name required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string"
}Response samples
- 400
- 404
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}Create a live output
Authorizations:
Cloudmix
Request Body schema: application/json
| name required | string |
required | object (StreamingProtocol) |
object (CreateLiveOutputEncodingProfileDto) | |
| encodingPresetId | string or null <uuid> |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "protocol": {
- "type": "string"
}, - "encodingProfile": {
- "audio": {
- "type": "string",
- "sampleRate": 0
}, - "video": {
- "type": "string",
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1
}
}, - "encodingPresetId": "107e66cb-75e1-4c28-99f2-42649b92366b"
}Response samples
- 200
- 400
Content type
application/json
{- "liveOutputId": "15a35d33-23b3-4437-80c7-0ddbc2c6eb4c"
}List live outputs
Authorizations:
Cloudmix
query Parameters
| PageIndex | integer <int32> |
| PageSize | integer <int32> [ 1 .. 50 ] |
Array of objects (LiveOutputOrderByFieldDtoOrderByReqDto) |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "items": [
- {
- "liveOutputId": "15a35d33-23b3-4437-80c7-0ddbc2c6eb4c",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdatedAt": "2019-08-24T14:15:22Z",
- "protocol": {
- "type": "string"
}, - "encodingProfile": {
- "audio": {
- "type": "string",
- "sampleRate": 0
}, - "video": {
- "type": "string",
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1
}
}, - "encodingPresetId": "107e66cb-75e1-4c28-99f2-42649b92366b"
}
], - "pageIndex": 0,
- "pageSize": 0,
- "totalCount": 0
}Update a live output
Authorizations:
Cloudmix
path Parameters
| liveOutputId required | string <uuid> |
Request Body schema: application/json
| name | string or null |
object (StreamingProtocol) | |
object (UpdateLiveOutputEncodingProfileDto) | |
| encodingPresetId | string or null <uuid> |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "protocol": {
- "type": "string"
}, - "encodingProfile": {
- "audio": {
- "type": "string",
- "sampleRate": 0
}, - "video": {
- "type": "string",
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1
}
}, - "encodingPresetId": "107e66cb-75e1-4c28-99f2-42649b92366b"
}Response samples
- 400
- 404
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}Response samples
- 200
- 400
- 404
Content type
application/json
{- "liveOutputId": "15a35d33-23b3-4437-80c7-0ddbc2c6eb4c",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdatedAt": "2019-08-24T14:15:22Z",
- "protocol": {
- "type": "string"
}, - "encodingProfile": {
- "audio": {
- "type": "string",
- "sampleRate": 0
}, - "video": {
- "type": "string",
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1
}
}, - "encodingPresetId": "107e66cb-75e1-4c28-99f2-42649b92366b"
}Create a project
Authorizations:
Cloudmix
Request Body schema: application/json
| name required | string |
| description | string |
required | object (MediaFormat) |
object (Workflow) | |
| defaultRegion required | string |
| defaultReleaseChannel | string or null |
| defaultEnginePool | string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "description": "string",
- "mediaFormat": {
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1,
- "sampleRate": 0
}, - "workflow": {
- "components": [
- {
- "type": "string",
- "componentId": "string",
- "displayName": "string"
}
], - "links": [
- {
- "source": {
- "componentId": "string",
- "padName": "string"
}, - "target": {
- "componentId": "string",
- "padName": "string"
}
}
], - "defaultFallbackBehaviour": {
- "type": "string"
}
}, - "defaultRegion": "string",
- "defaultReleaseChannel": "string",
- "defaultEnginePool": "string"
}Response samples
- 200
- 400
Content type
application/json
{- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}List projects
Authorizations:
Cloudmix
query Parameters
| PageIndex | integer <int32> |
| PageSize | integer <int32> [ 1 .. 50 ] |
Array of objects (ProjectOrderByFieldDtoOrderByReqDto) |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "items": [
- {
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
- "name": "string",
- "description": "string",
- "mediaFormat": {
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1,
- "sampleRate": 0
}, - "workflow": {
- "components": [
- {
- "type": "string",
- "componentId": "string",
- "displayName": "string"
}
], - "links": [
- {
- "source": {
- "componentId": "string",
- "padName": "string"
}, - "target": {
- "componentId": "string",
- "padName": "string"
}
}
], - "defaultFallbackBehaviour": {
- "type": "string"
}
}, - "defaultRegion": "string",
- "defaultReleaseChannel": "string",
- "defaultEnginePool": "string",
- "status": "starting",
- "workflowSessionId": "42a071b4-3252-4bd6-b1f4-e326e9644cbc",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdatedAt": "2019-08-24T14:15:22Z"
}
], - "pageIndex": 0,
- "pageSize": 0,
- "totalCount": 0
}Update a project
Authorizations:
Cloudmix
path Parameters
| projectId required | string <uuid> |
Request Body schema: application/json
| name | string or null |
| description | string or null |
object (MediaFormat) | |
object (Workflow) | |
| defaultRegion | string or null |
| defaultReleaseChannel | string or null |
| defaultEnginePool | string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "description": "string",
- "mediaFormat": {
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1,
- "sampleRate": 0
}, - "workflow": {
- "components": [
- {
- "type": "string",
- "componentId": "string",
- "displayName": "string"
}
], - "links": [
- {
- "source": {
- "componentId": "string",
- "padName": "string"
}, - "target": {
- "componentId": "string",
- "padName": "string"
}
}
], - "defaultFallbackBehaviour": {
- "type": "string"
}
}, - "defaultRegion": "string",
- "defaultReleaseChannel": "string",
- "defaultEnginePool": "string"
}Response samples
- 400
- 404
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}Response samples
- 200
- 400
- 404
Content type
application/json
{- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
- "name": "string",
- "description": "string",
- "mediaFormat": {
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1,
- "sampleRate": 0
}, - "workflow": {
- "components": [
- {
- "type": "string",
- "componentId": "string",
- "displayName": "string"
}
], - "links": [
- {
- "source": {
- "componentId": "string",
- "padName": "string"
}, - "target": {
- "componentId": "string",
- "padName": "string"
}
}
], - "defaultFallbackBehaviour": {
- "type": "string"
}
}, - "defaultRegion": "string",
- "defaultReleaseChannel": "string",
- "defaultEnginePool": "string",
- "status": "starting",
- "workflowSessionId": "42a071b4-3252-4bd6-b1f4-e326e9644cbc",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdatedAt": "2019-08-24T14:15:22Z"
}Start a project
Authorizations:
Cloudmix
path Parameters
| projectId required | string <uuid> |
Request Body schema: application/json
| enginePool | string or null |
| region | string or null |
object (EngineSpecifications) | |
| releaseChannel | string or null |
| engineId | string or null <uuid> |
Responses
Request samples
- Payload
Content type
application/json
{- "enginePool": "string",
- "region": "string",
- "minSpecifications": {
- "cpuCount": 0,
- "gpuCount": 0
}, - "releaseChannel": "string",
- "engineId": "1d1171e5-21f6-46a2-a7f3-79a56b93fba8"
}Response samples
- 200
- 400
- 404
- 409
Content type
application/json
{- "workflowSessionId": "42a071b4-3252-4bd6-b1f4-e326e9644cbc"
}Get workflow session usage
Authorizations:
Cloudmix
query Parameters
required | object (DateTimeTimestampDto) |
required | object (DateTimeTimestampDto) |
| PageIndex | integer <int32> |
| PageSize | integer <int32> [ 1 .. 50 ] |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "items": [
- {
- "workflowSessionId": "42a071b4-3252-4bd6-b1f4-e326e9644cbc",
- "name": "string",
- "status": "starting",
- "startedAt": "2019-08-24T14:15:22Z",
- "stoppedAt": "2019-08-24T14:15:22Z",
- "regionName": "string",
- "durationActive": "string"
}
], - "pageIndex": 0,
- "pageSize": 0,
- "totalCount": 0
}Get a workflow session
Authorizations:
Cloudmix
path Parameters
| workflowSessionId required | string <uuid> |
Responses
Response samples
- 200
- 400
- 404
Content type
application/json
{- "workflowSessionId": "42a071b4-3252-4bd6-b1f4-e326e9644cbc",
- "name": "string",
- "workflow": {
- "components": [
- {
- "type": "string",
- "componentId": "string",
- "displayName": "string"
}
], - "links": [
- {
- "source": {
- "componentId": "string",
- "padName": "string"
}, - "target": {
- "componentId": "string",
- "padName": "string"
}
}
], - "defaultFallbackBehaviour": {
- "type": "string"
}
}, - "mediaFormat": {
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1,
- "sampleRate": 0
}, - "status": "starting",
- "startedAt": "2019-08-24T14:15:22Z",
- "stoppedAt": "2019-08-24T14:15:22Z",
- "engineId": "1d1171e5-21f6-46a2-a7f3-79a56b93fba8",
- "parentResource": {
- "type": "string"
}
}List workflow sessions
Authorizations:
Cloudmix
query Parameters
| PageIndex | integer <int32> |
| PageSize | integer <int32> [ 1 .. 50 ] |
| Status | string (WorkflowSessionStatus) Enum: "starting" "active" "stopping" "stopped" "failed" |
| ParentResourceId | string <uuid> |
Array of objects (WorkflowSessionOrderByFieldDtoOrderByReqDto) |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "items": [
- {
- "workflowSessionId": "42a071b4-3252-4bd6-b1f4-e326e9644cbc",
- "name": "string",
- "workflow": {
- "components": [
- {
- "type": "string",
- "componentId": "string",
- "displayName": "string"
}
], - "links": [
- {
- "source": {
- "componentId": "string",
- "padName": "string"
}, - "target": {
- "componentId": "string",
- "padName": "string"
}
}
], - "defaultFallbackBehaviour": {
- "type": "string"
}
}, - "mediaFormat": {
- "dimensions": {
- "width": 0,
- "height": 0
}, - "fps": 0.1,
- "sampleRate": 0
}, - "status": "starting",
- "startedAt": "2019-08-24T14:15:22Z",
- "stoppedAt": "2019-08-24T14:15:22Z",
- "engineId": "1d1171e5-21f6-46a2-a7f3-79a56b93fba8",
- "parentResource": {
- "type": "string"
}
}
], - "pageIndex": 0,
- "pageSize": 0,
- "totalCount": 0
}Add a component to a workflow session
Authorizations:
Cloudmix
path Parameters
| workflowSessionId required | string <uuid> |
Request Body schema: application/json
required | object (Component) | ||||||||||||
| |||||||||||||
Responses
Request samples
- Payload
Content type
application/json
{- "component": {
- "type": "string",
- "componentId": "string",
- "displayName": "string"
}
}Response samples
- 400
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}Update a component in a workflow session
Authorizations:
Cloudmix
path Parameters
| workflowSessionId required | string <uuid> |
| componentId required | string |
Request Body schema: application/json
required | object | ||||
| |||||
Responses
Request samples
- Payload
Content type
application/json
{- "values": {
- "property1": { },
- "property2": { }
}
}Response samples
- 400
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}Add a link to a workflow session
Authorizations:
Cloudmix
path Parameters
| workflowSessionId required | string <uuid> |
Request Body schema: application/json
required | object (Link) | ||||
| |||||
Responses
Request samples
- Payload
Content type
application/json
{- "link": {
- "source": {
- "componentId": "string",
- "padName": "string"
}, - "target": {
- "componentId": "string",
- "padName": "string"
}
}
}Response samples
- 400
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}Execute a command on a workflow session
Authorizations:
Cloudmix
path Parameters
| workflowSessionId required | string <uuid> |
Request Body schema: application/json
required | object (RemoteCommand) |
| componentId | string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "command": {
- "name": "string",
- "args": { }
}, - "componentId": "string"
}Response samples
- 400
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}List all media exports
Authorizations:
Cloudmix
query Parameters
| PageIndex | integer <int32> |
| PageSize | integer <int32> [ 1 .. 50 ] |
Array of objects (MediaExportOrderByFieldDtoOrderByReqDto) |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "items": [
- {
- "mediaExportId": "091dd9b1-73d3-4cbd-aa8d-5480d62a36d2",
- "format": "mp4",
- "status": "processing"
}
], - "pageIndex": 0,
- "pageSize": 0,
- "totalCount": 0
}Create a media item clip
Authorizations:
Cloudmix
Request Body schema: application/json
| name required | string |
| mediaItemId required | string <uuid> |
| inTime required | string <date-span> |
| outTime required | string <date-span> |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "mediaItemId": "4f8ad02a-e871-4be1-b126-4101e272c59a",
- "inTime": "string",
- "outTime": "string"
}Response samples
- 200
- 400
- 404
Content type
application/json
{- "mediaItemClipId": "f2d31313-b296-44a7-859a-c10b22f05aef"
}List media item clips
Authorizations:
Cloudmix
query Parameters
| PageIndex | integer <int32> |
| PageSize | integer <int32> [ 1 .. 50 ] |
Array of objects (MediaItemClipOrderByFieldDtoOrderByReqDto) | |
| MediaItemId | string <uuid> |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "items": [
- {
- "mediaItemClipId": "f2d31313-b296-44a7-859a-c10b22f05aef",
- "name": "string",
- "mediaItemId": "4f8ad02a-e871-4be1-b126-4101e272c59a",
- "inTime": "string",
- "outTime": "string",
- "exports": [
- {
- "mediaExportId": "091dd9b1-73d3-4cbd-aa8d-5480d62a36d2",
- "format": "mp4",
- "status": "processing"
}
]
}
], - "pageIndex": 0,
- "pageSize": 0,
- "totalCount": 0
}Update a media item clip
Authorizations:
Cloudmix
path Parameters
| mediaItemClipId required | string <uuid> |
Request Body schema: application/json
| name | string or null |
| inTime | string or null <date-span> |
| outTime | string or null <date-span> |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "inTime": "string",
- "outTime": "string"
}Response samples
- 400
- 404
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}Get a media item clip
Authorizations:
Cloudmix
path Parameters
| mediaItemClipId required | string <uuid> |
Responses
Response samples
- 200
- 400
- 404
Content type
application/json
{- "mediaItemClipId": "f2d31313-b296-44a7-859a-c10b22f05aef",
- "name": "string",
- "mediaItem": {
- "mediaItemId": "4f8ad02a-e871-4be1-b126-4101e272c59a",
- "publicUrl": "string"
}, - "inTime": "string",
- "outTime": "string",
- "exports": [
- {
- "mediaExportId": "091dd9b1-73d3-4cbd-aa8d-5480d62a36d2",
- "format": "mp4",
- "status": "processing"
}
]
}Create a media item clip export
Authorizations:
Cloudmix
path Parameters
| mediaItemClipId required | string <uuid> |
Request Body schema: application/json
| format required | string (MediaExportFormat) Value: "mp4" |
Responses
Request samples
- Payload
Content type
application/json
{- "format": "mp4"
}Response samples
- 200
- 400
- 404
Content type
application/json
{- "mediaExportId": "091dd9b1-73d3-4cbd-aa8d-5480d62a36d2"
}Update a recording
Authorizations:
Cloudmix
path Parameters
| recordingId required | string <uuid> |
Request Body schema: application/json
| name required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string"
}Response samples
- 400
- 404
Content type
application/json
{- "error": {
- "code": "string",
- "message": "string",
- "context": null
}
}Response samples
- 200
- 400
- 404
Content type
application/json
{- "recordingId": "bbd0b35c-32e1-4c5f-b1be-7f8fdbe015f2",
- "name": "string",
- "workflowSessionId": "42a071b4-3252-4bd6-b1f4-e326e9644cbc",
- "mediaItem": {
- "mediaItemId": "4f8ad02a-e871-4be1-b126-4101e272c59a",
- "publicUrl": "string"
}, - "startedAt": "2019-08-24T14:15:22Z",
- "stoppedAt": "2019-08-24T14:15:22Z",
- "componentId": "string",
- "padName": "string"
}List recordings
Authorizations:
Cloudmix
query Parameters
| PageIndex | integer <int32> |
| PageSize | integer <int32> [ 1 .. 50 ] |
Array of objects (RecordingOrderByFieldDtoOrderByReqDto) | |
| WorkflowSessionId | string <uuid> |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "items": [
- {
- "recordingId": "bbd0b35c-32e1-4c5f-b1be-7f8fdbe015f2",
- "name": "string",
- "workflowSessionId": "42a071b4-3252-4bd6-b1f4-e326e9644cbc",
- "mediaItemId": "4f8ad02a-e871-4be1-b126-4101e272c59a",
- "startedAt": "2019-08-24T14:15:22Z",
- "stoppedAt": "2019-08-24T14:15:22Z"
}
], - "pageIndex": 0,
- "pageSize": 0,
- "totalCount": 0
}