Basker Docs

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.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

blogs

Returns BlogConnection.

ArgumentTypeDescription
filterContentFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
sortString

categories

Returns [Category!].

customObject

Returns CustomObject.

ArgumentTypeDescription
idID!The record ID.

customObjectDefinitions

Returns [CustomObjectDefinition!].

customObjects

Records of one custom object type, by handle.

Returns CustomObjectConnection.

ArgumentTypeDescription
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
searchString
sortString
typeString!

event

Returns Event.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

eventInstance

Returns EventInstance.

ArgumentTypeDescription
idID!The record ID.

eventInstances

Returns EventInstanceConnection.

ArgumentTypeDescription
eventIdID
fromStringISO date-time. Performances that start on or after it.
limitIntDefault 100, maximum 500.
pageIntPage number. Starts at 1.
seasonIdID
seriesIdID
showPastBoolean
tenantString
toStringISO date-time. Performances that start before it.
venueIdID

events

Returns EventConnection.

ArgumentTypeDescription
companyIdID
ids[ID!]
limitIntDefault 20, maximum 100.
pageIntPage number. Starts at 1.
seasonIdID
seriesIdID
sortString
startsAfterStringISO date-time. Events that end on or after it.
startsBeforeStringISO date-time. Events that start before it.
tenantString
venueIdID

form

Returns Form.

ArgumentTypeDescription
idID!The record ID.

forms

Every form on the site.

Returns [Form!].

media

Returns Media.

ArgumentTypeDescription
idID!The record ID.

Pages in menu order, top level first, with child pages nested.

Returns [NavigationItem!].

ArgumentTypeDescription
includeHiddenBooleanInclude pages the editor hid from navigation.

organization

Returns Organization.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

organizations

Returns OrganizationConnection.

ArgumentTypeDescription
filterContentFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
sortString

page

Returns Page.

ArgumentTypeDescription
idIDThe record ID.
pathStringSite-relative path without a language prefix.
slugStringThe record slug.

pages

Returns PageConnection.

ArgumentTypeDescription
filterContentFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
sortString

people

Returns PersonConnection.

ArgumentTypeDescription
filterContentFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
sortString

person

Returns Person.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

post

Returns Post.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

posts

Returns PostConnection.

ArgumentTypeDescription
filterContentFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
sortString

redirects

Returns RedirectConnection.

ArgumentTypeDescription
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.

reusableSection

Returns ReusableSection.

ArgumentTypeDescription
idID!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.

ArgumentTypeDescription
pathString!

routes

Every public URL of the site in the requested language. Use it to generate static pages and sitemaps.

Returns RouteConnection.

ArgumentTypeDescription
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
types[ContentType!]

Returns SearchResults.

ArgumentTypeDescription
filterSearchFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
queryString!
types[String!]Limit to these search collection types, for example events or pages.

season

Returns Season.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

seasons

Returns SeasonConnection.

ArgumentTypeDescription
filterContentFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
sortString

seriesItem

Returns Series.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

seriesList

Returns SeriesConnection.

ArgumentTypeDescription
filterContentFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
sortString

site

Returns Site.

smartCollection

Returns SmartCollection.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

smartCollections

Returns SmartCollectionConnection.

ArgumentTypeDescription
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.

tags

Returns [Tag!].

venue

Returns Venue.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

venues

Returns VenueConnection.

ArgumentTypeDescription
filterContentFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
sortString

work

Returns Work.

ArgumentTypeDescription
idIDThe record ID.
slugStringThe record slug.

works

Returns WorkConnection.

ArgumentTypeDescription
filterContentFilter
limitIntRecords per page. See Pagination and filtering for the default and the maximum.
pageIntPage number. Starts at 1.
sortString

On this page