GET/timestamp/v4/records
Returns a list of records.
Request
Query Parameters
- first-version
- owner
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.
Filter records by first version hash
Description: Valid Test first-version
Example: 0xa3ae912d3e6133480ad4ce8bd16588a80fc6a9071a7edbcd743fd53e3fe0c11a
Filter records by owner address
Description: Valid Test owner
Example: 0x43d3cd3a351acd502c53a7b4a63b299b62665b6f
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Success
Schema
- Array [
- ]
URI to records
items object[]
List of records
ID of the record (multibase base64url encoded)
Link to the resource
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-test.ebsi.eu/timestamp/v4/records?page[after]=3&page[size]=2",
"items": [
{
"recordId": "uxbCgjOrW9U086Nc9MJ-bJGXZt6SxY0jIXxCBdFF6nbU",
"href": "https://api-test.ebsi.eu/timestamp/v4/records/uxbCgjOrW9U086Nc9MJ-bJGXZt6SxY0jIXxCBdFF6nbU"
},
{
"recordId": "uNf5VlU49iDHH461yIwzJiczCHc_PcO-v5fO5NK7MXgg",
"href": "https://api-test.ebsi.eu/timestamp/v4/records/uNf5VlU49iDHH461yIwzJiczCHc_PcO-v5fO5NK7MXgg"
}
],
"total": 2193,
"pageSize": 2,
"links": {
"first": "https://api-test.ebsi.eu/timestamp/v4/records?page[after]=1&page[size]=2",
"prev": "https://api-test.ebsi.eu/timestamp/v4/records?page[after]=2&page[size]=2",
"next": "https://api-test.ebsi.eu/timestamp/v4/records?page[after]=4&page[size]=2",
"last": "https://api-test.ebsi.eu/timestamp/v4/records?page[after]=1097&page[size]=2"
}
}
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"
}
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"
}