Cap Collectif Developers - GraphQL API

Post

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see Schema previews for more details.

A post

Implements

Fields

abstract (String!)

Abstract of the post.

Argument Type Description
locale TranslationLocale

The locale to translate content (eg: FR_FR).

adminUrl (URI!) ROLE_USER

The admin url for this post.

authors ([User!]!)

The post's authors.

body (HTML)

Argument Type Description
locale TranslationLocale

The locale to translate content (eg: FR_FR).

commentable (Boolean!)

Wether or not the post is commentable.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The ID of an object

media (Media)

The post's related media.

publicationStatus (PostPublicationStatus!)

The publication status for this post.

publishedAt (DateTime)

Identifies the date and time when the object was published.

themes ([Theme!]!)

The post's related themes.

title (String)

The post's title.

Argument Type Description
locale TranslationLocale

The locale to translate content (eg: FR_FR).

translations ([PostTranslation!]!)

updatedAt (DateTime)

Identifies the date and time when the object was last updated.

url (URI!)

The URL to this resource.