Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello All,
Hello, I am currently working on a project where I need to retrieve complete test points data from Azure DevOps. I have written a function with testplanid and test suited as parameters below.
When I pass the continuationToken parameter, nothing is being retrieved. Please help me with this.
Thanks in advance,
Sri
Hi @Srikanth7Gunnam ,
According to this article, generally, REST API will have paginated response and ADO REST API normally have limits of 100 / 200 (depending which API) per page in each response. The way to retrieve next page information is to refer the response header x-ms-continuationtoken and use this for next request parameter as continuationToken.
May refer to Example With continuation token
GET https://dev.azure.com/fabrikam/fabrikam-fiber-tfvc/_apis/test/configurations?$skip=10&$top=15&continuationToken=14;12&api-version=5.0-preview.2
Similar threads:
https://developercommunity.visualstudio.com/t/devops-rest-api-continuationtoken/677467
https://community.powerbi.com/t5/Desktop/Help-with-List-Generate-in-making-API-calls/m-p/789773
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
Thank you so much for your response.
Do you know how to generate this x-ms-continuationtoken parameter in Power Query?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |