Schema Documentation

TermNode

Description

Terms are nodes within a Taxonomy, used to group and relate other nodes.

Fields
Field NameDescription
count - Int The number of objects connected to the object
databaseId - Int! Identifies the primary key from the database.
description - String The description of the object
enqueuedScripts - TermNodeToEnqueuedScriptConnection Connection between the TermNode type and the EnqueuedScript 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

enqueuedStylesheets - TermNodeToEnqueuedStylesheetConnection Connection between the TermNode type and the EnqueuedStylesheet 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

id - ID! The unique resource identifier path
isContentNode - Boolean! Whether the node is a Content Node
isRestricted - Boolean Whether the object is restricted from the current viewer
isTermNode - Boolean! Whether the node is a Term
link - String The link to the term
name - String The human friendly name of the object.
slug - String An alphanumeric identifier for the object unique to its type.
taxonomyName - String The name of the taxonomy that the object is associated with
termGroupId - Int The ID of the term group that this term object belongs to
termTaxonomyId - Int The taxonomy ID that the object is associated with
uri - String The unique resource identifier path
Example
{"count":987,"databaseId":987,"description":"abc123","enqueuedScripts":TermNodeToEnqueuedScriptConnection,"enqueuedStylesheets":TermNodeToEnqueuedStylesheetConnection,"id":"4","isContentNode":true,"isRestricted":true,"isTermNode":true,"link":"xyz789","name":"abc123","slug":"xyz789","taxonomyName":"abc123","termGroupId":123,"termTaxonomyId":123,"uri":"abc123"}