MCPcopy Create free account
hub / github.com/apache/devlake / PutScopes

Function PutScopes

backend/plugins/pagerduty/api/scope_api.go:41–43  ·  view source on GitHub ↗

PutScopes create or update pagerduty service @Summary create or update pagerduty service @Description Create or update pagerduty service @Tags plugins/pagerduty @Accept application/json @Param connectionId path int true "connection ID" @Param scope body ScopeReq true "json" @Success 200 {object} []

(input *plugin.ApiResourceInput)

Source from the content-addressed store, hash-verified

39// @Failure 500 {object} shared.ApiBody "Internal Error"
40// @Router /plugins/pagerduty/connections/{connectionId}/scopes [PUT]
41func PutScopes(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
42 return dsHelper.ScopeApi.PutMultiple(input)
43}
44
45// PatchScope patch to pagerduty service
46// @Summary patch to pagerduty service

Callers

nothing calls this directly

Calls 1

PutMultipleMethod · 0.80

Tested by

no test coverage detected