Skip to main content

pages

List pages for a Storefront with optional filters.

Requires the publicpage/read scope.

pages(
after: String
author: StringFilterInput
before: String
first: Int
last: Int
numberOfTermAggregations: PageNumberOfTermAggregationsInput
pageType: StringFilterInput
query: String
slugs: [String]
sortOrder: [PageSortInput]
tagPrefixes: [StringFilterInput]
tags: [StringFilterInput]
): PublicPageConnectionWithSearch!

Arguments

pages.after ● String scalar

Returns the elements in the list that come after the specified cursor.

pages.author ● StringFilterInput input

Filter Pages using author

pages.before ● String scalar

Returns the elements in the list that come before the specified cursor.

pages.first ● Int scalar

Returns the first n elements from the list.

pages.last ● Int scalar

Returns the last n elements from the list.

pages.numberOfTermAggregations ● PageNumberOfTermAggregationsInput input

The number of results to return for each term aggregation. Defaults to 0 for each.

pages.pageType ● StringFilterInput input

Filter Pages using pageType

pages.query ● String scalar

Query pages for certain terms. Searches several fields, including page.author, page.description, page.subtitle, page.title, pageTags, and the actual content of the page.

pages.slugs ● [String] list scalar

Filter Pages using slugs

pages.sortOrder ● [PageSortInput] list input

Sort Pages by a series of fields and directions.

pages.tagPrefixes ● [StringFilterInput] list input

Filter Pages using Tag Prefixes (starts with).

pages.tags ● [StringFilterInput] list input

Filter Pages using Tags.

Type

PublicPageConnectionWithSearch object

Paginate through PublicPages