Add a contributor to a Draft Registration
Adds a contributor to a Draft Registration, contributors can view, edit, register or delete a Draft Registration depending on their permissions. Contributors are categorized as either "bibliographic" or "non-bibliographic" contributors. From a permissions standpoint, both are the same, but bibliographic contributors are included in citations and are listed on the project overview page on the OSF, while non-bibliographic contributors are not.
Permissions
Only project administrators can add contributors to a Draft Registration.
Required
A relationship object with a data key, containing the users type and valid user ID is required. All attributes describing the relationship between the node and the user are optional.
Returns
Returns a JSON object with a data key containing the representation of the new contributor, if the request is successful. If the request is unsuccessful, an errors key containing information about the failure will be returned. Refer to the list of error codes to understand why this request may have failed.
Path parameters
The unique identifier of the Draft Registration.
Request body
Example request
{
"data": {
"type": "contributors",
"attributes": {},
"relationships": {
"user": {
"data": {
"type": "users",
"id": "guid0"
}
}
}
}
}Response
Success