"/admin/statistics":
    get:
        tags: [Stats]
        operationId: getCloudStatistics
        summary: Realtime cluster statistics
        description: Aggregate counts — online users and rooms by visibility — for the live cluster.
        responses:
            "200":
                description: Stats payload.
                content:
                    application/json:
                        schema:
                            type: object
                            required: [onlineUserCount, roomCount, publicRoomCount, friendsOnlyRoomCount]
                            properties:
                                onlineUserCount: { type: integer, description: Active VR / website connections. }
                                roomCount: { type: integer, description: Total live rooms across all visibilities. }
                                publicRoomCount: { type: integer }
                                friendsOnlyRoomCount: { type: integer }
            "401": { $ref: "../cloud-admin-api.yaml#/components/responses/Unauthorized" }
            "403": { $ref: "../cloud-admin-api.yaml#/components/responses/Forbidden" }
        x-access-policies: [Moderator]

"/admin/schemas":
    get:
        tags: [Stats]
        operationId: getCloudSchemas
        summary: Cloud schema enumerations
        description: |
            Returns the room policy enums (`MicrophonePolicy`, `MovementSoundsPolicy`,
            `DrawingVisibility`, etc.) plus `RoomType`, `RoomVisibility`, and
            `RoomInstancePolicy`. Used by Arda to populate dropdowns in the room admin
            panels.
        responses:
            "200":
                description: Schema enumeration payload.
                content:
                    application/json:
                        schema:
                            type: object
                            description: Each top-level key is an enum name; the value is the enum's member object.
                            additionalProperties:
                                type: object
                                additionalProperties: true
            "401": { $ref: "../cloud-admin-api.yaml#/components/responses/Unauthorized" }
            "403": { $ref: "../cloud-admin-api.yaml#/components/responses/Forbidden" }
        x-access-policies: [Moderator]
