GET /data_services
Retrieves a list of all data services to the requesting party from the trust framework catalogue.
The trust framework catalogue MUST support a GET call to a /data_services endpoint to retrieve a list of DSGO data services (in an array of capabilities_info objects).
Request
Authorization
An access token is used in GET calls to the /data_services endpoint. For more information, see Access Token.
The trust framework catalogue MUST validate that a GET call to a /data_services endpoint includes the “Authorization" header according to RFC 6750 and includes a valid access token
Parameters
For information about the parameters that are common to the trust framework’s API’s see Generic API Requirements.
The trust framework catalogue MUST validate that the HTTP body of a GET request to the /data_services endpoint contains the parameters as defined in the table below
The trust framework catalogue MUST validate that the HTTP body of a GET request to the /data_services endpoint contains at least a single parameter.
Parameter | Type | Description | |
|---|---|---|---|
| Optional | String | Used to search by a party’s identifier. MUST contain a valid Organisation ID |
| Optional | Boolean | Used to search all certified parties. MUST be equal to |
| Optional | Boolean | Used to search services of all active parties. MUST be equal to |
| Optional | Integer | Used for navigation in case the result contains more than 10 objects, MUST contain an integer. |
| Optional | String | Date and time for which the information is requested. MUST be according to ISO 8601. If provided, the result becomes final and therefore MUST be cacheable. |
Responses
200 OK
Successful, the response contains data providing the requested parties information in an array of capabilities_info objects as defined here. The response is signed using the onweerlegbaarheid JWT for non-repudation.
The trust framework catalogue MUST include an array of capabilities_info objects in a response to a successful GET calls to the /data_services endpoint
400 Bad Request
When Authorization header is provided, but the token format is invalid (for example, not Bearer). Additionally, a 400 should be returned when the provided access token is valid, but query parameters are either invalid or none of them were provided.
401 Unauthorized
When Authorization header is either missing, invalid or the access token has already expired.