Class NoopApiContentQueryService
Inheritance
object
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public sealed class NoopApiContentQueryService : IApiContentQueryService
Methods
View SourceExecuteQuery(string?, IEnumerable<string>, IEnumerable<string>, ProtectedAccess, int, int)
Returns an attempt with a collection of item ids that passed the search criteria as a paged model.
Declaration
public Attempt<PagedModel<Guid>, ApiContentQueryOperationStatus> ExecuteQuery(string? fetch, IEnumerable<string> filters, IEnumerable<string> sorts, ProtectedAccess protectedAccess, int skip, int take)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fetch | Optional fetch query parameter value. |
| IEnumerable<string> | filters | Optional filter query parameters values. |
| IEnumerable<string> | sorts | Optional sort query parameters values. |
| ProtectedAccess | protectedAccess | Defines the limitations for querying protected content. |
| int | skip | The amount of items to skip. |
| int | take | The amount of items to take. |
Returns
| Type | Description |
|---|---|
| Attempt<PagedModel<Guid>, ApiContentQueryOperationStatus> | A paged model of item ids that are returned after applying the search queries in an attempt. |