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

Function PutScope

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

PutScope create or update repo @Summary create or update repo @Description Create or update repo @Tags plugins/bitbucket_server @Accept application/json @Param connectionId path int true "connection ID" @Param scope body PutScopesReqBody true "json" @Success 200 {object} []models.BitbucketServerRep

(input *plugin.ApiResourceInput)

Source from the content-addressed store, hash-verified

41// @Failure 500 {object} shared.ApiBody "Internal Error"
42// @Router /plugins/bitbucket_server/connections/{connectionId}/scopes [PUT]
43func PutScope(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
44 return dsHelper.ScopeApi.PutMultiple(input)
45}
46
47// UpdateScope patch to repo
48// @Summary patch to repo

Callers

nothing calls this directly

Calls 1

PutMultipleMethod · 0.80

Tested by

no test coverage detected