CEDAR Metadata
Create a CEDAR metadata record for a node
Changed onCreate a new CEDAR metadata record for the specified node. CEDAR metadata records are based on predefined templates and can be associated with nodes or files.
post/nodes/{node_id}/cedar_metadata_records/
Request
- Base URLhttps://api.test.osf.io/v2
- URLhttps://api.test.osf.io/v2/nodes/{node_id}/cedar_metadata_records/
- Authnone declared
Path parameters
node_idstring required
The unique identifier of the node.
Request body
Example request
{
"data": {
"type": "cedar-metadata-records",
"attributes": {
"metadata": {
"title": "Example Title",
"description": "Example Description"
}
},
"relationships": {
"template": {
"data": {
"id": "123abc",
"type": "cedar-metadata-templates"
}
}
}
}
}Response
Successfully created a new CEDAR metadata record.
Changes
- info
added the non-success response with the status
- info