OBJECT

Category

A Category for Articles

link GraphQL Schema definition

  • type Category {
  • # Id
  • id: Int!
  • # Translations
  • translations: [CategoryTranslation!]!
  • # Is Category enabled?
  • enabled: Boolean!
  • # Date of creation
  • createdAt: DateTime!
  • # Date of last update
  • updatedAt: DateTime!
  • # Parent Category if exists
  • parent: Category
  • # Articles that belong to the Category
  • articles: [Article]
  • # Image associated with the Category
  • image: Media
  • # Route associated with the Category
  • route: SiteRoute
  • # Display order of the Category (-10 to 10)
  • displayOrder: Int
  • # Custom CSS class for articles
  • additionalClass: String
  • # Custom CSS class for category
  • customClass: String
  • # Display articles and category in article list
  • display: Boolean
  • # Publish articles in sitemap
  • articlesInSitemap: Boolean
  • # Inheritance status
  • inheritanceStatus: String!
  • # Id of the root Category
  • parentRootId: Int
  • # Site that owns this Category
  • site: PublicSite
  • }