You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1/repo
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
6 years ago
..
branch.go Fixes repo branch endpoint summary (#4893) 6 years ago
collaborators.go An inactive user shouldn't be able to be added as a collaborator (#4535) 7 years ago
file.go Fix swagger errors (#4220) 7 years ago
fork.go refactor: import order. (#3736) 7 years ago
hook.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
hook_test.go API endpoint for testing webhook (#3550) 7 years ago
issue.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
issue_comment.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
issue_label.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
issue_tracked_time.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
key.go Keys API changes (#4960) 6 years ago
label.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
main_test.go API endpoint for testing webhook (#3550) 7 years ago
milestone.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
pull.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
release.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
release_attachment.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
repo.go Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
star.go refactor: import order. (#3736) 7 years ago
status.go refactor: import order. (#3736) 7 years ago
subscriber.go refactor: import order. (#3736) 7 years ago