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

ia:unlock-asset

Remove an asset lock resource for the given asset.

aa:asset

Link to the asset that was locked.

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": "http://services.avid.com/apis/assets/{rel}",
        "templated": true
      },
      {
        "name": "ia",
        "href": "http://services.avid.com/apis/inews/assets/{rel}",
        "templated": true
      }
    ],
    "aa:asset": {
      "href": "http://host/…​"
    },
    "ia:unlock-asset": {
      "href": "http://host/…​"
    },
    "self": {
      "href": "http://host/…​"
    }
  }
}