diff options
author | M4RKUS-11111 <73301416+M4RKUS-11111@users.noreply.github.com> | 2020-10-22 19:04:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 13:04:23 -0400 |
commit | a67b2bc30b047f2daa150e10abc7b52dae66b1b2 (patch) | |
tree | 87e49dfd46a429bae7c3e5edd5debedeeb021aca /docs | |
parent | 178861952ea95794d6cae4f6ee0f9cf8c5ac234a (diff) | |
download | gitea-a67b2bc30b047f2daa150e10abc7b52dae66b1b2.tar.gz gitea-a67b2bc30b047f2daa150e10abc7b52dae66b1b2.zip |
add sdk links to docs (#13266)
* add sdk links to docs
* Update docs/content/doc/advanced/api-usage.en-us.md
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Markus <git+markus@obermui.de>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/advanced/api-usage.en-us.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/content/doc/advanced/api-usage.en-us.md b/docs/content/doc/advanced/api-usage.en-us.md index 624d639545..81ebc42eea 100644 --- a/docs/content/doc/advanced/api-usage.en-us.md +++ b/docs/content/doc/advanced/api-usage.en-us.md @@ -70,9 +70,9 @@ the `token=` string in a GET request. ## API Guide: -API Reference guide is auto-generated by swagger and available on: +API Reference guide is auto-generated by swagger and available on: `https://gitea.your.host/api/swagger` - or on + or on [gitea demo instance](https://try.gitea.io/api/swagger) @@ -99,3 +99,8 @@ $ curl -H "X-Gitea-OTP: 123456" --request GET --url https://yourusername:yourpas ## Sudo The API allows admin users to sudo API requests as another user. Simply add either a `sudo=` parameter or `Sudo:` request header with the username of the user to sudo. + +## SDKs + +* [Official go-sdk](https://gitea.com/gitea/go-sdk) +* [more](https://gitea.com/gitea/awesome-gitea#user-content-sdk) |