Create a draft registration based on your current project Node.
Initiate a draft registration of the current node. Draft Registrations contain Registration questions that will become part of the Registration. A Registration is a frozen version of the project that can never be deleted, but can be withdrawn and have it's metadata edited.
Your original project remains editable but will now have the draft registration linked to it.
Permissions
Only project administrators may view create registrations.
Required
Required fields for creating a draft registration include:
schema_id
Returns
Returns a JSON object with a data key containing the representation of the created draft registration, 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 node.
Request body
Example request
{
"data": {
"type": "draft_registrations",
"relationships": {
"registration_schema": {
"data": {
"id": "61e02b6c90de34000ae3447a",
"type": "registration_schemas"
}
}
}
}
}Response
Created