GET/did-registry/v5/identifiers/:did
Returns the DID document corresponding to the DID.
Request
Path Parameters
- DID
A DID to be resolved.
Example: did:ebsi:z24q8qN8UE1j4XAFiFKtvJbH
Query Parameters
This option is used to get a the version in the past of a DID document. It must be a date in ISO-8601 format
Responses
- 200
- 400
- 404
- 500
Success. A user wallet gets DID resolution.
- 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:z25F87e2MyLKF7DViuHi5b4z",
"controller": [
"did:ebsi:z25F87e2MyLKF7DViuHi5b4z"
],
"verificationMethod": [
{
"id": "did:ebsi:z25F87e2MyLKF7DViuHi5b4z#0NivQmyibuMALzL2VYcsZiPXRLNtBPOSy4G4-qHFHzU",
"type": "JsonWebKey2020",
"controller": "did:ebsi:z25F87e2MyLKF7DViuHi5b4z",
"publicKeyJwk": {
"kty": "EC",
"crv": "secp256k1",
"x": "bn0VlNS3FFt6m0Uyb3hs9AEUlyrQucseOGjzw4TUoY0",
"y": "4KENQAlExFYMjI59fdA1mEBjkyL8D4-j4KwhPuX_zWA"
}
}
],
"capabilityInvocation": [
"did:ebsi:z25F87e2MyLKF7DViuHi5b4z#0NivQmyibuMALzL2VYcsZiPXRLNtBPOSy4G4-qHFHzU"
]
}
Bad Request
- application/problem+json
- Schema
- Invalid {did} 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"
}
Not found
- application/problem+json
- Schema
- DID 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"
}
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"
}