This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
Improve list-files endpoint #424
Open
Description
I'm working on some improve Gaia related SDKs for micro-stacks, and the list files endpoint currently is very basic -- every time you call it you need to manually re-fetch if there are many pages of data.
I was thinking at a high level that it'd be great to do a few things:
- change the response to
{results: string[], offset: number; limit: number; total: number}
- allow passing these query params:
- prefix: return files that start with this prefix
- limit: adjust the limit of results
- offset: currently
page
is this param
I think with these changes, it's possible for this endpoint to be vastly improved.
Metadata
Metadata
Assignees
Labels
No labels