Skip to main content

BlogPost

type BlogPost implements Node {
files: [ContentFile!]!
id: ID!
createdAt: Time!
updatedAt: Time!
companyID: String!
title: String!
slug: String
featuredImageID: ID
description: String
contents: String
fileIds: [ID!]
metaDescription: String
metaKeywords: [String!]
metadata: BlogMetadata
status: BlogPostStatus!
publishAt: Time
publishedAt: Time
blogID: ID!
blog: Blog!
authors: [BlogAuthor!]
tags: [BlogTag!]
}

Fields

BlogPost.files ● [ContentFile!]! non-null object

BlogPost.id ● ID! non-null scalar

BlogPost.createdAt ● Time! non-null scalar

BlogPost.updatedAt ● Time! non-null scalar

BlogPost.companyID ● String! non-null scalar

BlogPost.title ● String! non-null scalar

BlogPost.slug ● String scalar

BlogPost.featuredImageID ● ID scalar

BlogPost.description ● String scalar

BlogPost.contents ● String scalar

BlogPost.fileIds ● [ID!] list scalar

BlogPost.metaDescription ● String scalar

BlogPost.metaKeywords ● [String!] list scalar

BlogPost.metadata ● BlogMetadata scalar

BlogPost.status ● BlogPostStatus! non-null enum

BlogPost.publishAt ● Time scalar

BlogPost.publishedAt ● Time scalar

BlogPost.blogID ● ID! non-null scalar

BlogPost.blog ● Blog! non-null object

BlogPost.authors ● [BlogAuthor!] list object

BlogPost.tags ● [BlogTag!] list object

Interfaces

Node interface

An object with an ID. Follows the Relay Global Object Identification Specification

Returned By

createBlogPost mutation ● getBlogPost query ● updateBlogPost mutation

Member Of

BlogAuthor object ● BlogPostEdge object ● BlogTag object