Other object types
Records, media, routing, search, ticketing, and pagination types in the FrontStage API
These object types are not content types, fields, or blocks.
Announcement
Author
| Field | Type | Description |
|---|---|---|
description | String | |
id | ID | |
image | Media | |
posts | PostConnection | Arguments: limit: Int, page: Int. |
slug | String | |
title | String |
BlogConnection
| Field | Type | Description |
|---|---|---|
docs | [Blog!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
BookingAction
How the booking button for an instance works.
| Field | Type | Description |
|---|---|---|
externalId | String | The provider's id for the performance, for embedding the provider's own booking widget. |
href | String | Absolute URL of the booking page. |
type | String | url, spektrix, tessitura or elevent. |
Breadcrumb
| Field | Type | Description |
|---|---|---|
label | String | |
path | String |
Category
| Field | Type | Description |
|---|---|---|
description | String | |
id | ID | |
image | Media | |
posts | PostConnection | Arguments: limit: Int, page: Int. |
slug | String | |
title | String |
Credit
A person or organization credited on an event.
| Field | Type | Description |
|---|---|---|
group | String | |
organization | Organization | |
person | Person | |
role | String |
CustomObject
One record of a custom object type.
| Field | Type | Description |
|---|---|---|
createdAt | String | |
data | JSON | Values as a flat object keyed by field key, the shape Liquid themes read. Rich text appears as <key>_html. Use fields to follow references. |
definition | CustomObjectDefinition | |
field | Field | Arguments: key: String!. |
fields | [Field!] | |
id | ID | |
title | String | |
type | String | The definition handle. |
updatedAt | String |
CustomObjectConnection
| Field | Type | Description |
|---|---|---|
docs | [CustomObject!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
CustomObjectDefinition
A custom object type, such as faq or membership-level, and its fields.
| Field | Type | Description |
|---|---|---|
description | String | |
fields | [FieldDefinition!] | |
handle | String | |
id | ID | |
label | String |
EventConnection
| Field | Type | Description |
|---|---|---|
docs | [Event!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
EventInstanceConnection
| Field | Type | Description |
|---|---|---|
docs | [EventInstance!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
FocalPoint
| Field | Type | Description |
|---|---|---|
x | Float | |
y | Float |
Form
A form definition. This API only reads forms. Send submissions with a POST to submitUrl.
| Field | Type | Description |
|---|---|---|
confirmationMessage | RichText | |
confirmationType | String | |
fields | [FormField!] | |
id | ID | |
redirectUrl | String | |
submitButtonLabel | String | |
submitUrl | String | Absolute URL that accepts the form submission as a POST from a server. Browsers on other sites cannot post to it directly. |
title | String |
FormField
One input of a form.
| Field | Type | Description |
|---|---|---|
defaultValue | JSON | |
label | String | |
name | String | |
options | JSON | Choices for select, radio and checkbox-group inputs. |
required | Boolean | |
settings | JSON | Every stored setting of the input. |
type | String | |
width | Int |
LocaleLink
The same record in another language the site offers.
| Field | Type | Description |
|---|---|---|
locale | String | |
path | String |
Media
An uploaded image or file.
| Field | Type | Description |
|---|---|---|
alt | String | |
caption | String | |
credit | String | |
filename | String | |
filesize | Int | |
focalPoint | FocalPoint | |
height | Int | |
id | ID | |
mimeType | String | |
sizes | [MediaSize!] | |
url | String | Arguments: transform: ImageTransform. |
width | Int |
MediaSize
| Field | Type | Description |
|---|---|---|
height | Int | |
name | String | |
url | String | |
width | Int |
NavigationItem
| Field | Type | Description |
|---|---|---|
children | [NavigationItem!] | |
page | Page | |
path | String | |
showInNavigation | Boolean | |
title | String |
OrganizationConnection
| Field | Type | Description |
|---|---|---|
docs | [Organization!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
PageConnection
| Field | Type | Description |
|---|---|---|
docs | [Page!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
PersonConnection
| Field | Type | Description |
|---|---|---|
docs | [Person!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
PostConnection
| Field | Type | Description |
|---|---|---|
docs | [Post!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
Redirect
| Field | Type | Description |
|---|---|---|
from | String | |
matchType | String | |
status | Int | |
to | String |
RedirectConnection
| Field | Type | Description |
|---|---|---|
docs | [Redirect!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
RichText
A rich text value. html is ready to render. json is the editor JSON for custom renderers.
| Field | Type | Description |
|---|---|---|
html | String | |
json | JSON | |
text | String |
RouteConnection
| Field | Type | Description |
|---|---|---|
docs | [RouteEntry!] | |
hasNextPage | Boolean | |
limit | Int | |
page | Int | |
totalDocs | Int |
RouteEntry
| Field | Type | Description |
|---|---|---|
contentType | ContentType | |
id | ID | |
node | Content | |
path | String | |
title | String | |
updatedAt | String |
RouteMatch
| Field | Type | Description |
|---|---|---|
node | Content | |
path | String | The canonical path of the record in the requested language. |
RouteNotFound
| Field | Type | Description |
|---|---|---|
page | Page | The site's 404 page, if it has one. |
RouteRedirect
| Field | Type | Description |
|---|---|---|
status | Int | 301 or 302. |
to | String | Site-relative path or absolute URL to redirect to. |
SearchHit
| Field | Type | Description |
|---|---|---|
collectionType | String | |
excerpt | String | |
image | Media | |
node | Content | The matching record. |
title | String |
SearchResults
| Field | Type | Description |
|---|---|---|
docs | [SearchHit!] | |
hasNextPage | Boolean | |
limit | Int | |
page | Int | |
totalDocs | Int | |
totalPages | Int |
SeasonConnection
| Field | Type | Description |
|---|---|---|
docs | [Season!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
Seo
Search and social metadata. Values fall back to the record's own title, description and image.
| Field | Type | Description |
|---|---|---|
canonical | String | |
description | String | |
image | Media | |
noIndex | Boolean | True when the editor hid the record from search engines. |
structuredData | JSON | |
title | String |
SeriesConnection
| Field | Type | Description |
|---|---|---|
docs | [Series!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
Site
The site the request host belongs to.
| Field | Type | Description |
|---|---|---|
announcements | [Announcement!] | |
apps | [String!] | Handles of the apps installed on the site, for example spektrix. |
defaultLocale | String | |
id | ID | |
layout | BuilderLayout | Website builder header and footer. Null on custom-theme sites. |
locale | String | The language of this response. |
locales | [SiteLocale!] | |
name | String | |
renderMode | String | theme for custom Liquid themes, noCode for website builder sites. |
settings | [Field!] | Global theme settings with the values the editor set. |
settingsJson | JSON | Global theme settings as a flat object, the shape Liquid templates read as settings. |
timezone | String | |
url | String | The site's public origin, for example https://www.example.org. |
SiteLocale
| Field | Type | Description |
|---|---|---|
code | String | |
isDefault | Boolean |
SmartCollectionConnection
| Field | Type | Description |
|---|---|---|
docs | [SmartCollection!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
SmartCollectionItems
| Field | Type | Description |
|---|---|---|
docs | [Content!] | |
hasNextPage | Boolean | |
limit | Int | |
page | Int | |
totalDocs | Int | |
totalPages | Int |
Tag
| Field | Type | Description |
|---|---|---|
description | String | |
id | ID | |
image | Media | |
posts | PostConnection | Arguments: limit: Int, page: Int. |
slug | String | |
title | String |
Ticketing
Booking state for an event instance, normalised across ticketing providers. Responses that select it are cached at the edge for 60 seconds.
| Field | Type | Description |
|---|---|---|
action | BookingAction | |
bookingUrl | String | Absolute URL of the booking page. |
label | String | The button label the editor or the provider set. |
provider | String | The ticketing provider, for example spektrix. |
quantityAvailable | Int | Seats left, when the provider syncs a count. |
status | String | onSale, comingSoon, soldOut, offSale, cancelled or waitlist. Null when the provider reports nothing. |
VenueConnection
| Field | Type | Description |
|---|---|---|
docs | [Venue!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |
WorkConnection
| Field | Type | Description |
|---|---|---|
docs | [Work!] | |
hasNextPage | Boolean | |
hasPrevPage | Boolean | |
limit | Int | |
nextPage | Int | |
page | Int | |
prevPage | Int | |
totalDocs | Int | |
totalPages | Int |