mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: support signed token query param for web terminal (#7197)
* chore: add endpoint to get token for web terminal * chore: support signed token query param for web terminal
This commit is contained in:
@@ -0,0 +1 @@
|
||||
# Applications Enterprise
|
||||
@@ -2655,6 +2655,36 @@ CreateParameterRequest is a structure used to create a new parameter value for a
|
||||
| `threshold` | integer | false | | Threshold specifies the number of consecutive failed health checks before returning "unhealthy". |
|
||||
| `url` | string | false | | URL specifies the endpoint to check for the app health. |
|
||||
|
||||
## codersdk.IssueReconnectingPTYSignedTokenRequest
|
||||
|
||||
```json
|
||||
{
|
||||
"agentID": "bc282582-04f9-45ce-b904-3e3bfab66958",
|
||||
"url": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
| --------- | ------ | -------- | ------------ | ---------------------------------------------------------------------- |
|
||||
| `agentID` | string | true | | |
|
||||
| `url` | string | true | | URL is the URL of the reconnecting-pty endpoint you are connecting to. |
|
||||
|
||||
## codersdk.IssueReconnectingPTYSignedTokenResponse
|
||||
|
||||
```json
|
||||
{
|
||||
"signed_token": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
| -------------- | ------ | -------- | ------------ | ----------- |
|
||||
| `signed_token` | string | false | | |
|
||||
|
||||
## codersdk.JobErrorCode
|
||||
|
||||
```json
|
||||
|
||||
@@ -406,6 +406,10 @@
|
||||
"title": "Applications",
|
||||
"path": "./api/applications.md"
|
||||
},
|
||||
{
|
||||
"title": "Applications Enterprise",
|
||||
"path": "./api/applications enterprise.md"
|
||||
},
|
||||
{
|
||||
"title": "Audit",
|
||||
"path": "./api/audit.md"
|
||||
|
||||
Reference in New Issue
Block a user