新建驱动盘
标签:驱动盘
请求说明
| 字段 | 值 |
|---|---|
请求地址 | https://openapi.wps.cn/v7/drives/create |
HTTP 方法 | POST |
接口描述 | 新建驱动盘 |
签名方式 | KSO-1 |
限频策略 | 无 |
权限要求 | 管理驱动盘(应用授权) kso.drive.readwrite管理驱动盘(用户授权) kso.drive.readwrite |
请求体(Body)
请求体格式: application/json
没有可用的数据
请求体示例
json
{
"allotee_id": "string",
"allotee_type": "user",
"description": "string",
"ext_attrs": [
{
"name": "string",
"value": "string"
}
],
"name": "string",
"source": "string",
"total_quota": 0
}响应体(Response)
HTTP状态码: 200
响应体格式: application/json
没有可用的数据
响应体示例
json
{
"data": {
"allotee_id": "string",
"allotee_type": "user",
"company_id": "string",
"created_by": {
"avatar": "string",
"company_id": "string",
"id": "string",
"name": "string",
"type": "user"
},
"ctime": 0,
"description": "string",
"ext_attrs": [
{
"name": "string",
"value": "string"
}
],
"id": "string",
"mtime": 0,
"name": "string",
"quota": {
"deleted": 0,
"remaining": 0,
"total": 0,
"used": 0
},
"source": "string",
"status": "inuse"
},
"code": 0,
"msg": "string"
}