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

Function GetScopeList

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

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)

Source from the content-addressed store, hash-verified

75// @Failure 500 {object} shared.ApiBody "Internal Error"
76// @Router /plugins/bitbucket_server/connections/{connectionId}/scopes/ [GET]
77func GetScopeList(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
78 return dsHelper.ScopeApi.GetPage(input)
79}
80
81func GetScopeDispatcher(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
82 scopeIdWithSuffix := strings.TrimLeft(input.Params["scopeId"], "/")

Callers

nothing calls this directly

Calls 1

GetPageMethod · 0.45

Tested by

no test coverage detected