Collections
Update subjects for a specific piece of metadata in a collection
Permissions
This is editable for a user with a write permission for this collection.
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}/relationships/subjects/
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": "subjects",
"id": "5fd228b7e64e1300aa99ee15"
}
}
}Response
OK