Create a Job – Media API – MediaKind

Create a Job

put https://app.mk.io/api/v1/projects/:project_name/media/transforms/:transform_name/jobs/:job_name

Create a new Job.

RBAC Capability Required: ams.job.create

Authentication

Authorization Bearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

Request

This endpoint expects an object.

properties object JobPutProperties Required

Properties of the job

  1. correlationData map from strings to any (Optional)
    • Customer provided key, value pairs that will be returned in Job and JobOutput state events.
  2. description string or null (Optional) <=1024 characters
    • The description of the Job.
  3. input object Required
    The inputs of the Job.

Variants discriminated by @odata.type. Select one variant:

#Microsoft.Media.JobInputAsset object JobInputAsset

Variants discriminated by @odata.type. Select one variant:

#Microsoft.Media.AbsoluteClipTime object AbsoluteClipTime

#Microsoft.Media.UtcClipTime object UtcClipTime

Variants discriminated by @odata.type. Select one variant:

#Microsoft.Media.AbsoluteClipTime object AbsoluteClipTime

#Microsoft.Media.UtcClipTime object UtcClipTime

outputs list of objects Required

Variants discriminated by @odata.type. Select one variant:

#Microsoft.Media.JobOutputAsset object JobOutputAsset

Response

201 Job was created

Errors

400 Bad Request

401 Unauthorized

403 Forbidden

404 Not Found

500 Internal Server Error