gitea/routers/api/v1
zeripath 00533d3870 Keys API changes (#4960)
* Add private information to the deploy keys api

This commit adds more information to the deploy keys to allow for back
reference in to the main keys list. It also adds information about the
repository that the key is referring to.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add private information to the user keys API

This adjusts the keys API to give out private information to user keys if
the current user is the owner or an admin.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add ability to search keys by fingerprint

This commit adds the functionality to search ssh-keys by fingerprint of
the ssh-key. Deploy keys per repository can also be searched. There is
no current clear API point to allow search of all deploy keys by
fingerprint or keyID.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add integration test
2018-10-31 23:40:49 -04:00
..
admin Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
convert Keys API changes (#4960) 2018-10-31 23:40:49 -04:00
misc Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
org Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
repo Keys API changes (#4960) 2018-10-31 23:40:49 -04:00
swagger User action heatmap (#5131) 2018-10-23 10:57:42 +08:00
user Keys API changes (#4960) 2018-10-31 23:40:49 -04:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
api.go User action heatmap (#5131) 2018-10-23 10:57:42 +08:00