---
title: "ContentCategoryCollection"
url: "https://developer.migros.ch/apis/content-categories-8/versions/e6c77d0d-643c-404c-9120-ba8e77ac25d6/schemas/ContentCategoryCollection"
---

> Full API specification: https://developer.migros.ch/apis/content-categories-8/versions/e6c77d0d-643c-404c-9120-ba8e77ac25d6.md

# ContentCategoryCollection

A collection of content category instances.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Content Categories
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api.migros.ch
components:
  schemas:
    AbstractSearchResultCollection:
      allOf:
        - $ref: "#/components/schemas/AbstractCollection"
        - properties:
            ids:
              description: >-
                Ids only.


                Is filled instead of the usual property for content, with only
                the ids when a call is made with verbosity=id on a

                route that supports it.
              items:
                type: string
              type: array
            total_hits:
              description: >-
                The total hits may exceed the actual count of results in the
                collection.


                It represents the total number of results of a search and not
                only the

                potentially paginated subset.
              nullable: true
              type: integer
          type: object
      description: A collection of search result instances.
      type: object
    ContentCategory:
      description: Represents a content category from Magnolia.
      properties:
        display_name:
          nullable: true
          type: string
        id:
          type: string
        name:
          type: string
        parent_id:
          type: string
        path:
          type: string
      required:
        - id
        - name
      type: object
    AbstractCollection:
      description: A generic collection of elements.
    ContentCategoryCollection:
      allOf:
        - $ref: "#/components/schemas/AbstractSearchResultCollection"
        - properties:
            content_categories:
              items:
                $ref: "#/components/schemas/ContentCategory"
              type: array
          type: object
      description: A collection of content category instances.
      type: object
```
