查询文件(夹)列表
GET
http://127.0.0.1/v1.0/drive/spaces/{spaceId}/files
新版服务端API(DingTalk OpenAPI)/钉盘/文件管理
最后修改时间:2022-08-30 09:19:23
责任人:未设置
说明
服务地址:api.dingtalk.com
权限
应用类型 | 是否支持 | 权限 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 支持 | 钉盘应用文件读权限 | API Explorer |
第三方企业应用 | 暂不支持 | 钉盘应用文件读权限 | 暂不支持 |
第三方个人应用 | 暂不支持 | 钉盘应用文件读权限 | 暂不支持 |
错误码
HttpCode | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | param.error.maxresults | Too Large MaxResults | MaxResults过大 |
400 | param.error | Invalid Param | 参数错误 |
404 | object.not.exist | File does not exist or has been deleted. | 文件不存在或已删除 |
500 | request.overlimit | You have sent too many requests. | 请求过于频繁 |
500 | unsupported.operation | Does not support the operation | 暂不支持该操作 |
500 | no.priviledge | You are not authorized to perform this operation. | 你没有权限进行此操作 |
500 | unknown.error | Unknown Error | 未知错误 |
请求参数
Path 参数
spaceId
string
必需
Query 参数
unionId
string
必需
parentId
string
可选
根目录时传0。
nextToken
string
分页游标。
maxResults
string
分页大小。
orderType
string
可选
Header 参数
x-acs-dingtalk-access-token
string
必需
Body 参数application/json
示例代码
返回响应
