v1

latestOpenAPI 3.1.02026-07-24251250397.8 KB
transformations

Update an asset

patch/v2/sites/{site_id}/transformation_assets/{asset_id}/

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

idstring

Unique identifier for a resource

site_idstring

Unique identifier for a resource

type'asset'

Resource type identifier

createdstring date-time

Timestamp when the asset was created

last_modifiedstring date-time

Timestamp when the asset was last modified

asset_type'article' | 'audio' | 'segmented_script' | 'studio_generated_video' | 'text'

Type of asset content

published_version_idstring

Unique identifier for a resource

produced_by_transformation_run_idstring

Unique identifier for a resource

Example response

{
  "id": "Ny05CEfj",
  "site_id": "Ny05CEfj",
  "published_version_id": "Ny05CEfj",
  "produced_by_transformation_run_id": "Ny05CEfj",
  "relationships": {
    "project": {
      "id": "Ny05CEfj"
    }
  }
}