Skip to main content

VDX - DIF Universal Resolver (0.1)

Download OpenAPI specification:Download

E-mail: info@sphereon.com License: Apache 2.0

VDX - DIF Compatible Universal Resolver for DIDs

Resolve a DID / dereference a DID URL.

Returns a DID document or DID URL resolution results.

path Parameters
identifier
required
string
Examples:
  • did:ion:EiCprjAMfWpp7zYXDZV2TGNDV6U4AEBN2Jr6sVsuzL7qhA - A DID using the `didMethod` method.

The DID to be resolved, or the DID URL to be dereferenced.

header Parameters
Accept
string
Examples:
  • application/json - JSON representation
  • application/did+ld+json - JSON-LD representation
  • application/ld+json;profile=https://w3c-ccg.github.io/did-resolution/ - DID resolution result (JSON-LD representation)

The requested media type of the DID document representation or DID resolution result.

Responses

Response samples

Content type
{
  • "didDocument": "{\n \"@context\": \"https://w3id.org/did-resolution/v1\",\n \"didDocument\": {\n \"id\": \"did:ion:EiCprjAMfWpp7zYXDZV2TGNDV6U4AEBN2Jr6sVsuzL7qhA\",\n \"@context\": [\n \"https://www.w3.org/ns/did/v1\",\n {\n \"@base\": \"did:ion:EiCprjAMfWpp7zYXDZV2TGNDV6U4AEBN2Jr6sVsuzL7qhA\"\n }\n ],\n \"verificationMethod\": [\n {\n \"id\": \"#did1-test2\",\n \"controller\": \"did:ion:EiCprjAMfWpp7zYXDZV2TGNDV6U4AEBN2Jr6sVsuzL7qhA\",\n \"type\": \"EcdsaSecp256k1VerificationKey2019\",\n \"publicKeyJwk\": {\n \"kty\": \"EC\",\n \"crv\": \"secp256k1\",\n \"x\": \"aMjNCWMdeXJRg3PDzE7TE9P2xFpoL9fRkJ0toVBMB8E\",\n \"y\": \"Qz7vj0zUj6S4daGIuEMbB_Ua6Q6wOTGAo46tXLi3SxE\"\n }\n }\n ],\n \"authentication\": [\n \"#did1-test2\"\n ],\n \"assertionMethod\": [\n \"#did1-test2\"\n ]\n },\n \"didDocumentMetadata\": {\n \"method\": {\n \"published\": true,\n \"recoveryCommitment\": \"EiDAQXSi7HcjJVBYAKdO2zrM4HfybmBBCWsl6PQPJ_jklA\",\n \"updateCommitment\": \"EiBzp7YhN9mhUcZsFdxnf-lwkRU-hVbBtZWsVoJHV6jkwA\"\n },\n \"canonicalId\": \"did:ion:EiCprjAMfWpp7zYXDZV2TGNDV6U4AEBN2Jr6sVsuzL7qhA\"\n }\n}\n",
  • "didResolutionMetadata": { },
  • "didDocumentMetadata": { }
}

Retrieve configuration properties.

Returns a map of the configuration properties of the DID Resolver, including of its drivers.

Responses

Response samples

Content type
application/did+json
{ }

Retrieve supported DID methods.

Returns a list of DID methods supported by the DID Resolver.

Responses

Response samples

Content type
application/did+json
[
  • "web",
  • "ion",
  • "key",
  • "factom",
  • "lto"
]

Retrieve test identifiers.

Returns a map of test identifiers that can be resolved by the DID Resolver

Responses

Response samples

Content type
application/did+json
{
  • "ion": [
    ],
  • "didMethod2": [
    ]
}