Computation
Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
Returns paged list of elements (values) of given label satisfying given filtering criteria.
post/api/v1/actions/workspaces/{workspaceId}/execution/collectLabelElements
Request
- Base URLhttps://www.gooddata.ai
- Authnone declared
Path parameters
workspaceIdstring required
Workspace identifier
Query parameters
offsetinteger
Request page with this offset. Must be positive integer. The API is limited to the maximum of 10000 items. Therefore this parameter is limited to this number as well.
limitinteger
Return only this number of items. Must be positive integer. The API is limited to the maximum of 10000 items. Therefore this parameter is limited to this number as well.
Headers
skip-cacheboolean
Ignore all caches during execution of current request.
Request body
Example request
{
"dependsOn": [
{
"dateFilter": {
"absoluteGranularityDateFilter": {
"dataset": {
"identifier": {
"id": "sample_item.price"
}
},
"from": "2012-05",
"granularity": "MONTH",
"to": "2012-08"
}
}
}
],
"label": "label_id",
"timezone": "Europe/Prague"
}Response
List of label values.
Example response
{
"paging": {
"count": 5,
"next": "https://sample.gooddata.ai/api/v1/actions/workspaces/sampleWorkspace/execution/collectLabelElements?label=sample.price&limit=5&offset=10",
"offset": 10,
"total": 100
},
"primaryLabel": {
"id": "sample_item.price",
"type": "fact"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.