OBJECT

Taxon

Category or Sub-category for organising adverts. Has a tree-like structure with parents and children.

link GraphQL Schema definition

  • type Taxon implements Node {
  • # The online adverts that belong to this taxon.
  • #
  • # Arguments
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # first: Returns the first _n_ elements from the list.
  • # last: Returns the last _n_ elements from the list.
  • adverts(after: String, before: String, first: Int, last: Int): AdvertsConnection!
  • # Arguments
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # first: Returns the first _n_ elements from the list.
  • # last: Returns the last _n_ elements from the list.
  • # showOnlineOnly: Request only taxons that have online adverts
  • # associated with them.
  • children(
  • after: String,
  • before: String,
  • first: Int,
  • last: Int,
  • showOnlineOnly: Boolean
  • ): TaxonsConnection!
  • description: String
  • displayName: String!
  • id: ID!
  • # The display image for each taxon.
  • image: Image
  • parent: Taxon
  • taxonType: TaxonTypeEnum!
  • # Taxon title. Mostly for internal organisation.
  • title: String!
  • # The URL subpath associated with the given taxon.
  • #
  • # Mostly used for building URLs for advert search results.
  • urlSlug: String!
  • }