> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.erlcrussia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Общее Количество Участников (Включая Ботов)

> Возвращает общее количество всех участников в Discord (включая ботов) для указанного сервера.




## OpenAPI

````yaml ru/openapi/ru-stats-openapi.yaml GET /moscowroleplay/stats/{server}/allmembercount
openapi: 3.1.0
info:
  title: ER:LC Россия API V1 - Moscow RolePlay API Статистики V1
  version: 1.0.0
servers:
  - url: https://api.erlcrussia.xyz/v1
    description: Moscow RolePlay API Статистики V1
security: []
tags:
  - name: Moscow RolePlay API Статистики V1
    description: Открытая статистика Moscow RolePlay.
paths:
  /moscowroleplay/stats/{server}/allmembercount:
    get:
      tags:
        - Moscow RolePlay API Статистики V1
      summary: Общее Количество Участников (Включая Ботов)
      description: >
        Возвращает общее количество всех участников в Discord (включая ботов)
        для указанного сервера.
      parameters:
        - $ref: '#/components/parameters/ServerParam'
      responses:
        '200':
          description: Общее количество участников в виде строки.
          content:
            text/plain:
              schema:
                type: string
                example: '420'
        '400':
          description: Запрашиваемый тип статистики недоступен для данного сервера.
          content:
            text/plain:
              schema:
                type: string
                example: Запрашиваемый тип статистики недоступен для данного сервера
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security: []
components:
  parameters:
    ServerParam:
      name: server
      in: path
      required: true
      description: |
        Имя сервера Discord.
      schema:
        type: string
        enum:
          - MVD
          - FSB
          - MCHS
          - MZ
          - '112'
          - DOT
          - MRP
  responses:
    TooManyRequests:
      description: Превышено количество запросов (лимит 20/мин).
      headers:
        X-RateLimit-Limit:
          description: Максимум запросов в минуту.
          schema:
            type: integer
            example: 20
        X-RateLimit-Remaining:
          description: Оставшееся количество запросов.
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset:
          description: Unix timestamp (мс), когда лимит будет сброшен.
          schema:
            type: integer
            example: 1740339600000
        Retry-After:
          description: Секунд до сброса лимита.
          schema:
            type: integer
            example: 45
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            Rate Limit Exceeded:
              summary: Превышение лимита 20 запросов/мин.
              value:
                code: 5016
                message: Rate Limit Exceeded
                retry_after: 45
                details:
                  limit: 20
                  count: 25
                  excess: 5
                  reset_at: 1740339600000
    InternalServerError:
      description: Внутренняя ошибка сервера.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            Server Error:
              summary: Ошибка внешнего ERLC API.
              value:
                code: 5018
                message: Server Error
  schemas:
    ErrorResponse:
      type: object
      description: Стандартный формат ошибки.
      required:
        - code
        - message
      properties:
        code:
          type: integer
          description: Код ошибки API.
          example: 5001
        message:
          type: string
          description: Сообщение/идентификатор ошибки.
          example: Missing Discord Id

````