GET/did-registry/v3/identifiers/:did/versions
Returns a list of DID document versions.
Request
Path Parameters
- DID
A DID to be resolved.
Example: did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD
Query Parameters
Cursor that points to the end of the page of data that has been returned.
Defines the maximum number of objects that may be returned.
Responses
- 200
- 400
- 404
- 500
Success
- application/json
- Schema
- Success
Schema
- Array [
- ]
Absolute path to the collection (consult)
items object[]
List of DID document versions
A unique version id.
Link to the resource
Total number of items across all pages.
Maximum number of items per page. For the last page, its value should be independent of the number of actually returned items.
links object
Links model used for pagination
URI of the last page
URI of the previous page
URI of the next page
URI of the first page
{
"self": "https://api-conformance.ebsi.eu/did-registry/v3/identifiers/did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD/versions?page[after]=1&page[size]=10",
"items": [
{
"versionId": "0x1d8f1e58880e716578b7622177bb349d0d6d5dfdf5610ed63d6bc3597149fe7e",
"href": "https://api-conformance.ebsi.eu/did-registry/v3/identifiers/did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD/versions/0x1d8f1e58880e716578b7622177bb349d0d6d5dfdf5610ed63d6bc3597149fe7e"
}
],
"total": 1,
"pageSize": 10,
"links": {
"first": "https://api-conformance.ebsi.eu/did-registry/v3/identifiers/did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD/versions?page[after]=1&page[size]=10",
"prev": "https://api-conformance.ebsi.eu/did-registry/v3/identifiers/did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD/versions?page[after]=1&page[size]=10",
"next": "https://api-conformance.ebsi.eu/did-registry/v3/identifiers/did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD/versions?page[after]=1&page[size]=10",
"last": "https://api-conformance.ebsi.eu/did-registry/v3/identifiers/did:ebsi:zuzDMJqHyxtCEE6FRuCPTgD/versions?page[after]=1&page[size]=10"
}
}
Bad Request Error
- application/problem+json
- Schema
- Bad Paging Request
- 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 Paging Request",
"status": 400,
"detail": "PageSize should not be greater than 50"
}
{
"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/problem+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"
}