gitea/routers/api/v1
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
..
admin Fixes #7023 - API Org Visibility (#7028) 2019-05-30 13:57:55 -04:00
convert Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00
misc Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
org Fixes #7023 - API Org Visibility (#7028) 2019-05-30 13:57:55 -04:00
repo Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00
swagger Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00
user Change drone token name to let users know to use oauth2 (#6912) 2019-05-12 13:29:07 -04:00
utils Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953) 2019-05-15 20:01:53 +08:00
api.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00