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":123,"description":"xyz789","enqueuedScripts":TermNodeToEnqueuedScriptConnection,"enqueuedStylesheets":TermNodeToEnqueuedStylesheetConnection,"id":"4","isContentNode":true,"isRestricted":true,"isTermNode":true,"link":"abc123","name":"abc123","postFormatId":987,"posts":PostFormatToPostConnection,"seo":TaxonomySEO,"slug":"xyz789","taxonomy":PostFormatToTaxonomyConnectionEdge,"taxonomyName":"xyz789","termGroupId":987,"termTaxonomyId":987,"uri":"xyz789"}}}