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

Function PutScope

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

PutScope create or update opsgenie service @Summary create or update opsgenie service @Description Create or update opsgenie service @Tags plugins/opsgenie @Accept application/json @Param connectionId path int true "connection ID" @Param scope body PutScopesReqBody 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/opsgenie/connections/{connectionId}/scopes [PUT]
41func PutScope(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
42 return dsHelper.ScopeApi.PutMultiple(input)
43}
44
45// UpdateScope patch to opsgenie service
46// @Summary patch to opsgenie service

Callers

nothing calls this directly

Calls 1

PutMultipleMethod · 0.80

Tested by

no test coverage detected