Data service
Deze pagina’s zijn in het engels ten behoeve van mogelijk internationale ontwikkelaars
This endpoint MUST be implemented by the following roles:
Data SERVICE PROVIDER
Data service providers are free to implement a data service within the DSGO to provide a service to achieve business value according their own design. Data services provided within the DSGO conform to the DSGO specifications. This page gives an abstract overview of elements which may be used in data services.
DSGO.Basis
: Data service providers MUST expose their resources in conformance with the trust framework
Request
Requests can make use of any HTTP method and can contain any extra headers. Parameters are undefined because they vary for each data service provider due to their business specific logic.
Note, additional headers for security, statefulness, application functionality could be added and is out of scope of this specification.
Request headers
For information about the parameters that are common to the trust framework’s API’s see Generic API Requirements.
Parameter | Type | Description | |
---|---|---|---|
| Optional | String | MUST contain an OAuth 2.0 authorization based on bearer token. MUST contain “ Data service consumers can request access tokens via the /token endpoint. See Access Token for more information. |
| Optional | String | MUST contain a Data service brokers can obtain broker evidence via the /brokers endpoint. See Datadienstbrokers for more information. Note, Note, |
| Optional | String | MUST contain a signed DSGO JSON Web Token. This parameter may contain a DSGO Authenticatie JWT used for of the data service consumer. Alternatively this parameter may contain a DSGO Onweerlegbaarheid JWT used by data service consumers or required by data service providers who wish to ensure for non-repudiation of the data service request. If this parameter contains a Onweerlegbaarheid JWT, the See Authenticatie and Onweerlegbaarheid for more information. |
| Optional | String | MUST contain a Data service consumers can obtain delegation evidence via the /delegation endpoint. See Delegation for more information. Note, Note, |
| Optional | String | MUST contain a SHA256 hash (according to RFC 9530) of the HTTP body with the matching algorithm identifier See Onweerlegbaarheid for more information. |
| Optional | String | MUST contain a reference to the legal document under which the data service is made available. MUST be equal to one or more of the licence codes, prepended with a “ See Licenties for more information. |
Request body
Given the scope of the DSGO, the trust framework is data agnostic, and any type of content could be offered in data services. See Wat is een datadienst? for more information. It is the responsibility of the data service provider to determine the data resource offered in a data service in the data service specification. Depending on the data service this service content could be included in the HTTP body of the request or response. Although the data service provider is free to choose whatever data standard they see fit for their service, the DSGO presents the following agreement as a best practice.
Responses
Data service response can make use of any HTTP status code and can contain any extra headers. Parameters are undefined because they vary for each data service provider due to their business specific logic.
Response headers
Parameter | Type | Description | |
---|---|---|---|
| Optional | String | Note, |
| Optional | String | MUST contain a signed DSGO Onweerlegbaarheid JWT. This parameter is optional and may be used by data service providers or required by data service consumers who wish to ensure for non-repudiation of the data service response. If this parameter is used, the See Onweerlegbaarheid for more information. |
| Optional | String | MUST contain a SHA256 hash (according to RFC 9530) of the HTTP body with the matching algorithm identifier See Onweerlegbaarheid for more information. |
| Optional | String | MUST contain a reference to the legal document under which the data service is made available. MUST be equal to one or more of the licence codes, prepended with a “ See Licenties for more information. |
| Optional | String | Optional DSGO specific value describing the amount of sub license(s) the Data Service Provider is allowed to issue for the data in the data service response. |
| Optional | String | MUST contain the date and time which describes the duration of the license for the data in the data service response. MUST be a UNIX timestamp, following the timestamp conventions. |
Response body
See Request body.