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

Lines changed: 82 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 78 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/workspaceagents.go

Lines changed: 9 additions & 1 deletion
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

Lines changed: 49 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/api/schemas.md

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/src/api/typesGenerated.ts

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy