Hi Team,
I have recently started having issues with the
https://api.basespace.illumina.com/v1pre3/users/current/runs not returning all runs being queried.
Historically, the following call would return the latest 100 runs through which we would iterate.
curl --location --request GET 'https://api.basespace.illumina.com/v1pre3/users/current/runs?Limit=100&SortBy=DateCreated&SortDir=Desc' --header 'x-access-token: REDACTED'Currently, this call is only returning a subset - and not always the latest runs. If I generate a new access token, I do get access to a different set of runs ... but not always the latest run. The same behavior happens when I use the "BaseSpace Ruby SDK" which internally uses the same V1 BaseSpace API (our system uses this Ruby SDK, which is listed on the Illumina Developer Documentation homepage, but Illumina Tech Support indicates it is not supported by Illumina).
We have moved from using a shared login and password (bad practice) to using individual user logins and sharing runs through a workgroup. My problems started about the same time, and I don't know if it has anything to do with the workgroup or not, but the v1 API does not indicate any need for this, and the permissions are global. I generate an access key once per user and I save it in the database and reuse it on their behalf.
Has anyone else experienced this and have any guidance? Does anyone know of any changes on the BaseSpace side that may be impacting this or if the use of WorkGroups causes any issues?
I appreciate any help or suggestions.
Thanks!
- dak