1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/api/v1/org
Bo-Yi Wu b91057b172
feat(API): add route and implementation for creating/updating repository secret (#26766)
spec:
https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#create-or-update-a-repository-secret

- Add a new route for creating or updating a secret value in a
repository
- Create a new file `routers/api/v1/repo/action.go` with the
implementation of the `CreateOrUpdateSecret` function
- Update the Swagger documentation for the `updateRepoSecret` operation
in the `v1_json.tmpl` template file

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-29 20:54:49 +00:00
..
action.go feat(API): add route and implementation for creating/updating repository secret (#26766) 2023-08-29 20:54:49 +00:00
avatar.go Add API for changing Avatars (#25369) 2023-06-29 23:22:55 +00:00
hook.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
label.go Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
member.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
org.go Allow Organisations to have a E-Mail (#25082) 2023-07-25 08:26:27 +00:00
team.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00