Registry Sources
/registry-source
Gets all registry sources
Authorizations
Query parameters
cursorIdstring · max: 550Optional
limitinteger · min: 1 · max: 50OptionalDefault:
10
Responses
200
Registry sources
application/json
get
GET / HTTP/1.1
Host: registry-source
token: YOUR_API_KEY
Accept: */*
200
Registry sources
{
"data": {
"sources": [
{
"id": "unique-cuid-v2-auto-generated",
"type": "Web3CardanoV1",
"policyId": "policyId",
"url": "optional_url",
"note": "optional_note",
"rpcProviderApiKey": "optional_apikey",
"network": "Preprod",
"latestPage": 1,
"latestIdentifier": "optional_latestIdentifier"
}
]
},
"status": "success"
}
Creates a new registry source
Authorizations
Body
typestring · enumRequiredPossible values:
policyIdstringRequired
notestring | nullableRequired
rpcProviderApiKeystringRequired
networkstring · enum | nullableRequiredPossible values:
Responses
200
Registry source
application/json
post
POST / HTTP/1.1
Host: registry-source
token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 118
{
"type": "Web3CardanoV1",
"policyId": "policyId",
"rpcProviderApiKey": "apikey",
"note": "optional_note",
"network": "Preprod"
}
200
Registry source
{
"data": {
"id": "unique-cuid-v2-auto-generated"
},
"status": "success"
}
Updates a registry source
Authorizations
Body
idstring · max: 150Optional
notestring | nullableOptional
rpcProviderApiKeystringOptional
Responses
200
Registry source
application/json
patch
PATCH / HTTP/1.1
Host: registry-source
token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"id": "unique-cuid-v2-auto-generated",
"note": "optional_note",
"rpcProviderApiKey": "optional_apiKey"
}
200
Registry source
{
"data": {
"id": "unique-cuid-v2-auto-generated"
},
"status": "success"
}
Updates a registry source
Authorizations
Body
idstring · max: 150Required
Responses
200
Registry source
application/json
delete
DELETE / HTTP/1.1
Host: registry-source
token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"id": "unique-cuid-v2-auto-generated"
}
200
Registry source
{
"data": {
"id": "unique-cuid-v2-auto-generated"
},
"status": "success"
}
Last updated
Was this helpful?