get_group_file_system_info

get_group_file_system_info只读扩展
获取群文件系统信息

Call via POST http://127.0.0.1:3000/get_group_file_system_info (JSON params as the body) or WebSocket.

Parameters

Param Type Required Default Description
group_id uint 群号

Returns (data)

{ file_count, limit_count, used_space, total_space }:群文件数量与容量信息(均为服务端实际值)。

Every response is wrapped in the standard envelope: { "status": "ok", "retcode": 0, "data": ... }. The table below describes data.

Field Type Required Description
file_count integer 当前文件数
limit_count integer 文件数上限
used_space integer 已用空间(字节)
total_space integer 总空间(字节)
Raw JSON Schema
{
  "type": "object",
  "properties": {
    "file_count": {
      "type": "integer",
      "description": "当前文件数"
    },
    "limit_count": {
      "type": "integer",
      "description": "文件数上限"
    },
    "used_space": {
      "type": "integer",
      "description": "已用空间(字节)"
    },
    "total_space": {
      "type": "integer",
      "description": "总空间(字节)"
    }
  },
  "required": [
    "file_count",
    "limit_count",
    "used_space",
    "total_space"
  ]
}

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/get_group_file_system_info \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"group_id":123456}'
Using an AI assistant?

MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.