Update a Job – Media API – MediaKind

Update a Job

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

Update an existing Job. Update is only supported for description, priority and correlationData.

RBAC Capability Required: ams.job.update

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 JobPropertiesPatch Required

Properties of the job

Customer provided key, value pairs that will be returned in Job and JobOutput state events.

The description of the Job.

input object Required

The inputs of the Job.

Discriminated by @odata.type. Select one variant:

#Microsoft.Media.JobInputAsset object JobInputAsset

The discriminator for derived types.

The name of the input Asset

Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.

Discriminated by @odata.type. Select one variant:

#Microsoft.Media.AbsoluteClipTime object AbsoluteClipTime

The discriminator for derived types.

The time position on the timeline of the input media. Specified as an ISO8601 period. e.g PT30S for 30 seconds.

#Microsoft.Media.UtcClipTime object UtcClipTime

The discriminator for derived types.

The time position on the timeline of the input media based on UTC time.

SCTE-35 signal trigger. Recording starts/stops at the first matching signal.

Outer array is OR-combined; each inner array is AND-combined field matchers.

Bounds the signal search to [anchor+startOffset, anchor+endOffset]. Anchor is time if present, else dispatch_time (start) or resolved_start (end).

List of files.

A label that is assigned to a JobInputClip.

Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.

outputs list of objects Required

The outputs for the Job.

Discriminated by @odata.type. Select one variant:

#Microsoft.Media.JobOutputAsset object JobOutputAssetPatch

The discriminator for derived types.

The name of the output Asset

A label that is assigned to a JobOutput in order to help uniquely identify it.

Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal.

Allowed values: High, Low, Normal

Response

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

The name of the resource

Properties of the job

Customer provided key, value pairs that will be returned in Job and JobOutput state events.

The creation date and time of the Job. Set by the system.

The description of the Job.

The UTC date and time at which this Job finished processing

The inputs of the Job.

Discriminated by @odata.type. Select one variant:

#Microsoft.Media.JobInputAsset object JobInputAsset

The discriminator for derived types.

The name of the input Asset

Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.

Discriminated by @odata.type. Select one variant:

#Microsoft.Media.AbsoluteClipTime object AbsoluteClipTime

The time position on the timeline of the input media. Specified as an ISO8601 period. e.g PT30S for 30 seconds.

#Microsoft.Media.UtcClipTime object UtcClipTime

The discriminator for derived types.

The time position on the timeline of the input media based on UTC time.

SCTE-35 signal trigger. Recording starts/stops at the first matching signal.

Outer array is OR-combined; each inner array is AND-combined field matchers.

Bounds the signal search to [anchor+startOffset, anchor+endOffset]. Anchor is time if present, else dispatch_time (start) or resolved_start (end).

List of files.

A label that is assigned to a JobInputClip.

Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.

outputs list of objects Required

The outputs for the Job.

Discriminated by @odata.type. Select one variant:

#Microsoft.Media.JobOutputAsset object JobOutputAsset

The discriminator for derived types.

The name of the output Asset

A label that is assigned to a JobOutput in order to help uniquely identify it.

Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal.

Allowed values: High, Low, Normal

Errors

Pertinent information about the error