PublicPage
A Page is a part of the Demand Domain and represents a page with textual and image content on it, that has nothing to do with products. This can range from "About Us" pages to Blog articles. Use the "pageType" field to differentiate. Pages do not have locales specified, but since everything would be different anyway, "pageType" can be a composite key with locale in it.
type PublicPage {
author: String
content: PageContent
demandHqId: ID!
description: String
descriptionOrExcerpt(
numberOfCharacters: Int
): String
pageId: ID!
pageType: String!
primaryImageUrl: String
publishedAt: Date
secondaryImageUrl: String
seoTitle: String
slug: String!
subtitle: String
tags: PageTags
tertiaryImageUrl: String
title: String!
}
Fields
PublicPage.author
● String
scalar
The author of the page, limit 256 characters.
PublicPage.content
● PageContent
object
Get the content of the page.
PublicPage.demandHqId
● ID!
non-null scalar
PublicPage.description
● String
scalar
A short description of the page, limit 1000 characters.
PublicPage.descriptionOrExcerpt
● String
scalar
Get the description if it exists, or fallback to the content excerpt for the page.
PublicPage.descriptionOrExcerpt.numberOfCharacters
●Int
scalarThe number of characters to return, defaults to 200.
PublicPage.pageId
● ID!
non-null scalar
PublicPage.pageType
● String!
non-null scalar
Any string to declare a category of this page, can be used to filter pages, limit 128 characters.
PublicPage.primaryImageUrl
● String
scalar
A primary image url for this page, can be generated from a Page ContentItem.
PublicPage.publishedAt
● Date
scalar
ISO format date when the page was published. Note that ensuing updates with status set to PUBLISHED will republish and re-set this date.
PublicPage.secondaryImageUrl
● String
scalar
A secondary image url for this page, often a logo or related item.
PublicPage.seoTitle
● String
scalar
Title specific for SEO purposes, limit 256 characters.
PublicPage.slug
● String!
non-null scalar
Slug for the URL for this page. Limit 128 characters.
PublicPage.subtitle
● String
scalar
The subtitle of the page, limit 256 characters.
PublicPage.tags
● PageTags
object
Get the tags of the page.
PublicPage.tertiaryImageUrl
● String
scalar
A tertiary image url for this page, not often used.
PublicPage.title
● String!
non-null scalar
The title of the page, limit 256 characters.
Returned by
page
query
Member of
PublicPageConnectionWithSearch
object ● PublicPageEdge
object