Closed dotNomad closed 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?
Am I missing it?
Nope, I missed it. See https://github.com/posit-dev/publisher/pull/1919
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:
?dir=path
The APIs that need adjustments:
GET /api/configurations
/api/configurations/$name
API endpoints since non-root named Configurations will need a path alongside to be identified/api/packages
API endpoints since configurations or file creation needs to know the non-root directoryPOST and DEL /api/deployments/$name
API endpoints need a path for non-root deployments and configurationsNote
The
entrypoint
query parameter mentioned in #1847 will not work alongside thedir
query param.Part of the #1849 epic