Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
tlamont
Partner - Contributor II
Partner - Contributor II

Getting List of Data Files in a space.

Hoping to get a little insights for the community.  We are utilizing an API call to get a list of the data files within a space: 

https://<Tenant>/api/v1/data-files?connectionId=<SPACEID>

This works in providing the list, but some files are missing.  There doesn't seem to be anything different about the files that are missing.  They are QVD's that are created in the same app as some other QVD's that are showing up in the list.  They are not significantly larger.  There is no real difference between some of the files that show up and some of the files that don't show up.  Has anyone else seen this or has anyone used a better method for getting a list of data file within a space?  Any insights would be appreciated.  

Labels (2)
1 Reply
Marc
Employee
Employee

The Data-Files API has a Query Parameter for "limit" that defaults to 20 records, above this you need to page through the results.

Based on the api example you provided you may need to consider increasing the limit value or add paging to your API Calls.

"limit" allows a maximum of 1000 per page, so if you have more than 1000 QVDs in the space you will need to handle paging anyway.

https://<Tenant>/api/v1/data-files?connectionId=<SPACEID>&limit=1000