Why an appsession API call may only returning a subset of datasets from BaseSpace
Last updated
Last updated
© 2023 Illumina, Inc. All rights reserved. All trademarks are the property of Illumina, Inc. or their respective owners. Trademark information: illumina.com/company/legal.html. Privacy policy: illumina.com/company/legal/privacy.html
BaseSpace API to calls can be used to gather additional metadata regarding appsession datasets that may not be found via the BaseSpace Command Line Interface (CLI) tool.
One option is to use the following:
https://api.basespace.illumina.com/v2/appsessions//properties/Output.datasets/items
where is replaced with the appropriate appsession number.
The resulting call will only provide a list of 50 datasets because the hard-limit is set to 50. Below is the end of the resulting API call.
In the above example, the Total Count is 472 datasets.
A workaround to extend the limit to include all 472 results is to modify the call as follows.
https://api.basespace.illumina.com/v2/appsessions//properties/Output.datasets/items**?limit=500**
where is replaced with the appropriate appsession number and ?limit=500 is appended to end.
This change will result in the end of the call to report as follows.
For any feedback or questions regarding this article (Illumina Knowledge Article #7567), contact Illumina Technical Support techsupport@illumina.com.