Closed mmarchetti closed 16 hours ago
This PR adds the dir parameter to the configuration-specific Files API.
dir
Same as the other APIs (#1860, #1873).
Added unit tests.
Run the agent in a parent directory (one or more levels up from your deployable projects). Access the Files API from subdirectories:
$publisher ui -vv --listen=localhost:9001 & curl localhost:9001/api/configuration/$NAME/files?dir=test/sample-content/quarto-proj-py | jq curl localhost:9001/api/configuration/$NAME/files?dir=test/sample-content/quarto-proj-none | jq
Intent
This PR adds the
dir
parameter to the configuration-specific Files API.Type of Change
Approach
Same as the other APIs (#1860, #1873).
Automated Tests
Added unit tests.
Directions for Reviewers
Run the agent in a parent directory (one or more levels up from your deployable projects). Access the Files API from subdirectories: