云盘系统
  1. 文件管理
云盘系统
  • 用户接口
    • 文件管理
      • 回收站接口
        • 清空回收站
        • 回收站恢复文件
      • 下载管理
        • 批量打包下载接口
      • 获取文件列表
        GET
      • 新增文件夹接口
        POST
      • 删除文件/文件夹
        POST
      • 编辑文件/文件夹
        POST
      • 转移文件/文件夹
        POST
    • 上传相关
      • 临时上传/远程下载地址获取
      • 普通上传接口(单文件最大1G)
      • 上传分片接口(单文件最大500G)
      • 合并分片接口
      • 获取已上传分片
    • 鉴权获取
      • 获取鉴权链接
    • 获取AuthCode
      GET
  1. 文件管理

获取文件列表

开发中
GET
/opapi/getFileList

请求参数

Query 参数

Body 参数application/x-www-form-urlencoded

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.snpan.com/opapi/getFileList?authcode=2ArSSf4lpLNZZAJImqz6u6rmfMtANNG1FnveLQVP9d48MJCsmScRfEpKaAMlDwo-qse80UB-SYH7noUxwu0q1hTWVHfUzvZVzrOAK38&fid&type=1&sortname&sorttype&page=1&pagesize=20'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 200,
    "msg": "获取成功",
    "data": [
        {
            "id": 2363,
            "c_name": "图床文件",
            "c_uid": 21,
            "c_fid": 0,
            "c_time": "2025-08-10 22:36:58",
            "c_type": "folder",
            "c_icon": null,
            "c_size": null,
            "c_nid": null,
            "c_key": null,
            "c_status": 1,
            "c_inty": "1",
            "c_path": null,
            "c_isimg": "1",
            "c_downnum": null,
            "c_note": null,
            "c_err": null,
            "c_endtime": null
        },
        {
            "id": 2459,
            "c_name": "定制项目",
            "c_uid": 21,
            "c_fid": 0,
            "c_time": "2025-08-12 15:10:17",
            "c_type": "folder",
            "c_icon": null,
            "c_size": 1024,
            "c_nid": null,
            "c_key": null,
            "c_status": 1,
            "c_inty": "1",
            "c_path": null,
            "c_isimg": null,
            "c_downnum": null,
            "c_note": null,
            "c_err": null,
            "c_endtime": null
        },
        {
            "id": 2504,
            "c_name": "二维码链接",
            "c_uid": 21,
            "c_fid": 0,
            "c_time": "2025-08-12 16:06:55",
            "c_type": "png",
            "c_icon": "https://up.qz.node.snpan.cn/thumb/bff50c8e11397a0d61aaefc5f9d7148b_thumb.png",
            "c_size": 138466,
            "c_nid": 3,
            "c_key": "BBaauJbaCo",
            "c_status": 2,
            "c_inty": "1",
            "c_path": "20250812",
            "c_isimg": null,
            "c_downnum": null,
            "c_note": null,
            "c_err": null,
            "c_endtime": null
        },
        {
            "id": 2506,
            "c_name": "横版3 (3) (1) (3)",
            "c_uid": 21,
            "c_fid": 0,
            "c_time": "2025-08-12 16:07:49",
            "c_type": "jpg",
            "c_icon": "https://up.qz.node.snpan.cn/thumb/b234a866d5609c3a8914f73ea397d066_thumb.jpg",
            "c_size": 377167,
            "c_nid": 3,
            "c_key": "qTuVmVJaCo",
            "c_status": 2,
            "c_inty": "1",
            "c_path": "20250812",
            "c_isimg": null,
            "c_downnum": null,
            "c_note": null,
            "c_err": null,
            "c_endtime": null
        },
        {
            "id": 2503,
            "c_name": "流量服务",
            "c_uid": 21,
            "c_fid": 0,
            "c_time": "2025-08-12 16:05:16",
            "c_type": "png",
            "c_icon": "https://up.qz.node.snpan.cn/thumb/ec06144298d97df6ed2c0cf65d75653a_thumb.png",
            "c_size": 261301,
            "c_nid": 3,
            "c_key": "TqpuUJXaCo",
            "c_status": 2,
            "c_inty": "1",
            "c_path": "20250812",
            "c_isimg": null,
            "c_downnum": null,
            "c_note": null,
            "c_err": "1",
            "c_endtime": null
        },
        {
            "id": 2505,
            "c_name": "流量服务",
            "c_uid": 21,
            "c_fid": 0,
            "c_time": "2025-08-12 16:07:17",
            "c_type": "png",
            "c_icon": "https://up.qz.node.snpan.cn/thumb/ec06144298d97df6ed2c0cf65d75653a_thumb.png",
            "c_size": 261301,
            "c_nid": 3,
            "c_key": "KjroKjKaCo",
            "c_status": 2,
            "c_inty": "1",
            "c_path": "20250812",
            "c_isimg": null,
            "c_downnum": null,
            "c_note": null,
            "c_err": null,
            "c_endtime": null
        },
        {
            "id": 2502,
            "c_name": "网站功能开发",
            "c_uid": 21,
            "c_fid": 0,
            "c_time": "2025-08-12 16:03:56",
            "c_type": "png",
            "c_icon": "https://up.qz.node.snpan.cn/thumb/eecce90e32c9cb92f8ce45d59c8f1c26_thumb.png",
            "c_size": 256672,
            "c_nid": 3,
            "c_key": "iCSLbNCaCo",
            "c_status": 2,
            "c_inty": "1",
            "c_path": "20250812",
            "c_isimg": null,
            "c_downnum": null,
            "c_note": null,
            "c_err": null,
            "c_endtime": null
        }
    ],
    "total": 7
}
修改于 2025-08-12 12:48:25
上一页
批量打包下载接口
下一页
新增文件夹接口
Built with