GET/trusted-issuers-registry/v5/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:zZeKyEJfUTGwajhNyNX928z
Description: Valid Pilot attributeId
Example: 447867bafab4c4ad26d4f4650e2390f92a831b6343b7c36ecb7c51fee336fa14
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
- Example (from 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": "string",
"items": [
{
"hash": "string"
}
],
"total": 0,
"pageSize": 0,
"links": {
"last": "string",
"prev": "string",
"next": "string",
"first": "string"
}
}
{
"self": "https://api-pilot.ebsi.eu/trusted-issuers-registry/v5/issuers/did:ebsi:zZeKyEJfUTGwajhNyNX928z/attributes/447867bafab4c4ad26d4f4650e2390f92a831b6343b7c36ecb7c51fee336fa14/revisions?page[after]=1&page[size]=10",
"items": [
{
"hash": "cf89e47e260eda53bb199096ca97347790c84d2c8a5f2ce3f411eaba14d0003e",
"body": null,
"issuerType": "RootTAO",
"tao": "did:ebsi:zZeKyEJfUTGwajhNyNX928z",
"rootTao": "did:ebsi:zZeKyEJfUTGwajhNyNX928z"
},
{
"hash": "6ffc001fcc76bceb96847b184a27c086c00c59da25ed0b5c6531097fe34f00c3",
"body": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImRpZDplYnNpOnpaZUt5RUpmVVRHd2FqaE55Tlg5Mjh6I1NvMUhJUnQwS3FmMF9CU3dxdjRWTU5na2F4M21DRjlJamNRSndNbkIzYnMifQ.eyJpYXQiOjE2OTE0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YXRpb24iLCJWZXJpZmlhYmxlQXV0aG9yaXNhdGlvbkZvclRydXN0Q2hhaW4iXX1dLCJyZXNlcnZlZEF0dHJpYnV0ZUlkIjoiY2Y4OWU0N2UyNjBlZGE1M2JiMTk5MDk2Y2E5NzM0Nzc5MGM4NGQyYzhhNWYyY2UzZjQxMWVhYmExNGQwMDAzZSJ9LCJjcmVkZW50aWFsU2NoZW1hIjp7ImlkIjoiZG9tYWluL3RydXN0ZWQtc2NoZW1hcy1yZWdpc3RyeS92My9zY2hlbWFzL3pqVkZOdmJFQlBBcjNhNzI0RHR0aW9acGdabU5yNzVCQnRSelpxazdwa0RlIiwidHlwZSI6IkZ1bGxKc29uU2NoZW1hVmFsaWRhdG9yMjAyMSJ9fSwiaXNzIjoiZGlkOmVic2k6elplS3lFSmZVVEd3YWpoTnlOWDkyOHoifQ.-5UTPBiym6ks8_GNYL1K4jvS-rZ1fo4O5ZKvOqsA_cR0-ruYdxqrnbQlernH7kADGTttR3Alp7s9PjFxbOUe5w",
"issuerType": "RootTAO",
"tao": "did:ebsi:zZeKyEJfUTGwajhNyNX928z",
"rootTao": "did:ebsi:zZeKyEJfUTGwajhNyNX928z"
},
{
"hash": "314b372250375b81f5e386df243e44adb3e4de7ef31dd84fa25e93346de99eab",
"body": null,
"issuerType": "RootTAO",
"tao": "did:ebsi:zZeKyEJfUTGwajhNyNX928z",
"rootTao": "did:ebsi:zZeKyEJfUTGwajhNyNX928z"
},
{
"hash": "447867bafab4c4ad26d4f4650e2390f92a831b6343b7c36ecb7c51fee336fa14",
"body": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImRpZDplYnNpOnpaZUt5RUpmVVRHd2FqaE55Tlg5Mjh6I1NvMUhJUnQwS3FmMF9CU3dxdjRWTU5na2F4M21DRjlJamNRSndNbkIzYnMifQ.eyJpYXQiOjE2OTE0OTgyNzgsImp0aSI6InVybjp1dWlkOjdmYWIyMmZiLWY1Y2UtNDczNi1hNzQwLWY5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gb3JUcnVzdENoYWluIl19XSwicmVzZXJ2ZWRBdHRyaWJ1dGVJZCI6ImNmODllNDdlMjYwZWRhNTNiYjE5OTA5NmNhOTczNDc3OTBjODRkMmM4YTVmMmNlM2Y0MTFlYWJhMTRkMDAwM2UifSwiY3JlZGVudGlhbFNjaGVtYSI6eyJpZCI6Imh0dHBzOi8vYXBpLXBpbG90LmVic2kuZXUvdHJ1c3RlZC1zY2hlbWFzLXJlZ2lzdHJ5L3YzL3NjaGVtYXMvempWRk52YkVCUEFyM2E3MjREdHRpb1pwZ1ptTnI3NUJCdFJ6WnFrN3BrRGUiLCJ0eXBlIjoiRnVsbEpzb25TY2hlbWFWYWxpZGF0b3IyMDIxIn19LCJpc3MiOiJkaWQ6ZWJzaTp6WmVLeUVKZlVUR3dhamhOeU5YOTI4eiJ9.AeYv7qp8OE-cVvcSDmDo6X8u8sgCZ40hVE2flaLQSg82wlgS_yGp2FOKjr-nKwflEKoY8LBX-6fQfvFrEpjMnw",
"issuerType": "RootTAO",
"tao": "did:ebsi:zZeKyEJfUTGwajhNyNX928z",
"rootTao": "did:ebsi:zZeKyEJfUTGwajhNyNX928z"
}
],
"total": 4,
"pageSize": 10,
"links": {
"first": "https://api-pilot.ebsi.eu/trusted-issuers-registry/v5/issuers/did:ebsi:zZeKyEJfUTGwajhNyNX928z/attributes/447867bafab4c4ad26d4f4650e2390f92a831b6343b7c36ecb7c51fee336fa14/revisions?page[after]=1&page[size]=10",
"prev": "https://api-pilot.ebsi.eu/trusted-issuers-registry/v5/issuers/did:ebsi:zZeKyEJfUTGwajhNyNX928z/attributes/447867bafab4c4ad26d4f4650e2390f92a831b6343b7c36ecb7c51fee336fa14/revisions?page[after]=1&page[size]=10",
"next": "https://api-pilot.ebsi.eu/trusted-issuers-registry/v5/issuers/did:ebsi:zZeKyEJfUTGwajhNyNX928z/attributes/447867bafab4c4ad26d4f4650e2390f92a831b6343b7c36ecb7c51fee336fa14/revisions?page[after]=1&page[size]=10",
"last": "https://api-pilot.ebsi.eu/trusted-issuers-registry/v5/issuers/did:ebsi:zZeKyEJfUTGwajhNyNX928z/attributes/447867bafab4c4ad26d4f4650e2390f92a831b6343b7c36ecb7c51fee336fa14/revisions?page[after]=1&page[size]=10"
}
}
Bad Request Error
- application/problem+json
- Schema
- Example (from 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.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"title": "Bad Paging Request",
"status": 400,
"detail": "PageSize should not be greater than 50"
}
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/problem+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"
}