mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
feat(coderd): add support for sending batched agent metadata (#10223)
Part of #9782
This commit is contained in:
committed by
GitHub
parent
1b1ab97c24
commit
7eeba15d16
@ -821,7 +821,8 @@ func New(options *Options) *API {
|
||||
r.Get("/coordinate", api.workspaceAgentCoordinate)
|
||||
r.Post("/report-stats", api.workspaceAgentReportStats)
|
||||
r.Post("/report-lifecycle", api.workspaceAgentReportLifecycle)
|
||||
r.Post("/metadata/{key}", api.workspaceAgentPostMetadata)
|
||||
r.Post("/metadata", api.workspaceAgentPostMetadata)
|
||||
r.Post("/metadata/{key}", api.workspaceAgentPostMetadataDeprecated)
|
||||
})
|
||||
r.Route("/{workspaceagent}", func(r chi.Router) {
|
||||
r.Use(
|
||||
|
Reference in New Issue
Block a user