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

Skip to content

Commit a65369a

Browse files
committed
[ci skip] make gen
1 parent 798f1a3 commit a65369a

File tree

6 files changed

+269
-2
lines changed

6 files changed

+269
-2
lines changed

coderd/apidoc/docs.go

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

coderd/apidoc/swagger.json

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

coderd/workspaceagents.go

+9-1
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,15 @@ func (api *API) workspaceAgentListeningPorts(rw http.ResponseWriter, r *http.Req
679679
httpapi.Write(ctx, rw, http.StatusOK, portsResponse)
680680
}
681681

682-
// TODO: swagger summary
682+
// @Summary Get running containers for workspace agent
683+
// @ID get-running-containers-for-workspace-agent
684+
// @Security CoderSessionToken
685+
// @Produce json
686+
// @Tags Agents
687+
// @Param workspaceagent path string true "Workspace agent ID" format(uuid)
688+
// @Param label query string true "Labels" format(key=value)
689+
// @Success 200 {object} codersdk.WorkspaceAgentListContainersResponse
690+
// @Router /workspaceagents/{workspaceagent}/containers [get]
683691
func (api *API) workspaceAgentListContainers(rw http.ResponseWriter, r *http.Request) {
684692
ctx := r.Context()
685693
workspaceAgent := httpmw.WorkspaceAgentParam(r)

docs/reference/api/agents.md

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

docs/reference/api/schemas.md

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

site/src/api/typesGenerated.ts

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

0 commit comments

Comments
 (0)