Skip to main content

pageType Query

Look up a page type by ID.

pageType(
id: ID!
): PageType
Details
type PageType implements Node, ObjectWithMetadata {
id: ID!
privateMetadata: [MetadataItem!]!
privateMetafield(
key: String!
): String
privateMetafields(
keys: [String!]
): Metadata
metadata: [MetadataItem!]!
metafield(
key: String!
): String
metafields(
keys: [String!]
): Metadata
name: String!
slug: String!
attributes: [Attribute!]
availableAttributes(
filter: AttributeFilterInput
where: AttributeWhereInput
search: String
before: String
after: String
first: Int
last: Int
): AttributeCountableConnection
hasPages: Boolean
}

Arguments

id ● ID!

ID of the page type.

Type

PageType

Represents a type of page. It defines what attributes are available to pages of this type.