Get Data Products Paginated
Changed onRetrieves a paginated list of all available data products. Accessible to users with the producer, and admin. Supports pagination, sorting and column filtering on 'dataSourceSystemId' and 'dataProviderId', e.g. filter=dataProviderId:<uuid>,<uuid>;dataSourceSystemId:<uuid>.
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)
Query parameters
Column filters in the form '<column>:<value>[,<value>]', multiple filters separated by ';'. Values of the same column are combined with OR, filters on different columns with AND. Duplicate values are ignored. The filterable columns are documented per endpoint.
language code for multilingual fields. Must be supported by application.
page number
string to search for in the resource
page size
List of field names to sort by. Default is ascending prefix with - for descending
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
{
"items": [
{
"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
}
],
"totalItems": 42,
"totalPages": 5,
"currentPage": 1,
"pageSize": 10
}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
- 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