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 Add scopes to API to create token and display them (#22989) 2023-02-20 15:28:44 -06:00
avatar.go Add API for changing Avatars (#25369) 2023-06-29 23:22:55 +00:00
email.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
follower.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
gpg_key.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
helper.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
hook.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
key.go Remove db.DefaultContext in routers/ and cmd/ (#26076) 2023-07-23 23:47:27 -04:00
repo.go Fix Permission in API returned repository struct (#25388) 2023-06-22 13:08:08 +00:00
settings.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
star.go Fix Permission in API returned repository struct (#25388) 2023-06-22 13:08:08 +00:00
user.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
watch.go Fix Permission in API returned repository struct (#25388) 2023-06-22 13:08:08 +00:00