|
9 | 9 | ```shell |
10 | 10 | # Example request using curl |
11 | 11 | curl -X POST http://coder-server:8080/api/v2/organizations/{organization}/members/{user}/workspaces \ |
12 | | - -H 'Accept: application/json' \ |
13 | | - -H 'Coder-Session-Token: API_KEY' |
| 12 | + -H 'Accept: application/json' \ |
| 13 | + -H 'Coder-Session-Token: API_KEY' |
14 | 14 | ``` |
15 | 15 |
|
16 | 16 | `POST /organizations/{organization}/members/{user}/workspaces` |
@@ -172,8 +172,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
172 | 172 | ```shell |
173 | 173 | # Example request using curl |
174 | 174 | curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacename} \ |
175 | | - -H 'Accept: application/json' \ |
176 | | - -H 'Coder-Session-Token: API_KEY' |
| 175 | + -H 'Accept: application/json' \ |
| 176 | + -H 'Coder-Session-Token: API_KEY' |
177 | 177 | ``` |
178 | 178 |
|
179 | 179 | `GET /users/{user}/workspace/{workspacename}` |
@@ -336,8 +336,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
336 | 336 | ```shell |
337 | 337 | # Example request using curl |
338 | 338 | curl -X GET http://coder-server:8080/api/v2/workspaces \ |
339 | | - -H 'Accept: application/json' \ |
340 | | - -H 'Coder-Session-Token: API_KEY' |
| 339 | + -H 'Accept: application/json' \ |
| 340 | + -H 'Coder-Session-Token: API_KEY' |
341 | 341 | ``` |
342 | 342 |
|
343 | 343 | `GET /workspaces` |
@@ -521,8 +521,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
521 | 521 | ```shell |
522 | 522 | # Example request using curl |
523 | 523 | curl -X GET http://coder-server:8080/api/v2/workspaces/{id} \ |
524 | | - -H 'Accept: application/json' \ |
525 | | - -H 'Coder-Session-Token: API_KEY' |
| 524 | + -H 'Accept: application/json' \ |
| 525 | + -H 'Coder-Session-Token: API_KEY' |
526 | 526 | ``` |
527 | 527 |
|
528 | 528 | `GET /workspaces/{id}` |
@@ -684,8 +684,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
684 | 684 | ```shell |
685 | 685 | # Example request using curl |
686 | 686 | curl -X PATCH http://coder-server:8080/api/v2/workspaces/{workspace} \ |
687 | | - -H 'Content-Type: application/json' \ |
688 | | - -H 'Coder-Session-Token: API_KEY' |
| 687 | + -H 'Content-Type: application/json' \ |
| 688 | + -H 'Coder-Session-Token: API_KEY' |
689 | 689 | ``` |
690 | 690 |
|
691 | 691 | `PATCH /workspaces/{workspace}` |
@@ -720,8 +720,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
720 | 720 | ```shell |
721 | 721 | # Example request using curl |
722 | 722 | curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/autostart \ |
723 | | - -H 'Content-Type: application/json' \ |
724 | | - -H 'Coder-Session-Token: API_KEY' |
| 723 | + -H 'Content-Type: application/json' \ |
| 724 | + -H 'Coder-Session-Token: API_KEY' |
725 | 725 | ``` |
726 | 726 |
|
727 | 727 | `PUT /workspaces/{workspace}/autostart` |
@@ -756,9 +756,9 @@ To perform this operation, you must be authenticated by means of one of the foll |
756 | 756 | ```shell |
757 | 757 | # Example request using curl |
758 | 758 | curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/extend \ |
759 | | - -H 'Content-Type: application/json' \ |
760 | | - -H 'Accept: application/json' \ |
761 | | - -H 'Coder-Session-Token: API_KEY' |
| 759 | + -H 'Content-Type: application/json' \ |
| 760 | + -H 'Accept: application/json' \ |
| 761 | + -H 'Coder-Session-Token: API_KEY' |
762 | 762 | ``` |
763 | 763 |
|
764 | 764 | `PUT /workspaces/{workspace}/extend` |
@@ -810,8 +810,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
810 | 810 | ```shell |
811 | 811 | # Example request using curl |
812 | 812 | curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/ttl \ |
813 | | - -H 'Content-Type: application/json' \ |
814 | | - -H 'Coder-Session-Token: API_KEY' |
| 813 | + -H 'Content-Type: application/json' \ |
| 814 | + -H 'Coder-Session-Token: API_KEY' |
815 | 815 | ``` |
816 | 816 |
|
817 | 817 | `PUT /workspaces/{workspace}/ttl` |
@@ -846,8 +846,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
846 | 846 | ```shell |
847 | 847 | # Example request using curl |
848 | 848 | curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace}/watch \ |
849 | | - -H 'Accept: text/event-stream' \ |
850 | | - -H 'Coder-Session-Token: API_KEY' |
| 849 | + -H 'Accept: text/event-stream' \ |
| 850 | + -H 'Coder-Session-Token: API_KEY' |
851 | 851 | ``` |
852 | 852 |
|
853 | 853 | `GET /workspaces/{workspace}/watch` |
|
0 commit comments