Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
oysteing
New Member

Paginated rest api, tricky end conditions

Hi,
I'm trying to pull data from a rest api, the api is paginated with two urls, one to itself (meaning the page I've just recieved), and one to the next page. So far so good, I can input the link to the next page and get more data. But eventually I reach the last page, and I'd expect the link to the next page to be empty, but no. To identify that it's the last page the rule is (from the documentation): "The current last page on a list allowing incremental update, is identified by the nextPage and self being the same value"

Anybody know how to create a rule for that end condition i data factory? As far as I can tell, I can't compare two json values to each other in the EndCondition part for a Rest source...

Any input is appreciated
Thanks

3 REPLIES 3
oysteing
New Member

Hi,

the question is about a pipeline in Azure Data Factory, I'm unable to set any stop condition that works for the api in the copy data step

Hi @oysteing 

 

Apologies for the inconvenience, this community is specifically for discussions and questions related to Microsoft Fabric. For queries related to Azure Data Factory (ADF), we recommend using the dedicated Microsoft Q&A forum where they are ready to assist you better. Here's the link to post your query in Microsoft Q&A : Ask a question - Microsoft Q&A.

 

Thanks.

v-cboorla-msft
Community Support
Community Support

Hi @oysteing 

 

Thanks for using Microsoft Fabric Community.

Could you please clarify whether this pertains to a pipeline within Azure Data Factory (ADF) or a pipeline within Microsoft Fabric?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.