Examples

GET /api/v2/locker-items/4
200
{
  "data": {
    "id": "4",
    "type": "locker-items",
    "links": {
      "self": "http://test.host/api/v2/locker-items/4"
    },
    "attributes": {
      "access-level": "private",
      "title": "My locker title",
      "custom-keywords": [],
      "note": "my locker note",
      "item-type": "note",
      "reference": null,
      "created-at": "2017-08-29T10:52:25.804+08:00",
      "updated-at": "2017-08-29T10:52:25.804+08:00"
    },
    "relationships": {
      "asset": {
        "links": {
          "self": "http://test.host/api/v2/locker-items/4/relationships/asset",
          "related": "http://test.host/api/v2/locker-items/4/asset"
        }
      },
      "entities": {
        "links": {
          "self": "http://test.host/api/v2/locker-items/4/relationships/entities",
          "related": "http://test.host/api/v2/locker-items/4/entities"
        }
      }
    }
  }
}

Params

Param name Description
id
required

Locker Item ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.