Closed mmarchetti closed 5 days ago
This PR adds a new entrypoint query parameter to the GET /api/configurations and GET /api/deployments endpoints. Only configurations with a matching entrypoint (or deployments whose configuration has a matching entrypoint) will be returned.
entrypoint
Part of #1847
Added unit tests specific to the new parameter.
Test with curl:
$(just executable-path) ui -vv --listen=localhost:9001 & curl -s 'localhost:9001/api/configurations?dir=test/sample-content/rmd-static-1&entrypoint=static.Rmd'|jq curl -s 'localhost:9001/api/configurations?dir=test/sample-content/rmd-static-1&entrypoint=index.htm'|jq
Intent
This PR adds a new
entrypoint
query parameter to the GET /api/configurations and GET /api/deployments endpoints. Only configurations with a matchingentrypoint
(or deployments whose configuration has a matchingentrypoint
) will be returned.Part of #1847
Type of Change
Automated Tests
Added unit tests specific to the new parameter.
Directions for Reviewers
Test with curl: