forgejo/routers/api/v1
zeripath c1ca4a8313
Improve /api/v1/repos/issues/search by just getting repo ids (#15179)
/api/v1/repos/issues/search is a highly inefficient search which is unfortunately
the basis for our dependency searching algorithm. In particular it currently loads
all of the repositories and their owners and their primary coding language all of
which is immediately thrown away.

This PR makes one simple change - just get the IDs.

Related #14560
Related #12827

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-03-29 18:12:21 +01:00
..
admin [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
misc
notify
org [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
repo Improve /api/v1/repos/issues/search by just getting repo ids (#15179) 2021-03-29 18:12:21 +01:00
settings
swagger
user [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
utils Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
api.go Prevent incorrect HTML escaping in swagger.json (#14957) 2021-03-11 23:43:04 -05:00