Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support recursive API requests #1850

Open
dotNomad opened this issue Jun 18, 2024 · 0 comments
Open

Support recursive API requests #1850

dotNomad opened this issue Jun 18, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@dotNomad
Copy link
Collaborator

dotNomad commented Jun 18, 2024

To support features in the VSCode extension we need a few APIs to support listing all resources, not just the ones in the "workspace root".

To accomplish this the proposal is to have a ?recursive=boolean optional query param which defaults to false. When true the endpoint will response with all of the resources found in the root and nested folders.

The APIs that need to support the recursive query param:

  • GET /api/deployments
  • POST /api/inspect

The recursive query param should fail when used in tandem with the entrypoint query param mentioned in #1847.


Part of the #1849 epic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants