Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d38b26c

Browse files
committed
Fix: authentication.def
1 parent fb2e7c3 commit d38b26c

10 files changed

+43
-43
lines changed

docs/api/agents.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ curl -X POST http://coder-server:8080/api/v2/workspaceagents/aws-instance-identi
4747
| ------ | ------------------------------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------- |
4848
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspaceAgentAuthenticateResponse](schemas.md#codersdkworkspaceagentauthenticateresponse) |
4949

50-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
50+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
5151

5252
## Authenticate agent on Azure instance
5353

@@ -94,7 +94,7 @@ curl -X POST http://coder-server:8080/api/v2/workspaceagents/azure-instance-iden
9494
| ------ | ------------------------------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------- |
9595
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspaceAgentAuthenticateResponse](schemas.md#codersdkworkspaceagentauthenticateresponse) |
9696

97-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
97+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
9898

9999
## Authenticate agent on Google Cloud instance
100100

@@ -140,7 +140,7 @@ curl -X POST http://coder-server:8080/api/v2/workspaceagents/google-instance-ide
140140
| ------ | ------------------------------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------- |
141141
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspaceAgentAuthenticateResponse](schemas.md#codersdkworkspaceagentauthenticateresponse) |
142142

143-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
143+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
144144

145145
## Submit workspace application health
146146

@@ -178,7 +178,7 @@ curl -X POST http://coder-server:8080/api/v2/workspaceagents/me/app-health \
178178
| ------ | ------------------------------------------------------- | ----------- | ------ |
179179
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | |
180180

181-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
181+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
182182

183183
## Coordinate workspace agent via Tailnet
184184

@@ -201,7 +201,7 @@ incoming connections and publishes node updates.
201201
| ------ | ------------------------------------------------------------------------ | ------------------- | ------ |
202202
| 101 | [Switching Protocols](https://tools.ietf.org/html/rfc7231#section-6.2.2) | Switching Protocols | |
203203

204-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
204+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
205205

206206
## Get workspace agent Git auth
207207

@@ -241,7 +241,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaceagents/me/gitauth?url=http%
241241
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------ |
242242
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspaceAgentGitAuthResponse](schemas.md#codersdkworkspaceagentgitauthresponse) |
243243

244-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
244+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
245245

246246
## Get workspace agent Git SSH key
247247

@@ -273,7 +273,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaceagents/me/gitsshkey \
273273
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------------------ |
274274
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.AgentGitSSHKey](schemas.md#codersdkagentgitsshkey) |
275275

276-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
276+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
277277

278278
## Get authorized workspace agent metadata
279279

@@ -382,7 +382,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaceagents/me/metadata \
382382
| ------ | ------------------------------------------------------- | ----------- | ---------------------------------------------------------------------------- |
383383
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspaceAgentMetadata](schemas.md#codersdkworkspaceagentmetadata) |
384384

385-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
385+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
386386

387387
## Submit workspace agent stats
388388

@@ -436,4 +436,4 @@ curl -X POST http://coder-server:8080/api/v2/workspaceagents/me/report-stats \
436436
| ------ | ------------------------------------------------------- | ----------- | -------------------------------------------------------------------- |
437437
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.AgentStatsResponse](schemas.md#codersdkagentstatsresponse) |
438438

439-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
439+
To perform this operation, you must be authenticated. [Learn more](authentication.md)

docs/api/applications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ curl -X GET http://coder-server:8080/api/v2/applications/auth-redirect \
2626
| ------ | ----------------------------------------------------------------------- | ------------------ | ------ |
2727
| 307 | [Temporary Redirect](https://tools.ietf.org/html/rfc7231#section-6.4.7) | Temporary Redirect | |
2828

29-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
29+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
3030

3131
## Get applications host
3232

@@ -57,4 +57,4 @@ curl -X GET http://coder-server:8080/api/v2/applications/host \
5757
| ------ | ------------------------------------------------------- | ----------- | -------------------------------------------------------------------- |
5858
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.GetAppHostResponse](schemas.md#codersdkgetapphostresponse) |
5959

60-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
60+
To perform this operation, you must be authenticated. [Learn more](authentication.md)

docs/api/audit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ curl -X GET http://coder-server:8080/api/v2/audit?q=string \
8888
| ------ | ------------------------------------------------------- | ----------- | ---------------------------------------------------------------- |
8989
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.AuditLogResponse](schemas.md#codersdkauditlogresponse) |
9090

91-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
91+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
9292

9393
## Generate fake audit log
9494

@@ -126,4 +126,4 @@ curl -X POST http://coder-server:8080/api/v2/audit/testgenerate \
126126
| ------ | --------------------------------------------------------------- | ----------- | ------ |
127127
| 204 | [No Content](https://tools.ietf.org/html/rfc7231#section-6.3.5) | No Content | |
128128

129-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
129+
To perform this operation, you must be authenticated. [Learn more](authentication.md)

docs/api/authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ curl -X POST http://coder-server:8080/api/v2/authcheck \
6666
| ------ | ------------------------------------------------------- | ----------- | -------------------------------------------------------------------------- |
6767
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.AuthorizationResponse](schemas.md#codersdkauthorizationresponse) |
6868

69-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
69+
To perform this operation, you must be authenticated. [Learn more](authentication.md)

docs/api/builds.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild} \
142142
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------------------ |
143143
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspaceBuild](schemas.md#codersdkworkspacebuild) |
144144

145-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
145+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
146146

147147
## Cancel workspace build
148148

@@ -186,7 +186,7 @@ curl -X PATCH http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild}/c
186186
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------ |
187187
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Response](schemas.md#codersdkresponse) |
188188

189-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
189+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
190190

191191
## Get workspace build logs
192192

@@ -257,7 +257,7 @@ Status Code **200**
257257
| `log_level` | `warn` |
258258
| `log_level` | `error` |
259259

260-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
260+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
261261

262262
## Get workspace resources for workspace build
263263

@@ -440,7 +440,7 @@ Status Code **200**
440440
| `workspace_transition` | `stop` |
441441
| `workspace_transition` | `delete` |
442442

443-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
443+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
444444

445445
## Get provisioner state for workspace build
446446

@@ -582,7 +582,7 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild}/sta
582582
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------------------ |
583583
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspaceBuild](schemas.md#codersdkworkspacebuild) |
584584

585-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
585+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
586586

587587
## Get workspace builds by workspace ID
588588

@@ -857,7 +857,7 @@ Status Code **200**
857857
| `transition` | `stop` |
858858
| `transition` | `delete` |
859859

860-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
860+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
861861

862862
## Create workspace build
863863

@@ -1022,4 +1022,4 @@ curl -X POST http://coder-server:8080/api/v2/workspaces/{id}/builds \
10221022
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------------------ |
10231023
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspaceBuild](schemas.md#codersdkworkspacebuild) |
10241024

1025-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
1025+
To perform this operation, you must be authenticated. [Learn more](authentication.md)

docs/api/files.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ file: string
4646
| ------ | ------------------------------------------------------------ | ----------- | ------------------------------------------------------------ |
4747
| 201 | [Created](https://tools.ietf.org/html/rfc7231#section-6.3.2) | Created | [codersdk.UploadResponse](schemas.md#codersdkuploadresponse) |
4848

49-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
49+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
5050

5151
## Get file by ID
5252

@@ -72,4 +72,4 @@ curl -X GET http://coder-server:8080/api/v2/files/{fileID} \
7272
| ------ | ------------------------------------------------------- | ----------- | ------ |
7373
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | |
7474

75-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
75+
To perform this operation, you must be authenticated. [Learn more](authentication.md)

docs/api/general.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ curl -X GET http://coder-server:8080/api/v2/config/deployment \
923923
| ------ | ------------------------------------------------------- | ----------- | ---------------------------------------------------------------- |
924924
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.DeploymentConfig](schemas.md#codersdkdeploymentconfig) |
925925

926-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
926+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
927927

928928
## Report CSP violations
929929

@@ -958,7 +958,7 @@ curl -X POST http://coder-server:8080/api/v2/csp/reports \
958958
| ------ | ------------------------------------------------------- | ----------- | ------ |
959959
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | |
960960

961-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
961+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
962962

963963
## Update check
964964

docs/api/parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Status Code **200**
8484
| `source_scheme` | `none` |
8585
| `source_scheme` | `data` |
8686

87-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
87+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
8888

8989
## Create parameter
9090

@@ -151,7 +151,7 @@ curl -X POST http://coder-server:8080/api/v2/parameters/{scope}/{id} \
151151
| ------ | ------------------------------------------------------------ | ----------- | -------------------------------------------------- |
152152
| 201 | [Created](https://tools.ietf.org/html/rfc7231#section-6.3.2) | Created | [codersdk.Parameter](schemas.md#codersdkparameter) |
153153

154-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
154+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
155155

156156
## Delete parameter
157157

@@ -205,4 +205,4 @@ curl -X DELETE http://coder-server:8080/api/v2/parameters/{scope}/{id}/{name} \
205205
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------ |
206206
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Response](schemas.md#codersdkresponse) |
207207

208-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
208+
To perform this operation, you must be authenticated. [Learn more](authentication.md)

docs/api/templates.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ curl -X POST http://coder-server:8080/api/v2/organizations/{organization-id}/tem
8787
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------ |
8888
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Template](schemas.md#codersdktemplate) |
8989

90-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
90+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
9191

9292
## Get templates by organization
9393

@@ -179,7 +179,7 @@ Status Code **200**
179179
| `» updated_at` | string(date-time) | false | | |
180180
| `» workspace_owner_count` | integer | false | | |
181181

182-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
182+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
183183

184184
## Get templates by organization and template name
185185

@@ -242,7 +242,7 @@ curl -X GET http://coder-server:8080/api/v2/organizations/{organization}/templat
242242
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------ |
243243
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Template](schemas.md#codersdktemplate) |
244244

245-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
245+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
246246

247247
## Get template metadata by ID
248248

@@ -304,7 +304,7 @@ curl -X GET http://coder-server:8080/api/v2/templates/{id} \
304304
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------ |
305305
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Template](schemas.md#codersdktemplate) |
306306

307-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
307+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
308308

309309
## Delete template by ID
310310

@@ -348,7 +348,7 @@ curl -X DELETE http://coder-server:8080/api/v2/templates/{id} \
348348
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------ |
349349
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Response](schemas.md#codersdkresponse) |
350350

351-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
351+
To perform this operation, you must be authenticated. [Learn more](authentication.md)
352352

353353
## Update template metadata by ID
354354

@@ -410,4 +410,4 @@ curl -X PATCH http://coder-server:8080/api/v2/templates/{id} \
410410
| ------ | ------------------------------------------------------- | ----------- | ------------------------------------------------ |
411411
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Template](schemas.md#codersdktemplate) |
412412

413-
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
413+
To perform this operation, you must be authenticated. [Learn more](authentication.md)

0 commit comments

Comments
 (0)