GET/did-registry/v5/identifiers/:did
Gets the DID document corresponding to the DID.
Request
Path Parameters
- A user wallet checks if the DID is correctly included in the DID Registry (CT ONBOARD_063)
- DID
A DID to be resolved. [conformance description] The API supports the following EBSI conformance tests:
Example: did:ebsi:zZeKyEJfUTGwajhNyNX928z
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 (CT ONBOARD_063)
- application/did+ld+json
- Schema
- Example (from schema)
- Success
Schema
- MOD1
- MOD2
- Array [
- ]
@context object
DID document @context
DID document as a JSON-LD document
{
"@context": "string"
}
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/suites/jws-2020/v1"
],
"id": "did:ebsi:zZeKyEJfUTGwajhNyNX928z",
"controller": [
"did:ebsi:zZeKyEJfUTGwajhNyNX928z"
],
"verificationMethod": [
{
"id": "did:ebsi:zZeKyEJfUTGwajhNyNX928z#RqnJsdrEXgSMJgCdlxFGya2oLmVEP1zz0Jo-VMFqq6E",
"type": "JsonWebKey2020",
"controller": "did:ebsi:zZeKyEJfUTGwajhNyNX928z",
"publicKeyJwk": {
"kty": "EC",
"crv": "secp256k1",
"x": "wBmAchcZfv7IIWzLdSPysdT_33r02KH18nJM_r01pig",
"y": "MABWTgJIKuObHLi8G8ta_OoUpqwBShoKlbT2_PcEybI"
}
},
{
"id": "did:ebsi:zZeKyEJfUTGwajhNyNX928z#So1HIRt0Kqf0_BSwqv4VMNgkax3mCF9IjcQJwMnB3bs",
"type": "JsonWebKey2020",
"controller": "did:ebsi:zZeKyEJfUTGwajhNyNX928z",
"publicKeyJwk": {
"kty": "EC",
"x": "AfLzzSLO_rH1n7fIJsGS9AUyZXCql78npwshtYE0Rf4",
"y": "vVoDE_-A4Yptu0oelJD2OYdTARMF52lSQXc2IqiwIMQ",
"crv": "P-256"
}
}
],
"authentication": [
"did:ebsi:zZeKyEJfUTGwajhNyNX928z#RqnJsdrEXgSMJgCdlxFGya2oLmVEP1zz0Jo-VMFqq6E",
"did:ebsi:zZeKyEJfUTGwajhNyNX928z#So1HIRt0Kqf0_BSwqv4VMNgkax3mCF9IjcQJwMnB3bs"
],
"assertionMethod": [
"did:ebsi:zZeKyEJfUTGwajhNyNX928z#So1HIRt0Kqf0_BSwqv4VMNgkax3mCF9IjcQJwMnB3bs"
],
"capabilityInvocation": [
"did:ebsi:zZeKyEJfUTGwajhNyNX928z#RqnJsdrEXgSMJgCdlxFGya2oLmVEP1zz0Jo-VMFqq6E"
]
}
Bad Request
- application/problem+json
- Schema
- Example (from 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.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"title": "Bad Request",
"status": 400,
"detail": "The format of {did} parameter is not valid"
}
Not found
- application/problem+json
- Schema
- Example (from 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.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
Internal Server Error
- application/json
- Schema
- Example (from 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.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"title": "Internal error",
"status": 500,
"detail": "Internal error"
}