forgejo/routers/api/v1/user
Bo-Yi Wu f79f6a26ae
feat(API): add routes and functions for managing user's secrets (#26909)
- Add routes for creating or updating a user's actions secrets in
`routers/api/v1/api.go`
- Add a new file `routers/api/v1/user/action.go` with functions for
creating or updating a user's secrets and deleting a user's secret
- Modify the `templates/swagger/v1_json.tmpl` file to include the routes
for creating or updating a user's secrets and deleting a user's secret

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2023-09-05 14:02:50 +00:00
..
action.go feat(API): add routes and functions for managing user's secrets (#26909) 2023-09-05 14:02:50 +00:00
app.go
avatar.go
email.go
follower.go
gpg_key.go
helper.go
hook.go
key.go Remove db.DefaultContext in routers/ and cmd/ (#26076) 2023-07-23 23:47:27 -04:00
repo.go
settings.go
star.go
user.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
watch.go