Link relation loc:update-item

Overview

Modify the location item.

HTTP method

PATCH

URI template variables

-

Query parameters

-

Request body

An item object with the properties to be changed.

Example: Rename the item

{
  "common": {
    "name": "New name"
  }
}

Example: Updating attributes of a MediaCentral | Production Management folder.

{
  "attributes": [
    {
        "name": "Comments",
        "value": "example comment",
        "type": "string"
    },
    {
        "name": "com.avid.workgroup.Property.Category",
        "value": [
            {
                "index": 0,
                "value": "comedy"
            },
            {
                "index": 1,
                "value": "news"
            }
        ],
        "type": "multiValue"
    },
  ]
}

Example: Set the draft-sequence-exists status

{
  "status": {
    "draft-sequence-exists": true
  }
}

HTTP response

Response body

Available in

Description

The body contains the properties that shall be updated. The response is the updated item.

Note: The item may have a different ID after the update!

Properties that can be updated:

System type

Item type

Updatable properties

MediaCentral | Production Management

Asset reference

  • Common attribute "name". This changes the reference in the folder and the name of the asset.

  • Status "draft-sequence-exists".

  • The update doesn’t automatically update the common attributes modifier, modified or the attribute Changed By of the underlying asset.

Folder

  • Common attribute "name".

  • Property "attributes" with additional folder attributes.

MediaCentral | Asset Management

Asset reference

  • Common attribute "name". This changes only the name of the reference in the folder, not the name of the asset.

  • Status "draft-sequence-exists".

Folder