mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
2bbeff53f9
* docs: Applications * WIP * WIP * WIP * Fix: consume * Fix: @Description * Fix * Fix: s/none//g * Fix: godoc nice * Fix: description * Fix: It * Fix: code sample trim empty line * More fixes * Fix: br
1.9 KiB
1.9 KiB
Applications
This page is incomplete, stay tuned.
Redirect to URI with encrypted API key
Code samples
# Example request using curl
curl -X GET http://coder-server:8080/api/v2/applications/auth-redirect \
-H 'Coder-Session-Token: API_KEY'
GET /applications/auth-redirect
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| redirect_uri | query | string | false | Redirect destination |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 307 | Temporary Redirect | Temporary Redirect |
To perform this operation, you must be authenticated by means of one of the following methods: CoderSessionToken.
Get applications host
Code samples
# Example request using curl
curl -X GET http://coder-server:8080/api/v2/applications/host \
-H 'Accept: application/json' \
-H 'Coder-Session-Token: API_KEY'
GET /applications/host
Example responses
200 Response
{
"host": "string"
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | OK | codersdk.GetAppHostResponse |
To perform this operation, you must be authenticated by means of one of the following methods: CoderSessionToken.