Preprints

Update the relationship to the supplemental node of the preprint

Update the supplemental node relationship for the specified preprint.

Permissions - Must have write permissions on both the preprint and the target node.

patch/preprints/{preprint_id}/relationships/node/

Request

  • Base URL
    https://api.test.osf.io/v2
  • URL
    https://api.test.osf.io/v2/preprints/{preprint_id}/relationships/node/
  • Auth
    none declared

Path parameters

preprint_idstring required

The unique identifier of the preprint.

Request body

Example request

{
  "data": {
    "type": "nodes",
    "id": "abc12"
  }
}

Response

Successfully updated the supplemental node relationship.

Changes

No recorded changes to this operation across all 2 revisions of this API.