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