Skip to content

Commit 9c3823d

Browse files
committed
chore: deprecate agent report-stats endpoint
Agent API is now used instead.
1 parent 7c0fac9 commit 9c3823d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

coderd/apidoc/docs.go

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

coderd/apidoc/swagger.json

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

coderd/workspaceagents.go

+1
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,7 @@ func convertScripts(dbScripts []database.WorkspaceAgentScript) []codersdk.Worksp
11321132
// @Param request body agentsdk.Stats true "Stats request"
11331133
// @Success 200 {object} agentsdk.StatsResponse
11341134
// @Router /workspaceagents/me/report-stats [post]
1135+
// @Deprecated Uses agent API v1 endpoint instead.
11351136
func (api *API) workspaceAgentReportStats(rw http.ResponseWriter, r *http.Request) {
11361137
ctx := r.Context()
11371138

0 commit comments

Comments
 (0)