CollectionContent
This is the actual markdown content for the collection
type CollectionContent {
collectionId: ID!
contentAsHtml: String
contentAsString: String!
demandHqId: ID!
excerpt(
numberOfCharacters: Int
): String
secondaryContentAsHtml: String
secondaryContentAsString: String
updatedAt: String
updatedBy: ID!
}
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.demandHqId ● ID! non-null scalar
CollectionContent.excerpt ● String scalar
Get an excerpt of the collection content.
CollectionContent.excerpt.numberOfCharacters●IntscalarThe 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
CollectionContent.updatedBy ● ID! non-null scalar
Returned by
upsertCollectionContent mutation
Member of
Collection object