GET/did-registry/v3/identifiers/:did/versions/:versionId/metadata/:metadataId
Returns the DID document metadata based on their ID.
Request
Path Parameters
- DID
- Version ID
- Metadata ID
A DID to be resolved.
Example: did:ebsi:zbM8cCuoBMFNLeQyLiVFyxw
A unique version ID.
Example: 0xa009395f9e2a7809f1b550e0efbe2443dce931fe747d269a5c312e5ad75f88e1
A unique metadata ID.
Example: 0x7469f0576c88bc878adf6d0091228c2081d28fc6fc87af630a1fd3d252d644fc
Responses
- 200
- 400
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
- Success
Schema
DID document metadata as a JSON document
{}
{
"key": "value"
}
Bad Request
- application/problem+json
- Schema
- Example (from schema)
- Invalid {did} Parameter
- Invalid {versionId} Parameter
- Invalid {metadataId} 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"
}
{
"title": "Bad Request",
"status": 400,
"detail": "The format of {versionId} parameter is not valid"
}
{
"title": "Bad Request",
"status": 400,
"detail": "The format of {metadataId} parameter is not valid"
}
Not found
- application/problem+json
- Schema
- Example (from schema)
- DID Not Found
- Version ID Not Found
- Metadata 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.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
{
"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"
}