@Summary Get template DAUs by ID @ID get-template-daus-by-id @Security CoderSessionToken @Produce json @Tags Templates @Param template path string true "Template ID" format(uuid) @Success 200 {object} codersdk.DAUsResponse @Router /api/v2/templates/{template}/daus [get]
(rw http.ResponseWriter, r *http.Request)
| 902 | // @Success 200 {object} codersdk.DAUsResponse |
| 903 | // @Router /api/v2/templates/{template}/daus [get] |
| 904 | func (api *API) templateDAUs(rw http.ResponseWriter, r *http.Request) { |
| 905 | template := httpmw.TemplateParam(r) |
| 906 | |
| 907 | api.returnDAUsInternal(rw, r, []uuid.UUID{template.ID}) |
| 908 | } |
| 909 | |
| 910 | // @Summary Get template examples by organization |
| 911 | // @ID get-template-examples-by-organization |
nothing calls this directly
no test coverage detected