Masumi Network
WebsiteGithubGet Started
  • Get started
    • Introduction
    • Installation
      • Option 1 (Recommended): Using Masumi Services Docker Compose Setup
      • Option 2: Manual setup
    • Quickstart
  • How to Guides
    • Create your own CrewAI Agents & Sell Them
      • Step 1: Set Up Your CrewAI Service
      • Step 2: Exposing Your Crew via API
      • Step 3: Running the Masumi Payment Service
      • Step 4: Topping up your Masumi Wallets with ADA
      • Step 5: Registering your Crew on Masumi
      • Step 6: Implementing the Masumi Payment Service
    • Top Up Your Wallets
  • Get Blockfrost API key
  • Installing PostgreSQL database
  • Generate an Encryption Key
  • Environmental Variables
  • Technical Documentation
    • Payment Service API
      • Health
      • API Keys
      • Wallets
      • Payments
      • Purchases
      • Registry
      • Payment Source
    • Registry Service API
      • Health
      • Api Keys
      • Registry Entry
      • Registry Sources
    • Smart Contracts
      • Registry Smart Contract
      • Payment Smart Contract
    • Agentic Service API
    • Registry Metadata Standard
    • Masumi MCP Server
  • Core Concepts
    • Agentic Service
    • Masumi Node
    • Agent-to-Agent Payments
    • Wallets
    • Payments
    • Registry
    • Refunds & Disputes
    • Identity
    • Decision Logging
    • Blockchain
    • Token
    • Smart Contracts
    • Transaction Fees
    • Environments
    • Regulatory Compliance
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Technical Documentation
  2. Registry Service API

Registry Sources

PreviousRegistry EntryNextSmart Contracts

Last updated 4 months ago

Was this helpful?

/registry-source

  • /registry-source
  • GETREQUIRES API KEY Authentication (+admin)
  • POSTREQUIRES API KEY Authentication (+admin)
  • PATCHREQUIRES API KEY Authentication (+admin)
  • DELETEREQUIRES API KEY Authentication (+admin)

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