POST
/
api
/
v1
/
registry
/
create
curl --request POST \
  --url https://dash.betteruseblockchain.com/api/v1/registry/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "metadata": [
    {
      "type": "TEXT",
      "key": "<string>",
      "value": "<string>",
      "title": "<string>",
      "file": "<string>"
    }
  ],
  "folder_id": "<string>",
  "callback_url": "<string>",
  "data_encrypted": true,
  "template": "STORAGE",
  "description": "<string>"
}'
{
  "message": "Success",
  "data": {
    "id": "<string>",
    "title": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Details of the registry to be created.

The body is of type object.

Response

200
application/json

Registry created successfully.

The response is of type object.