v1

latestSwagger 2.0Apache 2.02026-07-1334102.9 MB
Collections

Add Metadata or Subjects to an Entity in a Collection

List of user created metadata for entities within a collection.

Permissions

To edit this collection a user must have collections write permissions

Returns

Returns a JSON object containing data and links keys.

The data key contains an array of nodes ids. The links key contains a dictionary of links that can be used for pagination.

post/collections/{collection_id}/collected_metadata/{cgm_id}

Path parameters

collection_idstring required

A short id for that collection

cgm_idstring required

A short id for that piece of metadata

Request body

object required

Example request

{
  "application/json": {
    "data": {
      "type": "collected-metadata",
      "attributes": {
        "volume": "test",
        "guid": "test0",
        "subjects": "5fd228b7e64e1300aa99ee15"
      }
    }
  }
}

Response

OK