Resource ia:asset-lock

Overview

The ia:asset-lock resource represents an edit lock object on assets and provides links to manage it.

Properties

The ia:asset-lock resource has the following properties:

lockId

The id of the asset lock

section

The asset section locked by this lock. It can be one of:

  • form: lock only the story form

  • body: lock only the story body

  • all: lock the whole story, used by default

aa:asset

Link to the asset that was locked.

ia:unlock-asset

Remove an asset lock resource for the given asset.

Description

The ia:asset-lock resource represents an edit lock object on assets and provides links to manage it.

Examples

Example: ia:asset-lock
 
{
  "lockId": 171562495,
  "section": "all",
  "_links": {
    "curies": [
      {
        "name": "aa",
        "href": "https://developer.avid.com/ctms/api/aa/linkrels/{rel}.html",
        "templated": true
      },
      {
        "name": "ia",
        "href": "https://developer.avid.com/ctms/api/ia/linkrels/{rel}.html",
        "templated": true
      }
    ],
    "aa:asset": {
      "href": "http://host/…​"
    },
    "ia:unlock-asset": {
      "href": "http://host/…​"
    },
    "self": {
      "href": "http://host/…​"
    }
  }
}