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

Skip to content

Commit 54c3fc6

Browse files
authored
fix: docuemnt workspace filter query param correctly (coder#10894)
1 parent 20525c8 commit 54c3fc6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

coderd/apidoc/docs.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/workspaces.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (api *API) workspace(rw http.ResponseWriter, r *http.Request) {
117117
// @Security CoderSessionToken
118118
// @Produce json
119119
// @Tags Workspaces
120-
// @Param q query string false "Search query in the format `key:value`. Available keys are: owner, template, name, status, has-agent, deleting_by."
120+
// @Param q query string false "Search query in the format `key:value`. Available keys are: owner, template, name, status, has-agent, is-dormant, last_used_after, last_used_before."
121121
// @Param limit query int false "Page limit"
122122
// @Param offset query int false "Page offset"
123123
// @Success 200 {object} codersdk.WorkspacesResponse

docs/api/workspaces.md

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)