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 pilot first-version
Example: 0xc44c79e0e1f1f4a61a580d3146c13657a6622fcc2f586c63297c76722a6049ff
Filter records by owner address
Description: Valid pilot owner
Example: 0x8a5f8001e772b325cfc2898a51300b0afaf71b65
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Example (from 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": "string",
"items": [
{
"recordId": "string",
"href": "string"
}
],
"total": 0,
"pageSize": 0,
"links": {
"last": "string",
"prev": "string",
"next": "string",
"first": "string"
}
}
{
"self": "https://api-pilot.ebsi.eu/timestamp/v4/records?page[after]=1&page[size]=2",
"items": [
{
"recordId": "u6QSSvW57IyOocLlWQS3rB3w3qwXj4rTImwusvMkt9ZM",
"href": "https://api-pilot.ebsi.eu/timestamp/v4/records/u6QSSvW57IyOocLlWQS3rB3w3qwXj4rTImwusvMkt9ZM"
}
],
"total": 1,
"pageSize": 1,
"links": {
"first": "https://api-pilot.ebsi.eu/timestamp/v4/records?page[after]=1&page[size]=2",
"prev": "https://api-pilot.ebsi.eu/timestamp/v4/records?page[after]=1&page[size]=2",
"next": "https://api-pilot.ebsi.eu/timestamp/v4/records?page[after]=1&page[size]=2",
"last": "https://api-pilot.ebsi.eu/timestamp/v4/records?page[after]=1&page[size]=2"
}
}
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"
}
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"
}