posit-dev / publisher

MIT License
3 stars 0 forks source link

Support specifying a path for API requests #1851

Closed dotNomad closed 2 days ago

dotNomad commented 2 weeks ago

Several APIs need to be able to specify a path to support nested folder deploying flows in the VSCode extension.

The proposed solution is to have:

The APIs that need adjustments:

Note

The entrypoint query parameter mentioned in #1847 will not work alongside the dir query param.


Part of the #1849 epic

dotNomad commented 2 days ago

@mmarchetti I'm taking a look and I'm not seeing support for dir in the /api/packages/python/scan or /api/packages/r/scan endpoints. Am I missing it?

mmarchetti commented 2 days ago

Am I missing it?

Nope, I missed it. See https://github.com/posit-dev/publisher/pull/1919