INPUT_OBJECT

CreateArticleInput

Input type for creating an Article

link GraphQL Schema definition

  • input CreateArticleInput {
  • # Translations of the Article
  • translations: [CreateArticleInputTranslations!]!
  • # Array of categories ids
  • categories: [Int!]!
  • # Array of medias ids, in ascending ordered
  • articleMedias: [ArticleMediasInput!]
  • # Date of publication (format: Y-m-dTH:i:s)
  • publicationDate: String
  • # Publication status
  • status: ArticleStatus!
  • # Priority of display's order
  • displayOrder: Int!
  • # Should route be auto-generated?
  • autoRoute: Boolean
  • # Should article be referenced in search engines?
  • referenced: Boolean
  • # Header type (h1, h2, etc.)
  • headerType: String
  • # Custom CSS class
  • cssClass: String
  • # Start date of publication (format: Y-m-dTH:i:s)
  • startPublicationAt: String
  • # Stop date of publication (format: Y-m-dTH:i:s)
  • stopPublicationAt: String
  • # [LEGACY] Media limit (mapped to Weymouth DTO)
  • mediaLimit: Int
  • # [LEGACY] Share on Facebook? (mapped to Weymouth common DTO)
  • shareOnFacebook: Boolean
  • # [LEGACY] Display Twitter share button? (mapped to Weymouth common DTO)
  • displayTwitterShareButton: Boolean
  • # [LEGACY] Display LinkedIn share button? (mapped to Weymouth common DTO)
  • displayLinkedInShareButton: Boolean
  • # Plymouth theme specific settings
  • plymouthDTO: ArticlePlymouthDTOInput
  • # Weymouth theme specific settings
  • weymouthDTO: ArticleWeymouthDTOInput
  • }

link Require by