| 应用类型 | 是否支持 | 权限 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 支持 | 企业存储空间读权限 | API Explorer |
| 第三方企业应用 | 支持 | 企业存储空间读权限 | API Explorer |
| 第三方个人应用 | 暂不支持 | 企业存储空间读权限 | 暂不支持 |
| HttpCode | 错误码 | 错误信息 | 说明 |
|---|---|---|---|
| 400 | paramError | %s | 参数错误 |
| 403 | permissionDenied | %s | 用户缺少获取空间信息的权限 |
| 404 | spaceNotExist | %s | 空间不存在 |
| 500 | systemError | %s | 系统错误 |
| 500 | unknownError | Unknown Error | 未知错误 |
| 503 | operationTimeout | %s | 请求超时 |
curl --location --request GET '/v1.0/storage/spaces/?unionId=String' \
--header 'x-acs-dingtalk-access-token;'{
"space": {
"id": "string",
"corpId": "string",
"creatorId": "string",
"ownerType": "string",
"ownerId": "string",
"modifierId": "string",
"usedQuota": 0,
"quota": 0,
"status": "string",
"createTime": "string",
"modifiedTime": "string",
"appId": "string",
"scene": "string",
"sceneId": "string",
"capabilities": {
"canSearch": true,
"canRename": true,
"canRecordRecentFile": true
},
"name": "string",
"partitions": [
{
"partitionType": "string",
"quota": {
"used": 0,
"max": 0,
"reserved": 0,
"type": "string"
}
}
]
}
}