0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 10:24:11 -05:00
forgejo/routers/api/v1/swagger
Bo-Yi Wu b62c8e7765
feat(API): update and delete secret for managing organization secrets (#26660)
- Add `UpdateSecret` function to modify org or user repo secret
- Add `DeleteSecret` function to delete secret from an organization
- Add `UpdateSecretOption` struct for updating secret options
- Add `UpdateOrgSecret` function to update a secret in an organization
- Add `DeleteOrgSecret` function to delete a secret in an organization

GitHub API

1. Update Org Secret:
https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#create-or-update-an-organization-secret
2. Delete Org Secret:
https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#delete-an-organization-secret

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-08-24 02:07:00 +00:00
..
action.go feat: implement organization secret creation API (#26566) 2023-08-22 11:20:34 +08:00
activity.go Add activity feeds API (#23494) 2023-04-04 21:35:31 +08:00
activitypub.go
app.go
cron.go
issue.go
key.go
misc.go Add API for Label templates (#24602) 2023-05-23 18:10:23 +08:00
nodeinfo.go
notify.go
options.go feat(API): update and delete secret for managing organization secrets (#26660) 2023-08-24 02:07:00 +00:00
org.go
package.go
repo.go API endpoint for changing/creating/deleting multiple files (#24887) 2023-05-29 17:41:35 +08:00
settings.go
user.go