GET/trusted-policies-registry/v3/policies
Returns a list of policies registered in the blockchain.
Request
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Success
Schema
- Array [
- ]
URI to policies
items object[]
List of policies
Name of the policy
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.
Hyperlink to the first page.
Hyperlink to the previous page.
Hyperlink to the next page.
Hyperlink to the last page.
{
"self": "https://api-pilot.ebsi.eu/trusted-policies-registry/v3/policies?page[after]=3&page[size]=2",
"items": [
{
"policyName": "TSR:insertSchema",
"href": "https://api-pilot.ebsi.eu/trusted-policies-registry/v3/policies/TSR:insertSchema"
},
{
"policyName": "TSR:updateSchema",
"href": "https://api-pilot.ebsi.eu/trusted-policies-registry/v3/policies/TSR:updateSchema"
}
],
"total": 124,
"pageSize": 2,
"links": {
"first": "https://api-pilot.ebsi.eu/trusted-policies-registry/v3/policies?page[after]=1&page[size]=2",
"prev": "https://api-pilot.ebsi.eu/trusted-policies-registry/v3/policies?page[after]=2&page[size]=2",
"next": "https://api-pilot.ebsi.eu/trusted-policies-registry/v3/policies?page[after]=4&page[size]=2",
"last": "https://api-pilot.ebsi.eu/trusted-policies-registry/v3/policies?page[after]=62&page[size]=2"
}
}
Bad Request
- application/problem+json
- Schema
- Bad 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 Request",
"status": 400,
"detail": "Bad request."
}
Internal 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 Server Error",
"status": 500,
"detail": "The server encountered an internal error and was unable to process your request."
}