Skip to main content

CollectionInput Input Type

No description

input CollectionInput {
isPublished: Boolean
name: String
slug: String
description: JSONString
backgroundImage: Upload
backgroundImageAlt: String
seo: SeoInput
publicationDate: Date @deprecated
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
}

Fields

isPublished ● Boolean

Informs whether a collection is published.

name ● String

Name of the collection.

slug ● String

Slug of the collection.

description ● JSONString

Description of the collection.

Rich text format. For reference see https://editorjs.io/

backgroundImage ● Upload

Background image file.

backgroundImageAlt ● String

Alt text for an image.

seo ● SeoInput

Search engine optimization fields.

metadata ● [MetadataInput!]

Fields required to update the collection metadata. Can be read by any API client authorized to read the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

privateMetadata ● [MetadataInput!]

Fields required to update the collection private metadata. Requires permissions to modify and to read the metadata of the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

Show deprecated

Member Of

collectionUpdate mutation