posit-dev / publisher

MIT License
6 stars 1 forks source link

Add POST configuration secrets endpoint #2312

Closed dotNomad closed 2 months ago

dotNomad commented 2 months ago

This PR adds a new API endpoint POST /api/configurations/$NAME/secrets that:

Intent

Part of #2305

Type of Change

Directions for Reviewers

Test out the new endpoint:

http POST :9001/api/configurations/fastapi-simple-QSPH/secrets action=add secret=new http POST :9001/api/configurations/fastapi-simple-QSPH/secrets action=remove secret=new http POST :9001/api/configurations/fastapi-simple-QSPH/secrets action=remove secret=new dir==fastapi-simple http POST :9001/api/configurations/fastapi-simple-QSPH/secrets action=add secret=new dir==fastapi-simple