Registries
Create a registry
POST
https://api.borlaug.network/ar/registries
Create a new registry
Headers
BWS-Idempotency-Key
string
An optional header that will be returned with the same value in the response
Content-Type
string
application/json
Authorization
string
The authorization token
Request Body
did
string
DID of registry owner (Hex format)
name
string
Registry name
settings
object
Settings to apply for all assets in this registry
Get a list of Registries
GET
https://api.borlaug.network/ar/registries
Headers
Authorization
string
The authorization token
BWS-Idempotency-Key
string
An idempotency key
Rename the registry
PATCH
https://api.borlaug.network/ar/registries/:registryid
Path Parameters
registryid
string
The id of the registry to update
Headers
Content-Type
string
application/json
BWS-Idempotency-Key
string
Authorization
string
Request Body
settings
string
name
string
Deletes a registry and all assets in it
DELETE
https://api.borlaug.network/ar/registries/:registryid
Path Parameters
registryid
string
The id of the registry to delete
Headers
Content-Type
string
application/json
BWS-Idempotency-Key
string
Authorization
string
Request Body
did
string
Did of registry owner
Last updated
Was this helpful?