OBJECT

CategoryOrion

An article category of an Orion site

link GraphQL Schema definition

  • type CategoryOrion {
  • # Id
  • id: Int!
  • # Translations
  • translations: [CategoryOrionTranslation!]!
  • # Parent category
  • parent: CategoryOrion
  • # Child categories
  • children: [CategoryOrion!]!
  • # Articles that belong to this category
  • articles: [Article!]!
  • # Image of the category
  • image: Media
  • # Is the category displayed on the site?
  • enabled: Boolean!
  • # Does the category have its own page?
  • linkEnabled: Boolean!
  • # Auto-generate the route from the title
  • autoRoute: Boolean!
  • # Meta robots directive, global to the category (not translated)
  • metaRobots: String
  • # CSS class(es) of the category
  • cssClass: String
  • # Routes of the category page
  • routes: [CategoryOrionRoute!]!
  • # Date of creation
  • createdAt: DateTime!
  • # Date of last update
  • updatedAt: DateTime!
  • # Site that owns this category
  • site: PublicSite
  • }