Queries
Every root field of the FrontStage API, with its arguments and return type
Every query starts at one or more of these root fields. The API has no mutations.
blog
Returns Blog.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
blogs
Returns BlogConnection.
| Argument | Type | Description |
|---|---|---|
filter | ContentFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
sort | String |
categories
Returns [Category!].
customObject
Returns CustomObject.
| Argument | Type | Description |
|---|---|---|
id | ID! | The record ID. |
customObjectDefinitions
Returns [CustomObjectDefinition!].
customObjects
Records of one custom object type, by handle.
Returns CustomObjectConnection.
| Argument | Type | Description |
|---|---|---|
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
search | String | |
sort | String | |
type | String! |
event
Returns Event.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
eventInstance
Returns EventInstance.
| Argument | Type | Description |
|---|---|---|
id | ID! | The record ID. |
eventInstances
Returns EventInstanceConnection.
| Argument | Type | Description |
|---|---|---|
eventId | ID | |
from | String | ISO date-time. Performances that start on or after it. |
limit | Int | Default 100, maximum 500. |
page | Int | Page number. Starts at 1. |
seasonId | ID | |
seriesId | ID | |
showPast | Boolean | |
tenant | String | |
to | String | ISO date-time. Performances that start before it. |
venueId | ID |
events
Returns EventConnection.
| Argument | Type | Description |
|---|---|---|
companyId | ID | |
ids | [ID!] | |
limit | Int | Default 20, maximum 100. |
page | Int | Page number. Starts at 1. |
seasonId | ID | |
seriesId | ID | |
sort | String | |
startsAfter | String | ISO date-time. Events that end on or after it. |
startsBefore | String | ISO date-time. Events that start before it. |
tenant | String | |
venueId | ID |
form
Returns Form.
| Argument | Type | Description |
|---|---|---|
id | ID! | The record ID. |
forms
Every form on the site.
Returns [Form!].
media
Returns Media.
| Argument | Type | Description |
|---|---|---|
id | ID! | The record ID. |
navigation
Pages in menu order, top level first, with child pages nested.
Returns [NavigationItem!].
| Argument | Type | Description |
|---|---|---|
includeHidden | Boolean | Include pages the editor hid from navigation. |
organization
Returns Organization.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
organizations
Returns OrganizationConnection.
| Argument | Type | Description |
|---|---|---|
filter | ContentFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
sort | String |
page
Returns Page.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
path | String | Site-relative path without a language prefix. |
slug | String | The record slug. |
pages
Returns PageConnection.
| Argument | Type | Description |
|---|---|---|
filter | ContentFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
sort | String |
people
Returns PersonConnection.
| Argument | Type | Description |
|---|---|---|
filter | ContentFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
sort | String |
person
Returns Person.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
post
Returns Post.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
posts
Returns PostConnection.
| Argument | Type | Description |
|---|---|---|
filter | ContentFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
sort | String |
redirects
Returns RedirectConnection.
| Argument | Type | Description |
|---|---|---|
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
reusableSection
Returns ReusableSection.
| Argument | Type | Description |
|---|---|---|
id | ID! | The record ID. |
route
Resolve a site-relative URL to a record, a redirect, or the 404 page. Pass the path with its language prefix and set locale on the request to that language.
Returns RouteResult.
| Argument | Type | Description |
|---|---|---|
path | String! |
routes
Every public URL of the site in the requested language. Use it to generate static pages and sitemaps.
Returns RouteConnection.
| Argument | Type | Description |
|---|---|---|
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
types | [ContentType!] |
search
Returns SearchResults.
| Argument | Type | Description |
|---|---|---|
filter | SearchFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
query | String! | |
types | [String!] | Limit to these search collection types, for example events or pages. |
season
Returns Season.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
seasons
Returns SeasonConnection.
| Argument | Type | Description |
|---|---|---|
filter | ContentFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
sort | String |
seriesItem
Returns Series.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
seriesList
Returns SeriesConnection.
| Argument | Type | Description |
|---|---|---|
filter | ContentFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
sort | String |
site
Returns Site.
smartCollection
Returns SmartCollection.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
smartCollections
Returns SmartCollectionConnection.
| Argument | Type | Description |
|---|---|---|
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
tags
Returns [Tag!].
venue
Returns Venue.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
venues
Returns VenueConnection.
| Argument | Type | Description |
|---|---|---|
filter | ContentFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
sort | String |
work
Returns Work.
| Argument | Type | Description |
|---|---|---|
id | ID | The record ID. |
slug | String | The record slug. |
works
Returns WorkConnection.
| Argument | Type | Description |
|---|---|---|
filter | ContentFilter | |
limit | Int | Records per page. See Pagination and filtering for the default and the maximum. |
page | Int | Page number. Starts at 1. |
sort | String |