Resource ia:asset-versions

Overview

The ia:asset-versions resource represents the versions of an asset.

Properties

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

versions

An array of asset objects. Each object represents one version of an asset.

aa:asset

Link to the asset.

Description

The ia:asset-versions resource represents the versions of an asset.

Examples

Example: ia:asset-versions
 
{
  "versions": [
    {
      "base": {
        "id": "QUEUE..393545401.8675.3",
        "type": "story",
        "systemID": "YURII",
        "systemType": "inews"
      },
      "common": {
        "name": "1",
        "creator": "avstar",
        "created": "2016-06-09T15:12:31.000Z",
        "modifier": "avstar",
        "modified": "2016-06-09T15:12:31.000Z"
      },
      "_links": {
        "aa:attributes": {
          "href": "http://host/…​"
        },
        "ia:asset-nsml": {
          "href": "http://host/…​"
        },
        "self": {
          "href": "http://host/…​"
        }
      }
    },
    {
      "base": {
        "id": "QUEUE..393545401.8675.3",
        "type": "story",
        "systemID": "YURII",
        "systemType": "inews"
      },
      "common": {
        "name": "",
        "creator": "avstar",
        "created": "2016-06-09T15:12:31.000Z",
        "modifier": "avstar",
        "modified": "2016-06-09T15:12:31.000Z"
      },
      "_links": {
        "aa:attributes": {
          "href": "http://host/…​"
        },
        "ia:asset-nsml": {
          "href": "http://host/…​"
        },
        "self": {
          "href": "http://host/…​"
        }
      }
    }
  ],
  "_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/…​"
    },
    "self": {
      "href": "http://host/…​"
    }
  }
}