GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes?$top={$top} should only return {$top} amount of entry.
e.g GET https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229/refreshes?$top=1 (from official documentation) I should expect only one entry in the response.
Current behaviour:
For me, changing the {$top} parameter makes no changes to the response. No matter what {$top} is, I always get the same amount of entries in my response.
How to replicate:
Use the above API call on any datasets with multiple refresh entries, and see the parameter {$top} makes no changes to the response.
Side note:
It's not a big issue as I can chop up the response myself, however, this might still be a bug in the API.
Expected behaviour:
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes?$top={$top}
should only return {$top} amount of entry. e.gGET https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229/refreshes?$top=1
(from official documentation) I should expect only one entry in the response.Current behaviour:
For me, changing the
{$top}
parameter makes no changes to the response. No matter what {$top} is, I always get the same amount of entries in my response.How to replicate:
Use the above API call on any datasets with multiple refresh entries, and see the parameter
{$top}
makes no changes to the response.Side note:
It's not a big issue as I can chop up the response myself, however, this might still be a bug in the API.