curl -X PUT 'https://api-staging.pixwel.com/api/ingests/{id}' \
-H 'Authorization: Basic <credentials>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"_id": "507f1f77bcf86cd799439011",
"owner": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"emailNormal": "user@example.com",
"$links": {
"self": "//example.com/path/to/object"
}
},
"size": 0,
"urls": {
"view": "https://example.com/path/to/object"
},
"status": "string",
"archived": true,
"context": {
"group": 0,
"workRequest": "507f1f77bcf86cd799439011",
"asset": "507f1f77bcf86cd799439011",
"project": "507f1f77bcf86cd799439011",
"assetType": "string",
"tag": "string",
"revision": 0,
"service": "string"
},
"created": 0,
"aspectRatio": "string",
"autosubs": true,
"selected": {
"encode": {
"enabled": true,
"outputs": {
"HD": true,
"SD 4:3": true,
"SD 16:9": true,
"360p": true,
"480p": true,
"720p": true,
"1080p": true,
"1350p": true,
"1920p": true
}
},
"preview": {
"language": "string",
"revision": "string",
"type": "string",
"embargo": {
"enabled": true
},
"enabled": true,
"watermark": "507f1f77bcf86cd799439011"
},
"thumbnail": {
"enabled": true,
"position": 0
},
"download": {
"tags": {
"Extra": [
"string"
],
"SubDub": {
"sub": true,
"dub": true
},
"Codec": "string",
"undefined": "string",
"Text": "string",
"Resolution": "string",
"Framerate": "string",
"Standard": "string",
"Usage": "string",
"Aspect": "string",
"Frame Mode": "string"
},
"embargo": {
"enabled": true
},
"enabled": true,
"country": "string",
"language": "string",
"conflicts": null
},
"autosub": {
"enabled": true
},
"project": "507f1f77bcf86cd799439011",
"asset": "507f1f77bcf86cd799439011",
"assetType": null
},
"$links": {
"self": "//example.com/path/to/object",
"owner": "//example.com/path/to/object",
"workRequest": "//example.com/path/to/object",
"project": "//example.com/path/to/object"
},
"language": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"code": "string",
"dcpCode": "string",
"$links": {
"self": "//example.com/path/to/object"
}
},
"encodes": [
{
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"file": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"$links": {
"self": "//example.com/path/to/object"
}
},
"status": "string"
}
],
"workRequest": {
"_id": "507f1f77bcf86cd799439011",
"$links": {
"self": "//example.com/path/to/object"
}
},
"workflowId": "string",
"taskToken": "string",
"source": {
"url": "https://example.com/path/to/object",
"mediaType": "string",
"filename": "string",
"path": "string",
"bucket": "string",
"region": "string"
},
"mediainfo": {
"media": {
"@ref": "https://example.com/path/to/object",
"track": [
{
"@type": "string",
"VideoCount": "string",
"AudioCount": "string",
"OtherCount": "string",
"FileExtension": "string",
"Format": "string",
"Format_Profile": "string",
"CodecID": "string",
"CodecID_Version": "string",
"CodecID_Compatible": "string",
"FileSize": "string",
"Duration": "string",
"OverallBitRate_Mode": "string",
"OverallBitRate": "string",
"FrameRate": "string",
"FrameCount": "string",
"StreamSize": "string",
"HeaderSize": "string",
"DataSize": "string",
"FooterSize": "string",
"IsStreamable": "string",
"Encoded_Date": "string",
"Tagged_Date": "string",
"Encoded_Library": "string",
"Encoded_Library_Name": "string",
"extra": {
"TIM": "string",
"TSC": "string",
"TSZ": "string",
"FileExtension_Invalid": "string",
"Encoded_Date": "string",
"Tagged_Date": "string"
},
"StreamOrder": "string",
"ID": "string",
"Format_Version": "string",
"BitRate_Mode": "string",
"BitRate": "string",
"Width": "string",
"Height": "string",
"Sampled_Width": "string",
"Sampled_Height": "string",
"PixelAspectRatio": "string",
"DisplayAspectRatio": "string",
"Rotation": "string",
"FrameRate_Mode": "string",
"ColorSpace": "string",
"ChromaSubsampling": "string",
"ScanType": "string",
"Delay": "string",
"Language": "string",
"colour_description_present": "string",
"colour_description_present_Source": "string",
"colour_primaries": "string",
"colour_primaries_Source": "string",
"transfer_characteristics": "string",
"transfer_characteristics_Source": "string",
"matrix_coefficients": "string",
"matrix_coefficients_Source": "string",
"Format_Settings_Endianness": "string",
"Format_Settings_Sign": "string",
"Channels": "string",
"ChannelPositions": "string",
"ChannelLayout": "string",
"SamplingRate": "string",
"SamplingCount": "string",
"BitDepth": "string",
"Delay_DropFrame": "string",
"Delay_Source": "string",
"StreamSize_Proportion": "string",
"Type": "string",
"TimeCode_FirstFrame": "string",
"TimeCode_Striped": "string"
}
]
}
},
"ffprobe": {
"streams": [
{
"index": 0,
"codec_name": "string",
"codec_long_name": "string",
"codec_type": "string",
"codec_time_base": "string",
"codec_tag_string": "string",
"codec_tag": "string",
"width": 0,
"height": 0,
"coded_width": 0,
"coded_height": 0,
"has_b_frames": 0,
"sample_aspect_ratio": "string",
"display_aspect_ratio": "string",
"pix_fmt": "string",
"level": 0,
"color_range": "string",
"color_space": "string",
"color_transfer": "string",
"color_primaries": "string",
"field_order": "string",
"refs": 0,
"r_frame_rate": "string",
"avg_frame_rate": "string",
"time_base": "string",
"start_pts": 0,
"start_time": "string",
"duration_ts": 0,
"duration": "string",
"bit_rate": "string",
"bits_per_raw_sample": "string",
"nb_frames": "string",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0
},
"tags": {
"creation_time": "2026-01-01T00:00:00+00:00",
"language": "string",
"handler_name": "string",
"encoder": "string",
"timecode": "string"
},
"sample_fmt": "string",
"sample_rate": "string",
"channels": 0,
"channel_layout": "string",
"bits_per_sample": 0
}
]
},
"ffprobeTags": [
"string"
],
"filename": {
"file": {
"ext": "string",
"tags": [
"string"
]
},
"project": {
"_id": "507f1f77bcf86cd799439011"
},
"asset": {
"type": "string",
"name": "string",
"slug": "string",
"length": 0,
"mediaType": "string",
"_id": "507f1f77bcf86cd799439011"
},
"extra": [
"string"
]
},
"download": "https://example.com/path/to/object",
"project": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"$links": {
"self": "//example.com/path/to/object"
}
},
"asset": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"type": "string",
"slug": "string",
"project": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"slug": "string",
"studio": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"slug": "string",
"watermark": "507f1f77bcf86cd799439011",
"$links": {
"self": "//example.com/path/to/object"
}
},
"filePrefix": "string",
"$links": {
"self": "//example.com/path/to/object",
"studio": "//example.com/path/to/object"
}
},
"mediaType": "string",
"verified": true,
"creative": true,
"notifyUrl": "https://example.com/path/to/object",
"$links": {
"self": "//example.com/path/to/object",
"project": "//example.com/path/to/object",
"type": "//example.com/path/to/object"
}
}
}'