Data Products
Get Data Products Paginated
Retrieves a paginated list of all available data products. Accessible to users with the producer, and admin. Supports pagination.
get/api/products/v2
Query parameters
languagestring
language code for multilingual fields. Must be supported by application.
pageinteger
page number
searchTermstring
string to search for in the resource
sizeinteger
page size
sortByobject
List of field names to sort by. Default is ascending prefix with - for descending
actingRole'PROVIDER' | 'ADMIN'
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}}"
}
],
"totalItems": 42,
"totalPages": 5,
"currentPage": 1,
"pageSize": 10
}