SVX Documentation
HomepageAPISDK
2022-01
2022-01
  • What is the API-of-Me
  • Getting Started
    • Setting Up
    • Quickstart
    • Terminology
  • Platform
    • Secure Value Exchange
    • Vault
      • Enterprise Vault
  • Guides
    • Credential Schemas
    • Credential Types
    • Credentials
      • Issue Credentials
    • DIDs
      • DID Resolver
      • DID Registrar
      • DID Methods
        • did:key
        • did:web
        • did:ebsi
        • did:indy
      • DID Controller Keypair
    • OpenID Connect
      • For Verifiable Presentation
    • Presentations
    • Presentation Definitions
    • Vault
      • Setting up Access
      • Items and Slots
      • Connections and Sharing
      • Classification Hierarchies
      • Attachments
      • On-sharing & Client Tasks
      • Account Delegation
  • Tools
    • Meeco SDK & CLI
    • Cryppo SDK & CLI
  • Policies
    • Privacy
    • Developer Policy
  • Releases
Powered by GitBook
On this page
  • DID Resolution
  • DID URL Dereferencing

Was this helpful?

Edit on GitHub
  1. Guides
  2. DIDs

DID Resolver

Resolving & dereferencing supported DID methods

DID Resolution

DID resolution, also referred to as the "Read" operation, is a function that takes a DID (and some metadata) as input and returns a DID document (and some metadata) as output.

Resolution is performed as defined in the DID Core and DID Resolution specifications. The implementation is based on the Universal Resolver project.

Supported output is

  • DID document and metadata in JSON-LD

  • DID document in JSON-LD

  • DID document in CBOR

curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
     -X GET "https://svx-api.meeco.me/did/did:sov:WRfXPg8dantKVubE3HX8pw"
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
     -H "Accept: application/did+ld+json" \
     -X GET "https://svx-api.meeco.me/did/did:sov:WRfXPg8dantKVubE3HX8pw"
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
     -H "Accept: application/did+cbor" \
     -X GET "https://svx-api.meeco.me/did/did:sov:WRfXPg8dantKVubE3HX8pw"

DID URL Dereferencing

DID URL dereferencing is a function that takes a DID url as input and returns either (1) a DID document, (2) a resource within the DID document or (3) a resource external to the DID document.

Using a fragment to fetch

curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
     -H "Accept: application/did+ld+json" \
     -X GET "https://svx-api.meeco.me/did/did:sov:WRfXPg8dantKVubE3HX8pw#key1"

Last updated 1 year ago

Was this helpful?