This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/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
misc
notify
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