get:
  tags:
    - admin
  summary: Get administrators and moderators
  responses:
    "200":
      description: "A JSON object containing administrators and moderators globally and per-category"
      content:
        application/json:
          schema:
            allOf:
              - type: object
                properties:
                  admins:
                    $ref: ../../../components/schemas/GroupObject.yaml#/GroupFullObject
                  globalMods:
                    $ref: ../../../components/schemas/GroupObject.yaml#/GroupFullObject
                  categoryMods:
                    type: array
                    items:
                      allOf:
                        - $ref: ../../../components/schemas/CategoryObject.yaml#/CategoryObject
                        - type: object
                          properties:
                            moderators:
                              type: array
                              items:
                                $ref: ../../../components/schemas/UserObject.yaml#/UserObjectSlim
                            subCategoryCount:
                              type: number
                  selectedCategory:
                    nullable: true
                    anyOf:
                      - $ref: ../../../components/schemas/CategoryObject.yaml#/CategoryObject
              - $ref: ../../../components/schemas/Pagination.yaml#/Pagination
              - $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps