gitea/routers/api/v1
6543 e483220ea3
[Refactor] CombinedStatus and CommitStatus related functions & structs (#14026)
* RM unused struct

* rename (*CommitStatus) loadRepo() -> loadAttributes()

* move ToCommitStatus into its own file

* use CommitStatusState instead of StatusState

* move CombinedStatus convertion into convert package

* let models.GetLatestCommitStatus use repoID direct and accept ListOptions

* update swagger docs

* fix tests

* Fix swagger docs

* rm page

* fix swagger docs!!!

* return json null

* always return json

* rename api.Status to api.CommitStatus

* fix swagger docs

* sec swagger fix
2020-12-18 11:33:32 +08:00
..
admin Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
misc Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
notify move notification APIFormat (#13783) 2020-12-02 09:24:35 +00:00
org HotFix: Hide private partisipation in Orgs (#13994) 2020-12-17 00:39:12 +01:00
repo [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
settings Expose default theme in meta and API (#13809) 2020-12-03 13:53:21 +01:00
swagger [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
user Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
utils HotFix: Hide private partisipation in Orgs (#13994) 2020-12-17 00:39:12 +01:00
api.go [API] Only Return Json (#13511) 2020-11-14 11:13:55 -05:00