Skip to content
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
@aulneau

Description

@aulneau

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions