GET/did-registry/v3/identifiers/:did/versions/:versionId
Returns a DID document based on its version ID.
Request
Path Parameters
- DID
- Version ID
A DID to be resolved.
Example: did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD
A unique version ID.
Example: 1.3369941178372157e+76
Responses
- 200
- 400
- 404
- 500
Success
- application/did+ld+json
- Schema
- Success
Schema
- MOD1
- MOD2
- Array [
- ]
@context object
DID document @context
DID document as a JSON-LD document
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/suites/jws-2020/v1"
],
"id": "did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD",
"verificationMethod": [
{
"id": "did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD#keys-1,",
"type": "JsonWebKey2020,",
"controller": "did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD,",
"publicKeyJwk": {
"kty": "EC",
"crv": "secp256k1",
"x": "cKWH4GgY2T4veJJZOgvu1AQo8ZtyXCyqelmoJLMD7tE",
"y": "qasRE5xIHWhNSO0kQWG2ZGxc7NYMhuIMIF7kXACC-zQ"
}
}
],
"authentication": [
"did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD#keys-1"
],
"assertionMethod": [
"did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD#keys-1"
]
}
Bad Request
- application/problem+json
- Schema
- Invalid {did} Parameter
- Invalid {versionId} Parameter
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Bad Request",
"status": 400,
"detail": "The format of {did} parameter is not valid"
}
{
"title": "Bad Request",
"status": 400,
"detail": "The format of {versionId} parameter is not valid"
}
Not found
- application/problem+json
- Schema
- DID Not Found
- Version ID Not Found
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
Internal Server Error
- application/json
- Schema
- Internal Server Error
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Internal error",
"status": 500,
"detail": "Internal error"
}