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

Function GetScopeList

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

GetScopeList get Jenkins jobs @Summary get Jenkins jobs @Description get Jenkins jobs @Tags plugins/jenkins @Param connectionId path int false "connection ID" @Param searchTerm query string false "search term for scope name" @Param pageSize query int false "page size, default 50" @Param page query i

(input *plugin.ApiResourceInput)

Source from the content-addressed store, hash-verified

75// @Failure 500 {object} shared.ApiBody "Internal Error"
76// @Router /plugins/jenkins/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