mirror of
https://github.com/go-gitea/gitea
synced 2024-12-26 10:34:36 +01:00
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>
This commit is contained in:
parent
178861952e
commit
a67b2bc30b
1 changed files with 7 additions and 2 deletions
|
@ -70,9 +70,9 @@ the `token=` string in a GET request.
|
||||||
|
|
||||||
## API Guide:
|
## 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`
|
`https://gitea.your.host/api/swagger`
|
||||||
or on
|
or on
|
||||||
[gitea demo instance](https://try.gitea.io/api/swagger)
|
[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
|
## 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.
|
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)
|
||||||
|
|
Loading…
Reference in a new issue