Skip to main content

VDX - DIF Universal Registrar (0.1)

Download OpenAPI specification:Download

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

VDX - DIF Compatible Universal Registrar for DIDs

Creates a DID.

Creates a Decentralized Id i.e. DID returns the object.

query Parameters
method
required
string
Example: method=key

The requested DID method for the operation.

Request Body schema: application/json
jobId
string

Id of an ongoing DID creation process.

object

Options for the DID create operation, such as the network where the DID should be created

secret
object

Object with DID controller keys and other secrets needed for performing the DID create operation.

didDocument
object

Partial or complete DID document

Responses

Request samples

Content type
application/json
{
  • "jobId": "6d85bcd0-2ea3-4288-ab00-15afadd8a156",
  • "options": {
    },
  • "secret": {
    },
  • "didDocument": { }
}

Response samples

Content type
application/json
{
  • "jobId": "6d85bcd0-2ea3-4288-ab00-15afadd8a156",
  • "didState": {
    },
  • "didRegistrationMetadata": { },
  • "didDocumentMetadata": { }
}

Update a DID.

Updates a Decentralized Id

query Parameters
method
required
string
Example: method=didMethod1

The requested DID method for the operation.

Request Body schema: application/json
jobId
string

Id of an ongoing DID creation process.

did
required
string

DID to be updated.

object

Options for the DID update operation.

secret
object

Object with DID controller keys and other secrets needed to perform the DID update operation.

didDocument
object

Partial or whole DID document

management
any
Enum: "SERVER-MANAGED" "USER-MANAGED" "USER-CREATED"

Responses

Request samples

Content type
application/json
{
  • "jobId": "6d85bcd0-2ea3-4288-ab00-15afadd8a156",
  • "did": "did:didMethod1:WRfXPg8dantKVubE3HX8pw",
  • "options": {
    },
  • "secret": { },
  • "didDocument": { },
  • "management": "SERVER-MANAGED"
}

Response samples

Content type
application/json
{
  • "jobId": "6d85bcd0-2ea3-4288-ab00-15afadd8a156",
  • "didState": {
    },
  • "didRegistrationMetadata": { },
  • "didDocumentMetadata": { }
}

Deactivate DID.

Deactivates a DID

query Parameters
method
required
string
Example: method=didMethod1

The requested DID method for the operation.

Request Body schema: application/json
jobId
string

Id of an ongoing DID creation process.

did
required
string

DID to be deactivated.

options
object

Options for the DID deactivate operation.

secret
object

Object with DID controller keys and other secrets needed for performing the DID deactivate operation.

Responses

Request samples

Content type
application/json
{
  • "jobId": "6d85bcd0-2ea3-4288-ab00-15afadd8a156",
  • "did": "did:didMethod1:WRfXPg8dantKVubE3HX8pw",
  • "options": { },
  • "secret": { }
}

Response samples

Content type
application/json
{
  • "jobId": "6d85bcd0-2ea3-4288-ab00-15afadd8a156",
  • "didState": {
    },
  • "didRegistrationMetadata": { },
  • "didDocumentMetadata": { }
}

Returns a map of properties of the resolver.

Responses

Response samples

Content type
application/did+json
{ }

Returns a list of supported DID methods.

Responses

Response samples

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