v1

latestSwagger 2.0Apache 2.02026-07-1334102.9 MB
Nodes

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.

post/nodes/{node_id}/draft_registrations/

Path parameters

node_idstring required

The unique identifier of the node.

Request body

idstring required

The unique identifier of the draft registration entity.

typestring required

The type identifier of the draft registration entity (draft_registrations).

Example request

{
  "data": {
    "type": "draft_registrations",
    "relationships": {
      "registration_schema": {
        "data": {
          "id": "61e02b6c90de34000ae3447a",
          "type": "registration_schemas"
        }
      }
    }
  }
}

Response

Created