GetScopeList get repos @Summary get repos @Description get repos @Tags plugins/bitbucket_server @Param connectionId path int true "connection ID" @Param searchTerm query string false "search term for scope name" @Param pageSize query int false "page size, default 50" @Param page query int false "pag
(input *plugin.ApiResourceInput)
| 75 | // @Failure 500 {object} shared.ApiBody "Internal Error" |
| 76 | // @Router /plugins/bitbucket_server/connections/{connectionId}/scopes/ [GET] |
| 77 | func GetScopeList(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) { |
| 78 | return dsHelper.ScopeApi.GetPage(input) |
| 79 | } |
| 80 | |
| 81 | func GetScopeDispatcher(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) { |
| 82 | scopeIdWithSuffix := strings.TrimLeft(input.Params["scopeId"], "/") |