We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent61ef026 commit0796e9cCopy full SHA for 0796e9c
coderd/provisionerkeys.go
@@ -13,7 +13,13 @@ import (
13
// Returns tags from a provisioner key.
14
// The purpose of this function is to return the provisioner tags
15
// associated with the provisioner key using the ID.
16
-// GET /provisionerkeys/{provisionerkeyid}/tags
+// @Summary Get provisioner key tags by ID
17
+// @ID get-provisioner-key-tags-by-id
18
+// @Produce json
19
+// @Tags Provisioner-Keys
20
+// @Param provisionerkeyid path string true "Provisioner Key ID" format(uuid)
21
+// @Success 200 {object} codersdk.ProvisionerKeyTags
22
+// @Router /provisionerkeys/{provisionerkeyid}/tags [get]
23
func (api*API)getProvisionKeyTags(rw http.ResponseWriter,r*http.Request) {
24
var (
25
ctx=r.Context()