Hey Power BI Community,
I've got a small question I need clarified. The official Power BI REST API documentation does not mention anywhere on how to handle pagination from requests to the Power BI REST API.
For example, if I'm querying a list of all of the workspaces in my Power BI tenant, and there are 100+ of them, the documentation does not mention how to handle pagination anywhere.
Am I correct in assuming that, given my example, all 100+ workspaces would be returned in my API request? In other words, pagination does not exist in the Power BI REST API?
Any clarification would be greatly appreciated.
Thank you!
Solved! Go to Solution.
This documentation
Groups - Get Groups - REST API (Power BI Power BI REST APIs) | Microsoft Docs
explicitly mentions pagination. $skip = offset, $top =limit
GET https://api.powerbi.com/v1.0/myorg/groups?$filter={$filter}&$top={$top}&$skip={$skip}
This documentation
Groups - Get Groups - REST API (Power BI Power BI REST APIs) | Microsoft Docs
explicitly mentions pagination. $skip = offset, $top =limit
GET https://api.powerbi.com/v1.0/myorg/groups?$filter={$filter}&$top={$top}&$skip={$skip}