summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/advanced
diff options
context:
space:
mode:
authorpseudocoder <borisovano@users.noreply.github.com>2019-10-10 15:42:01 +0300
committertechknowlogick <techknowlogick@gitea.io>2019-10-10 08:42:01 -0400
commiteac5a8be751341b388cf16c5a43aeb2f83c8ed2c (patch)
treec999b393492f3db7a1be573b47b161d6a875f392 /docs/content/doc/advanced
parent1fe81bc22edbb5c82dd2b1518fb9337c1bd503bb (diff)
downloadgitea-eac5a8be751341b388cf16c5a43aeb2f83c8ed2c.tar.gz
gitea-eac5a8be751341b388cf16c5a43aeb2f83c8ed2c.zip
DOCS: add mention of swagger api reference (#8452)
It's(swagger api link) mentioned vaguely in the FAQ but IMHO missing from API usage page.
Diffstat (limited to 'docs/content/doc/advanced')
-rw-r--r--docs/content/doc/advanced/api-usage.en-us.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/api-usage.en-us.md b/docs/content/doc/advanced/api-usage.en-us.md
index 8e0b43ec24..624d639545 100644
--- a/docs/content/doc/advanced/api-usage.en-us.md
+++ b/docs/content/doc/advanced/api-usage.en-us.md
@@ -68,6 +68,14 @@ curl -X POST "http://localhost:4000/api/v1/repos/test1/test1/issues" \
As mentioned above, the token used is the same one you would use in
the `token=` string in a GET request.
+## API Guide:
+
+API Reference guide is auto-generated by swagger and available on:
+ `https://gitea.your.host/api/swagger`
+ or on
+ [gitea demo instance](https://try.gitea.io/api/swagger)
+
+
## Listing your issued tokens via the API
As mentioned in