Get Data Product
Changed onRetrieves a single data product. Accessible to users with the provider and admin role. Producers and support users can only retrieve active data products.
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Admin, agridata.ch.Agridata_Datenanbieter, agridata.ch.Agridata_Einwilliger, agridata.ch.Agridata_Support)
Path parameters
Query parameters
Selects the role in which the authenticated user acts for this request. Optional: if the authenticated user holds exactly one of the allowed roles, the value is auto-resolved. Returns 400 if the value is unknown, not allowed for this endpoint, or omitted while the user holds multiple matching roles. Returns 403 if the user does not hold the role specified in the parameter.
Response
OK
Example response
{
"dataSourceSystemCode": "AGIS",
"dataSourceSystem": {
"code": "AGIS",
"dataProvider": {
"code": "BLW",
"uid": "CHE123456789"
}
},
"restClient": {
"code": "AGIS_API",
"displayName": "Agis",
"url": "http://example.com/agis"
},
"deprecatedSince": "2022-03-10T12:15:50",
"restClientChangeDetectionPathTemplate": "v1/animal-updates/{{uid}}?since={{LAST_CHANGED_SINCE}}",
"consentRequired": true,
"paymentRequired": true
}Changes
- warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status - info
the security scope
agridata.ch.Agridata_Einwilligerwas added to the endpoint's security schemeSecurityScheme - info
the security scope
agridata.ch.Agridata_Supportwas added to the endpoint's security schemeSecurityScheme - info
added the new enum value
PRODUCERto thequeryrequest parameteractingRole - info
added the new enum value
SUPPORTto thequeryrequest parameteractingRole
- warning
- warning
added the new
UID_CLAIM_MISSINGenum value to theresponse property for the response status - warning
added the new
UID_CLAIM_MISSINGenum value to theresponse property for the response status
- warning