mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat(coderd): add experimental tasks send endpoint (#19941)
Fixes coder/internal#902
This commit is contained in:
committed by
GitHub
parent
615585d5d1
commit
5317d309d0
@@ -1012,6 +1012,7 @@ func New(options *Options) *API {
|
||||
r.Use(httpmw.ExtractOrganizationMembersParam(options.Database, api.HTTPAuth.Authorize))
|
||||
r.Get("/{id}", api.taskGet)
|
||||
r.Delete("/{id}", api.taskDelete)
|
||||
r.Post("/{id}/send", api.taskSend)
|
||||
r.Post("/", api.tasksCreate)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user