2026-08-11 11:22:55 -04:00
|
|
|
---
|
|
|
|
|
# Code generated by make gen. DO NOT EDIT.
|
|
|
|
|
title: Applications
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
2022-12-21 15:37:30 +01:00
|
|
|
|
|
|
|
|
## Redirect to URI with encrypted API key
|
|
|
|
|
|
|
|
|
|
### Code samples
|
|
|
|
|
|
2026-07-15 14:07:09 -04:00
|
|
|
```sh
|
2022-12-21 15:37:30 +01:00
|
|
|
# Example request using curl
|
|
|
|
|
curl -X GET http://coder-server:8080/api/v2/applications/auth-redirect \
|
|
|
|
|
-H 'Coder-Session-Token: API_KEY'
|
|
|
|
|
```
|
|
|
|
|
|
2026-05-05 02:54:03 +05:00
|
|
|
`GET /api/v2/applications/auth-redirect`
|
2022-12-21 15:37:30 +01:00
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|
|
2022-12-22 15:53:14 +01:00
|
|
|
| Name | In | Type | Required | Description |
|
2025-01-03 18:12:59 +05:00
|
|
|
|----------------|-------|--------|----------|----------------------|
|
2022-12-22 15:53:14 +01:00
|
|
|
| `redirect_uri` | query | string | false | Redirect destination |
|
2022-12-21 15:37:30 +01:00
|
|
|
|
|
|
|
|
### Responses
|
|
|
|
|
|
|
|
|
|
| Status | Meaning | Description | Schema |
|
2025-01-03 18:12:59 +05:00
|
|
|
|--------|-------------------------------------------------------------------------|--------------------|--------|
|
2022-12-21 15:37:30 +01:00
|
|
|
| 307 | [Temporary Redirect](https://tools.ietf.org/html/rfc7231#section-6.4.7) | Temporary Redirect | |
|
|
|
|
|
|
2023-01-05 15:27:10 +01:00
|
|
|
To perform this operation, you must be authenticated. [Learn more](authentication.md).
|
2022-12-21 15:37:30 +01:00
|
|
|
|
|
|
|
|
## Get applications host
|
|
|
|
|
|
|
|
|
|
### Code samples
|
|
|
|
|
|
2026-07-15 14:07:09 -04:00
|
|
|
```sh
|
2022-12-21 15:37:30 +01:00
|
|
|
# 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'
|
|
|
|
|
```
|
|
|
|
|
|
2026-05-05 02:54:03 +05:00
|
|
|
`GET /api/v2/applications/host`
|
2022-12-21 15:37:30 +01:00
|
|
|
|
|
|
|
|
### Example responses
|
|
|
|
|
|
|
|
|
|
> 200 Response
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
{
|
2025-01-03 18:12:59 +05:00
|
|
|
"host": "string"
|
2022-12-21 15:37:30 +01:00
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Responses
|
|
|
|
|
|
2023-01-29 15:47:24 -06:00
|
|
|
| Status | Meaning | Description | Schema |
|
2025-01-03 18:12:59 +05:00
|
|
|
|--------|---------------------------------------------------------|-------------|----------------------------------------------------------------|
|
2023-01-29 15:47:24 -06:00
|
|
|
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.AppHostResponse](schemas.md#codersdkapphostresponse) |
|
2022-12-21 15:37:30 +01:00
|
|
|
|
2023-01-05 15:27:10 +01:00
|
|
|
To perform this operation, you must be authenticated. [Learn more](authentication.md).
|