Schema Documentation

postFormat

Description

A 0bject

Response

Returns a PostFormat

Arguments
NameDescription
id - ID! The globally unique identifier of the object.
idType - PostFormatIdType Type of unique identifier to fetch by. Default is Global ID

Example

Query
query postFormat(  $id: ID!,  $idType: PostFormatIdType){  postFormat(    id: $id,    idType: $idType  ){    contentNodes {      ...PostFormatToContentNodeConnectionFragment    }countdatabaseIddescriptionenqueuedScripts {      ...TermNodeToEnqueuedScriptConnectionFragment    }enqueuedStylesheets {      ...TermNodeToEnqueuedStylesheetConnectionFragment    }idisContentNodeisRestrictedisTermNodelinknamepostFormatIdposts {      ...PostFormatToPostConnectionFragment    }seo {      ...TaxonomySEOFragment    }slugtaxonomy {      ...PostFormatToTaxonomyConnectionEdgeFragment    }taxonomyNametermGroupIdtermTaxonomyIduri  }}
Variables
{"id":4,"idType":"DATABASE_ID"}
Response
{"data":{"postFormat":{"contentNodes":PostFormatToContentNodeConnection,"count":987,"databaseId":987,"description":"abc123","enqueuedScripts":TermNodeToEnqueuedScriptConnection,"enqueuedStylesheets":TermNodeToEnqueuedStylesheetConnection,"id":4,"isContentNode":false,"isRestricted":false,"isTermNode":true,"link":"xyz789","name":"xyz789","postFormatId":987,"posts":PostFormatToPostConnection,"seo":TaxonomySEO,"slug":"xyz789","taxonomy":PostFormatToTaxonomyConnectionEdge,"taxonomyName":"xyz789","termGroupId":123,"termTaxonomyId":987,"uri":"xyz789"}}}