pcapi/wwwroot/doc/storage/通用存储.md
2025-07-16 14:46:24 +08:00

2.0 KiB

GET 获取全部ldapUser

  • GET /api/v1/storage/common/get_storage_json

  • 请求参数 point 挂载点

  • 返回示例

{
    "status": "success",
    "data": [
        {
            "Filesystem": "tmpfs",
            "Type": "tmpfs",
            "Size": "3.2G",
            "Used": "1.3M",
            "Avail": "3.2G",
            "Use%": "1%",
            "Mounted": "/run"
        },
        {
            "Filesystem": "/dev/mapper/ubuntu--vg-ubuntu--lv",
            "Type": "ext4",
            "Size": "48G",
            "Used": "13G",
            "Avail": "33G",
            "Use%": "29%",
            "Mounted": "/"
        },
        {
            "Filesystem": "tmpfs",
            "Type": "tmpfs",
            "Size": "16G",
            "Used": "0",
            "Avail": "16G",
            "Use%": "0%",
            "Mounted": "/dev/shm"
        },
        {
            "Filesystem": "tmpfs",
            "Type": "tmpfs",
            "Size": "5.0M",
            "Used": "0",
            "Avail": "5.0M",
            "Use%": "0%",
            "Mounted": "/run/lock"
        },
        {
            "Filesystem": "/dev/vda2",
            "Type": "ext4",
            "Size": "2.0G",
            "Used": "253M",
            "Avail": "1.6G",
            "Use%": "14%",
            "Mounted": "/boot"
        },
        {
            "Filesystem": "nfsserver:/d",
            "Type": "nfs4",
            "Size": "1.8T",
            "Used": "114G",
            "Avail": "1.6T",
            "Use%": "7%",
            "Mounted": "/d"
        },
        {
            "Filesystem": "tmpfs",
            "Type": "tmpfs",
            "Size": "3.2G",
            "Used": "4.0K",
            "Avail": "3.2G",
            "Use%": "1%",
            "Mounted": "/run/user/0"
        },
        {
            "Filesystem": "tmpfs",
            "Type": "tmpfs",
            "Size": "3.2G",
            "Used": "4.0K",
            "Avail": "3.2G",
            "Use%": "1%",
            "Mounted": "/run/user/1000"
        }
    ]
}