forgejo/routers/api/v1/admin
Gusted 6ed9057fd7
[GITEA] Fix API inconsistencies
- Document the correct content types for Git archives. Add code that
actually sets the correct application type for `.zip` and `.tar.gz`.
- When an action (POST/PUT/DELETE method) was successful, an 204 status
code should be returned instead of status code 200.
- Add and adjust integration testing.
- Resolves #2180
- Resolves #2181

(cherry picked from commit 6c8c4512b5)
(cherry picked from commit 3f74bcb14d)
2024-01-28 11:05:33 +01:00
..
adopt.go Move createrepository from module to service layer (#26927) 2023-09-06 12:08:51 +00:00
cron.go
email.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
hooks.go
org.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
repo.go
runners.go Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 2023-12-27 07:57:54 +00:00
user.go [GITEA] Fix API inconsistencies 2024-01-28 11:05:33 +01:00