File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ const docTemplate = `{
228
228
},
229
229
{
230
230
"type": "string",
231
- "description": "Include deleted",
231
+ "description": "Return data instead of HTTP 404 if the workspace is deleted",
232
232
"name": "include_deleted",
233
233
"in": "query"
234
234
}
Original file line number Diff line number Diff line change 220
220
},
221
221
{
222
222
"type" : " string" ,
223
- "description" : " Include deleted" ,
223
+ "description" : " Return data instead of HTTP 404 if the workspace is deleted" ,
224
224
"name" : " include_deleted" ,
225
225
"in" : " query"
226
226
}
Original file line number Diff line number Diff line change 49
49
// @Produce json
50
50
// @Tags Workspaces
51
51
// @Param id path string true "Workspace ID" format(uuid)
52
- // @Param include_deleted query string false "Include deleted"
52
+ // @Param include_deleted query string false "Return data instead of HTTP 404 if the workspace is deleted"
53
53
// @Success 200 {object} codersdk.Workspace
54
54
// @Failure 400 {object} codersdk.Response
55
55
// @Failure 404 {object} codersdk.Response
Original file line number Diff line number Diff line change @@ -187,10 +187,10 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{id} \
187
187
188
188
### Parameters
189
189
190
- | Name | In | Type | Required | Description |
191
- | --------------- | ----- | ------------ | -------- | --------------- |
192
- | id | path | string(uuid) | true | Workspace ID |
193
- | include_deleted | query | string | false | Include deleted |
190
+ | Name | In | Type | Required | Description |
191
+ | --------------- | ----- | ------------ | -------- | ----------------------------------------------------------- |
192
+ | id | path | string(uuid) | true | Workspace ID |
193
+ | include_deleted | query | string | false | Return data instead of HTTP 404 if the workspace is deleted |
194
194
195
195
### Example responses
196
196
You can’t perform that action at this time.
0 commit comments