Schema Documentation

HierarchicalContentNode

Description

Content node with hierarchical (parent/child) relationships

Fields
Field NameDescription
ancestors - HierarchicalContentNodeToContentNodeAncestorsConnection Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root).
Arguments
first - Int

The number of items to return after the referenced "after" cursor

last - Int

The number of items to return before the referenced "before" cursor

after - String

Cursor used along with the "first" argument to reference where in the dataset to get data

before - String

Cursor used along with the "last" argument to reference where in the dataset to get data

where - HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs

Arguments for filtering the connection

children - HierarchicalContentNodeToContentNodeChildrenConnection Connection between the HierarchicalContentNode type and the ContentNode type
Arguments
first - Int

The number of items to return after the referenced "after" cursor

last - Int

The number of items to return before the referenced "before" cursor

after - String

Cursor used along with the "first" argument to reference where in the dataset to get data

before - String

Cursor used along with the "last" argument to reference where in the dataset to get data

where - HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs

Arguments for filtering the connection

parent - HierarchicalContentNodeToParentContentNodeConnectionEdge The parent of the node. The parent object can be of various types
parentDatabaseId - Int Database id of the parent node
parentId - ID The globally unique identifier of the parent node.
Possible Types
HierarchicalContentNode Types

MediaItem

Page

Example
{"ancestors":HierarchicalContentNodeToContentNodeAncestorsConnection,"children":HierarchicalContentNodeToContentNodeChildrenConnection,"parent":HierarchicalContentNodeToParentContentNodeConnectionEdge,"parentDatabaseId":123,"parentId":4}