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)
| 41 | // @Failure 500 {object} shared.ApiBody "Internal Error" |
| 42 | // @Router /plugins/bitbucket_server/connections/{connectionId}/scopes [PUT] |
| 43 | func 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 |
nothing calls this directly
no test coverage detected