GET/trusted-issuers-registry/v4/issuers/:did/attributes/:attributeId/revisions
Returns a list of revisions of an attribute.
Request
Path Parameters
- did
- attributeId
Description: Valid Pilot DID
Example: did:ebsi:zsqBYQuKunNdr3XfGfPUvU7
Description: Valid Pilot attributeId
Example: 4763114aaa3ba460849a5da50797ab6709f2b346788c6749067ac5b3413ad83e
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 [
- ]
URI to attributes
items object[]
list of attributes
sha256 hash of the payload
Base64 encoded content
RootTAO, TAO, TI, Revoked or Undefined
Trusted Accredited Organization that accredited the insertion of the attribute
Root chain of accreditations
Total number of items in a collection
Number of items to be returned per page
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-pilot.ebsi.eu/trusted-issuers-registry/v4/issuers/did:ebsi:zr2rWDHHrUCdZAW7wsSb5nQ/attributes/317ee465aa7c80ec734c1291da037dd0e25faf549c43964f9f9f0658474d199b/revisions?page[after]=1&page[size]=10",
"items": [
{
"hash": "317ee465aa7c80ec734c1291da037dd0e25faf549c43964f9f9f0658474d199b",
"body": "eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QiLCJraWQiOiJkaWQ6ZWJzaTp6MjU2YXNCV21IQnNqMlpOVnhHNU1oa3Aja2V5cy0yIn0.eyJpYXQiOjE2NzYzNzY0NTYsImp0aSI6InVybjp1dWlkOjFkMWMwODk4LTAwYWYtNDY0ZC1hZWZkLTI1YmYxMjZjYTA4OCIsIm5iZiI6MTY3NjM3NjQ1NiwiZXhwIjoxNzA3OTEyNDU2LCJzdWIiOiJkaWQ6ZWJzaTp6eW1COVdkR3g3SGN5bWFIb0JxQVZoZiIsInZjIjp7IkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sImlkIjoidXJuOnV1aWQ6MWQxYz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BmOWEifV19LCJjcmVkZW50aWFsU3RhdHVzIjp7ImlkIjoiaHR0cHM6Ly9lc3NpZi5ldXJvcGEuZXUvc3RhdHVzLzEiLCJ0eXBlIjoiQ3JlZGVudGlhbHNTdGF0dXNMaXN0MjAyMCJ9LCJjcmVkZW50aWFsU2NoZW1hIjp7ImlkIjoiaHR0cHM6Ly9hcGktcGlsb3QuZWJzaS5ldS90cnVzdGVkLXNjaGVtYXMtcmVnaXN0cnkvdjEvc2NoZW1hcy8weDljMjZkMTkwMzJkZWI1ZDcyZjRhYzU2ZjNiODhjNDAyNWM2YmU4MTIzYzI0NGZlNTdhN2Q2ZTUzNDNiNzFiNjUiLCJ0eXBlIjoiRnVsbEpzb25TY2hlbWFWYWxpZGF0b3IyMDIxIn19LCJpc3MiOiJkaWQ6ZWJzaTp6MjU2YXNCV21IQnNqMlpOVnhHNU1oa3AifQ.00Cl-pnL-YSEQYTKA02MVWwryUX_i76l39BRXLiwLV1nnugIKHT7zJoiXnS3vFeaZ2R4HFNx1EK38CCs6gNh2g",
"issuerType": "TAO",
"tao": "did:ebsi:zppVrNT9bBgMqxrJqVEnvyk",
"rootTao": "did:ebsi:zppVrNT9bBgMqxrJqVEnvyk"
}
],
"total": 1,
"pageSize": 10,
"links": {
"first": "https://api-pilot.ebsi.eu/trusted-issuers-registry/v4/issuers/did:ebsi:zr2rWDHHrUCdZAW7wsSb5nQ/attributes/317ee465aa7c80ec734c1291da037dd0e25faf549c43964f9f9f0658474d199b/revisions?page[after]=1&page[size]=10",
"prev": "https://api-pilot.ebsi.eu/trusted-issuers-registry/v4/issuers/did:ebsi:zr2rWDHHrUCdZAW7wsSb5nQ/attributes/317ee465aa7c80ec734c1291da037dd0e25faf549c43964f9f9f0658474d199b/revisions?page[after]=1&page[size]=10",
"next": "https://api-pilot.ebsi.eu/trusted-issuers-registry/v4/issuers/did:ebsi:zr2rWDHHrUCdZAW7wsSb5nQ/attributes/317ee465aa7c80ec734c1291da037dd0e25faf549c43964f9f9f0658474d199b/revisions?page[after]=1&page[size]=10",
"last": "https://api-pilot.ebsi.eu/trusted-issuers-registry/v4/issuers/did:ebsi:zr2rWDHHrUCdZAW7wsSb5nQ/attributes/317ee465aa7c80ec734c1291da037dd0e25faf549c43964f9f9f0658474d199b/revisions?page[after]=1&page[size]=10"
}
}
Bad Request Error
- application/problem+json
- Schema
- Bad Paging Request
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"
}
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"
}