Skip to main content

Publishable

An object that can be published, for example Knowledge Base categories or articles.

For example:


... on Publishable {
author {
id
email
}
description
featured
meta {
description
robots
}
openGraph {
description
imageUrl
title
}
pageTitle
position
publishedAt
slug
state
title
updater {
id
email
}
}

interface Publishable {
author: Agent
description: String
featured: Boolean!
meta: Meta
openGraph: OpenGraph
pageTitle: String
position: Int!
publishedAt: DateTime
slug: String
state: PublishState!
title: String
updater: Agent
}

Fields

Publishable.author ● Agent object common

The author of the object.

Publishable.description ● String scalar common

A description of the object.

Publishable.featured ● Boolean! non-null scalar common

True if the object is set to be featured; false otherwise.

Publishable.meta ● Meta object common

The meta data of the object.

Publishable.openGraph ● OpenGraph object common

The Open Graph information of the object.

Publishable.pageTitle ● String scalar common

The HTML page title of the object.

Publishable.position ● Int! non-null scalar common

The position that the article should appear in when listed.

Publishable.publishedAt ● DateTime scalar common

The date and time that the object was last published.

Publishable.slug ● String scalar common

The URL slug of the object.

Publishable.state ● PublishState! non-null enum common

The state of the object.

Publishable.title ● String scalar common

The title of the object.

Publishable.updater ● Agent object common

The agent that last updated the object.

Implemented by

Article object ● KbCategory object