transformations
Update an asset
Changed onpatch/v2/sites/{site_id}/transformation_assets/{asset_id}/
Request
- Base URLhttps://api.jwplayer.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
site_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the site
asset_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the transformation asset
Request body
Response
Asset resource successfully updated
Example response
{
"id": "Ny05CEfj",
"site_id": "Ny05CEfj",
"published_version_id": "Ny05CEfj",
"produced_by_transformation_run_id": "Ny05CEfj",
"relationships": {
"project": {
"id": "Ny05CEfj"
}
}
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info