Registry Sources

/registry-source

REQUIRES API KEY Authentication (+admin)

get

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"
}

REQUIRES API KEY Authentication (+admin)

post

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"
}

REQUIRES API KEY Authentication (+admin)

patch

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"
}

REQUIRES API KEY Authentication (+admin)

delete

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?