get:
  tags:
    - admin
  summary: Get category management settings
  responses:
    "200":
      description: ""
      content:
        application/json:
          schema:
            allOf:
              - type : object
                properties:
                  categories:
                    type: array
                    items:
                      type: object
                      properties:
                        cid:
                          type: number
                          description: A category identifier
                        name:
                          type: string
                        disabled:
                          type: number
                        icon:
                          type: string
                        link:
                          type: string
                        parentCid:
                          type: number
                          description: The category identifier for the category that is the immediate
                            ancestor of the current category
                        color:
                          type: string
                        bgColor:
                          type: string
                        backgroundImage:
                          type: string
                          nullable: true
                        imageClass:
                          type: string
                        children:
                          type: array
                          description: Array of children categories
              - $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps