Skip to main content

CollectionContent

This is the actual content of the collection

type CollectionContent {
collectionId: ID!
contentAsHtml: String
contentAsString: String!
excerpt(
numberOfCharacters: Int
): String
secondaryContentAsHtml: String
secondaryContentAsString: String
updatedAt: String
}

Fields

CollectionContent.collectionId ● ID! non-null scalar

CollectionContent.contentAsHtml ● String scalar

Get the markdown content of the collection as parsed HTML. Do not use this field without purifying or sanitizing the HTML in your webapp.

CollectionContent.contentAsString ● String! non-null scalar

CollectionContent.excerpt ● String scalar

Get an excerpt of the collection content.

CollectionContent.excerpt.numberOfCharacters ● Int scalar

The number of characters to return, defaults to 200.

CollectionContent.secondaryContentAsHtml ● String scalar

Get the secondary markdown content of the collection as parsed HTML. Do not use this field without purifying or sanitizing the HTML in your webapp.

CollectionContent.secondaryContentAsString ● String scalar

CollectionContent.updatedAt ● String scalar

Member of

PublicCollection object