|
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` |
@@ -169,8 +169,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
169 | 169 | ```shell |
170 | 170 | # Example request using curl |
171 | 171 | curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacename} \ |
172 | | - -H 'Accept: application/json' \ |
173 | | - -H 'Coder-Session-Token: API_KEY' |
| 172 | + -H 'Accept: application/json' \ |
| 173 | + -H 'Coder-Session-Token: API_KEY' |
174 | 174 | ``` |
175 | 175 |
|
176 | 176 | `GET /users/{user}/workspace/{workspacename}` |
@@ -330,8 +330,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
330 | 330 | ```shell |
331 | 331 | # Example request using curl |
332 | 332 | curl -X GET http://coder-server:8080/api/v2/workspaces \ |
333 | | - -H 'Accept: application/json' \ |
334 | | - -H 'Coder-Session-Token: API_KEY' |
| 333 | + -H 'Accept: application/json' \ |
| 334 | + -H 'Coder-Session-Token: API_KEY' |
335 | 335 | ``` |
336 | 336 |
|
337 | 337 | `GET /workspaces` |
@@ -512,8 +512,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
512 | 512 | ```shell |
513 | 513 | # Example request using curl |
514 | 514 | curl -X GET http://coder-server:8080/api/v2/workspaces/{id} \ |
515 | | - -H 'Accept: application/json' \ |
516 | | - -H 'Coder-Session-Token: API_KEY' |
| 515 | + -H 'Accept: application/json' \ |
| 516 | + -H 'Coder-Session-Token: API_KEY' |
517 | 517 | ``` |
518 | 518 |
|
519 | 519 | `GET /workspaces/{id}` |
@@ -672,8 +672,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
672 | 672 | ```shell |
673 | 673 | # Example request using curl |
674 | 674 | curl -X PATCH http://coder-server:8080/api/v2/workspaces/{workspace} \ |
675 | | - -H 'Content-Type: application/json' \ |
676 | | - -H 'Coder-Session-Token: API_KEY' |
| 675 | + -H 'Content-Type: application/json' \ |
| 676 | + -H 'Coder-Session-Token: API_KEY' |
677 | 677 | ``` |
678 | 678 |
|
679 | 679 | `PATCH /workspaces/{workspace}` |
@@ -708,8 +708,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
708 | 708 | ```shell |
709 | 709 | # Example request using curl |
710 | 710 | curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/autostart \ |
711 | | - -H 'Content-Type: application/json' \ |
712 | | - -H 'Coder-Session-Token: API_KEY' |
| 711 | + -H 'Content-Type: application/json' \ |
| 712 | + -H 'Coder-Session-Token: API_KEY' |
713 | 713 | ``` |
714 | 714 |
|
715 | 715 | `PUT /workspaces/{workspace}/autostart` |
@@ -744,9 +744,9 @@ To perform this operation, you must be authenticated by means of one of the foll |
744 | 744 | ```shell |
745 | 745 | # Example request using curl |
746 | 746 | curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/extend \ |
747 | | - -H 'Content-Type: application/json' \ |
748 | | - -H 'Accept: application/json' \ |
749 | | - -H 'Coder-Session-Token: API_KEY' |
| 747 | + -H 'Content-Type: application/json' \ |
| 748 | + -H 'Accept: application/json' \ |
| 749 | + -H 'Coder-Session-Token: API_KEY' |
750 | 750 | ``` |
751 | 751 |
|
752 | 752 | `PUT /workspaces/{workspace}/extend` |
@@ -798,8 +798,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
798 | 798 | ```shell |
799 | 799 | # Example request using curl |
800 | 800 | curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/ttl \ |
801 | | - -H 'Content-Type: application/json' \ |
802 | | - -H 'Coder-Session-Token: API_KEY' |
| 801 | + -H 'Content-Type: application/json' \ |
| 802 | + -H 'Coder-Session-Token: API_KEY' |
803 | 803 | ``` |
804 | 804 |
|
805 | 805 | `PUT /workspaces/{workspace}/ttl` |
@@ -834,8 +834,8 @@ To perform this operation, you must be authenticated by means of one of the foll |
834 | 834 | ```shell |
835 | 835 | # Example request using curl |
836 | 836 | curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace}/watch \ |
837 | | - -H 'Accept: text/event-stream' \ |
838 | | - -H 'Coder-Session-Token: API_KEY' |
| 837 | + -H 'Accept: text/event-stream' \ |
| 838 | + -H 'Coder-Session-Token: API_KEY' |
839 | 839 | ``` |
840 | 840 |
|
841 | 841 | `GET /workspaces/{workspace}/watch` |
|
0 commit comments