OBJECT

Article

link GraphQL Schema definition

  • type Article {
  • # Id
  • id: Int
  • # Medias
  • articleMedias: [ArticleMedia]!
  • # Categories
  • categories: [Category]
  • # Status
  • status: ArticleStatus!
  • # Routes
  • routes: [ArticleRoute]!
  • # Priority of display's order
  • displayOrder: Int!
  • # Parent article, if exists
  • parent: Article
  • # Date of creation
  • createdAt: DateTime!
  • # Date of last update
  • updatedAt: DateTime!
  • # Date of publication
  • publicationDate: DateTime!
  • # An ISO 639-1 valid locale, e.g.: fr, en, pt, ...
  • defaultLocale: String
  • # Translations
  • translations: [ArticleTranslation!]!
  • # Inheritance status
  • inheritanceStatus: String!
  • # Site that owns this Article
  • site: Site
  • # Site that own this Article, without access restriction on this field.
  • sitePublic: PublicSite
  • # List of tags linked to this article
  • tags: [Tag!]!
  • # 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
  • startPublicationAt: DateTime
  • # Stop date of publication
  • stopPublicationAt: DateTime
  • # [LEGACY] Media limit (from Weymouth DTO)
  • mediaLimit: Int!
  • # [LEGACY] Share on Facebook? (from Weymouth common DTO)
  • shareOnFacebook: Boolean!
  • # [LEGACY] Display Twitter share button? (from Weymouth common DTO)
  • displayTwitterShareButton: Boolean!
  • # [LEGACY] Display LinkedIn share button? (from Weymouth common DTO)
  • displayLinkedInShareButton: Boolean!
  • # Plymouth theme specific settings
  • plymouthDTO: ArticlePlymouthDTO
  • # Weymouth theme specific settings
  • weymouthDTO: ArticleWeymouthDTO
  • }