forgejo/routers/api/v1/repo
Richard Mahn 8de0b0a3f0 Fixes #2738 - Adds the /git/tags API endpoint (#7138)
* Fixes #2738 - /git/tags API

* proper URLs

* Adds function comments

* Updates swagger

* Removes newline from tag message

* Removes trailing newline from commit message

* Adds integration test

* Removed debugging

* Adds tests

* Fixes bug where multiple tags of same commit show wrong tag name

* Fix formatting

* Removes unused varaible

* Fix to annotated tag function names and response

* Update modules/git/repo_tag.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* Uses TagPrefix

* Changes per review, better error handling for getting tag and commit IDs

* Fix to getting commit ID

* Fix to getting commit ID

* Fix to getting commit ID

* Fix to getting commit ID
2019-06-08 17:31:11 +03:00
..
blob.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
branch.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
collaborators.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
commits.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
file.go Fixes #7023 - API Org Visibility (#7028) 2019-05-30 13:57:55 -04:00
fork.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
git_hook.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
git_ref.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00
hook.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
issue.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
issue_comment.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
issue_label.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
issue_tracked_time.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
key.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
label.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go Add state param to milestone listing API (#7131) 2019-06-06 08:37:45 +08:00
pull.go Compare branches, commits and tags with each other (#6991) 2019-06-07 16:29:29 -04:00
release.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
release_attachment.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
repo.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
star.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
status.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
subscriber.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
tag.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00
tree.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00