托管模式文件操作API
概览
File API for SelfHostedMode
版本信息
版本 : 2.0.0
URI scheme
域名 : {domainId}.api.aliyunpds.com
基础路径 : /v2
协议 : HTTP, HTTPS
请求Content-Type
application/json
返回Content-Type
application/json
API
完成文件上传
POST /v2/osspath/file/complete
说明
完成文件上传
Body参数
请求参数
名称 : 完成文件上传请求标志 : 必填类型 : OSSCompleteFileRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | ||
400 | 1. 请求参数无效 2. 请求body是无效的json格式. | |
403 | 1. 无权限访问CompleteFile API 接口. 2. share 过期 | |
404 | 1. Drive或者Share不存在. 2. file_path 或者upload_id 不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/complete
请求 body
{
"drive_id" : "1",
"part_info_list" : [ {
"etag" : "0CC175B9C0F1B6A831C399E269772661",
"part_number" : 1,
"part_size" : 1024,
"upload_url" : "https://pds.data.aliyuncs.com/xxx/xxx?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx&partNumber=1&uploadId=0CC175B9C0F1B6A831C399E269772661"
} ],
"upload_id" : "string",
"file_path" : "string",
"share_id" : "string"
}
HTTP响应示例
响应 200
{
"content_hash" : "EA4942AA8761213890A5C386F88E6464D2C31CA3",
"content_hash_name" : "sha1",
"content_type" : "application/json",
"crc64_hash" : "string",
"created_at" : "2019-08-20T06:51:27.292Z",
"description" : "file description",
"domain_id" : "test001",
"download_url" : "https://pds.data.aliyuncs.com/hz22%2F5d5b986facbec311ef844c25954f96821497b383%2F5d5b986f955410dd991646bb87c6b4e899eff525?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx",
"drive_id" : "1",
"file_extension" : "jpg",
"file_path" : "/a.jpg",
"name" : "pds.jpg",
"parent_file_path" : "/",
"share_id" : "5d5b846942cf94fa72324c14a4bda34e81da635d",
"size" : 1024,
"status" : "available",
"thumbnail" : "https://pds.data.aliyuncs.com/hz22%2F5d5b986facbec311ef844c25954f96821497b383%2F5d5b986f955410dd991646bb87c6b4e899eff525?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx",
"trashed_at" : "string",
"type" : "file",
"updated_at" : "string",
"upload_id" : "C9DCFE5A82644AC7A02DB74C30C934A6",
"url" : "https://pds.data.aliyuncs.com/hz22%2F5d5b986facbec311ef844c25954f96821497b383%2F5d5b986f955410dd991646bb87c6b4e899eff525?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx",
"crc" : "string"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
拷贝文件或文件夹
POST /v2/osspath/file/copy
说明
指定源文件或文件夹路径,拷贝到指定的文件夹。
Body参数
请求参数
名称 : 拷贝文件或文件夹请求标志 : 必填类型 : OSSCopyFileRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
201 | 文件拷贝成功. | |
400 | 1. 请求参数无效. 2. 请求body是无效的json格式 | |
403 | 1.无权限访问 get_signature 接口. 2. share 过期 | |
404 | 1. Drive或者Share不存在. 2. file_id 不存在. 3. 如果Domain path 是oss path, 而且domain绑定的bucket不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/copy
请求 body
{
"drive_id" : "1",
"file_path" : "/a/b/c.jpg",
"new_name" : "pds.jpg",
"overwrite" : true,
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6",
"to_drive_id" : "1",
"to_parent_file_path" : "/a/b/c/",
"to_share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6"
}
HTTP响应示例
响应 201
{
"async_task_id" : "000e89fb-cf8f-11e9-8ab4-b6e980803a3b",
"domain_id" : "test001",
"drive_id" : "1",
"file_path" : "/a/b/c.jpg",
"share_id" : "test001"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
创建文件或者文件夹
POST /v2/osspath/file/create
说明
创建文件或者文件夹。
Body参数
文件创建请求
名称 : 创建文件或文件夹请求标志 : 必填类型 : OSSCreateFileRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
201 | 创建成功 | |
400 | 请求参数无效 | |
403 | 1. 无权限访问创建文件或文件夹. 2. share 过期 | |
404 | Drive或者Share不存在. 如果Domain path 是 oss path, 而且Domain绑定的bucket不存在,也会返回404。 | |
409 | 同名文件夹或者同名文件已经存在。 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/create
请求 body
{
"content_md5" : "E10ADC3949BA59ABBE56E057F20F883E",
"content_type" : "application/json",
"name" : "pds.jpg",
"part_info_list" : [ {
"etag" : "0CC175B9C0F1B6A831C399E269772661",
"part_number" : 1,
"part_size" : 1024,
"upload_url" : "https://pds.data.aliyuncs.com/xxx/xxx?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx&partNumber=1&uploadId=0CC175B9C0F1B6A831C399E269772661"
} ],
"size" : 0,
"type" : "file",
"drive_id" : "1",
"parent_file_path" : "string",
"share_id" : "string"
}
HTTP响应示例
响应 201
{
"domain_id" : "domain",
"drive_id" : "1",
"file_path" : "/a/b/c.jpg",
"part_info_list" : "[",
"share_id" : "1",
"type" : "file",
"upload_id" : "C9DCFE5A82644AC7A02DB74C30C934A6"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 409
{
"code" : "AlreadyExist",
"message" : "{resource} has already exists. {extra_msg}"
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
删除文件或文件夹
POST /v2/osspath/file/delete
说明
指定文件或文件夹路径,删除文件或文件夹
Body参数
删除请求
名称 : 删除文件或文件夹请求标志 : 必填类型 : OSSDeleteFileRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
204 | 删除文件成功, 无response body | 无内容 |
400 | 1. 请求参数无效. 2. 请求body是无效的json格式 | |
403 | 1.无权限访问 get_signature 接口. 2. share 过期 | |
404 | 1. Drive或者Share不存在. 2. file_id 不存在. 3. 如果Domain path 是oss path, 而且domain绑定的bucket不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/delete
请求 body
{
"drive_id" : "1",
"file_path" : "string",
"permanently" : false,
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6"
}
HTTP响应示例
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
获取文件或文件夹信息
POST /v2/osspath/file/get
说明
获取指定文件或文件夹路径,获取文件或文件夹信息。
Body参数
请求参数
名称 : 获取文件或文件夹信息请求标志 : 必填类型 : OSSGetFileRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | ||
400 | 1. 请求参数无效. 2. 请求body是无效的json格式 | |
403 | 1.无权限访问 get_signature 接口. 2. share 过期 | |
404 | 1. Drive或者Share不存在. 2. file_id 不存在. 3. 如果Domain path 是oss path, 而且domain绑定的bucket不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/get
请求 body
{
"drive_id" : "1",
"file_path" : "string",
"image_thumbnail_process" : "image/resize,w_200",
"image_url_process" : "image/resize,w_200",
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6"
}
HTTP响应示例
响应 200
{
"content_hash" : "EA4942AA8761213890A5C386F88E6464D2C31CA3",
"content_hash_name" : "sha1",
"content_type" : "application/json",
"crc64_hash" : "string",
"created_at" : "2019-08-20T06:51:27.292Z",
"description" : "file description",
"domain_id" : "test001",
"download_url" : "https://pds.data.aliyuncs.com/hz22%2F5d5b986facbec311ef844c25954f96821497b383%2F5d5b986f955410dd991646bb87c6b4e899eff525?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx",
"drive_id" : "1",
"file_extension" : "jpg",
"file_path" : "/a.jpg",
"name" : "pds.jpg",
"parent_file_path" : "/",
"share_id" : "5d5b846942cf94fa72324c14a4bda34e81da635d",
"size" : 1024,
"status" : "available",
"thumbnail" : "https://pds.data.aliyuncs.com/hz22%2F5d5b986facbec311ef844c25954f96821497b383%2F5d5b986f955410dd991646bb87c6b4e899eff525?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx",
"trashed_at" : "string",
"type" : "file",
"updated_at" : "string",
"upload_id" : "C9DCFE5A82644AC7A02DB74C30C934A6",
"url" : "https://pds.data.aliyuncs.com/hz22%2F5d5b986facbec311ef844c25954f96821497b383%2F5d5b986f955410dd991646bb87c6b4e899eff525?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
获取文件下载地址
POST /v2/osspath/file/get_download_url
说明
指定文件路径,获取文件下载地址
Body参数
请求参数
名称 : 获取文件下载地址请求标志 : 必填类型 : OSSGetDownloadUrlRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | ||
400 | 1. 请求参数无效. 2. 请求body是无效的json格式 | |
403 | 1.无权限访问 get_signature 接口. 2. share 过期 | |
404 | 1. Drive或者Share不存在. 2. file_id 不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/get_download_url
请求 body
{
"drive_id" : "1",
"expire_sec" : 15,
"file_name" : "pds.jpg",
"file_path" : "/a/b/c.jpg",
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6"
}
HTTP响应示例
响应 200
{
"expiration" : "2006-01-02T15:04:05.999Z07:00",
"method" : "GET",
"url" : "https://pds.data.aliyuncs.com/hz22%2F5d79219b0aa9a7c995a94a96993ba3205cd91c5a%2F5d79219bf3261a5d38744da0834ed489b677a27a?Expires=xxxOSSAccessKeyId=xxx&Signature=xxx&response-content-disposition=attachment%3Bfilename%3DtBiZAoJPC2c8b13450eda4292b7f5f8010618e078.txt"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
获取文件分片的上传地址
POST /v2/osspath/file/get_upload_url
说明
可指定分片信息,一次获取多个分片的上传地址。
Body参数
请求参数
名称 : 获取文件分片上传地址请求标志 : 必填类型 : OSSGetUploadUrlRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | ||
400 | 1. 请求参数无效. 2. 请求body是无效的json格式 | |
403 | 1.无权限访问 get_signature 接口. 2. share 过期 | |
404 | 1. Drive或者Share不存在. 2. file_path 或者upload_id 不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/get_upload_url
请求 body
{
"content_md5" : "E10ADC3949BA59ABBE56E057F20F883E",
"drive_id" : "1",
"part_info_list" : [ ],
"upload_id" : "3920F2BE4D9446D6967E2ED505A97EFD",
"file_path" : "/a/b/c.jpg",
"share_id" : "1"
}
HTTP响应示例
响应 200
{
"create_at" : "2019-09-11T16:34:36.977Z",
"domain_id" : "test001",
"drive_id" : "1",
"file_path" : "/a/b/c.jpg",
"part_info_list" : [ ],
"upload_id" : "F3C25CDFA5C74ECB8DE32672F6211FD4"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
列举文件或者文件夹
POST /v2/osspath/file/list
说明
指定父文件夹路径,列举文件夹下的文件或者文件夹
Body参数
文件列举请求
名称 : 列举文件或文件夹请求标志 : 必填类型 : OSSListFileRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | 列举文件成功 | |
400 | 无效请求参数. | |
403 | 1. 无权限列举文件或文件夹. 2. share 过期 | |
404 | Drive或者Share不存在. 如果Domain path 是 oss path, 而且Domain绑定的bucket不存在,也会返回404。 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/list
请求 body
{
"drive_id" : "1",
"image_thumbnail_process" : "image/resize,w_200",
"image_url_process" : "image/resize,w_200",
"limit" : 10,
"marker" : "NWQ1Yjk4YmI1ZDRlYmU1Y2E0YWE0NmJhYWJmODBhNDQ2NzhlMTRhMg",
"parent_file_path" : "/a/b/c.jpg",
"share_id" : "1"
}
HTTP响应示例
响应 200
{
"items" : [ ],
"next_marker" : "NWQ1YmI4MjA0ZGU1ZWNjYzAzODM0ZDVkODlkMWJiMzcyNzM1NTU4OA"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
列举已上传分片
POST /v2/osspath/file/list_uploaded_parts
说明
列举UploadID对应的已上传分片。
Body参数
请求参数
名称 : 列举已上传分片请求标志 : 必填类型 : OSSListUploadedPartRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | 列举uploadID对应的已上传分片成功 | |
400 | 无效请求参数. | |
403 | 1. 无权列举uploadID对应的已上传分片. 2. share 过期 | |
404 | Drive或者Share不存在. 如果Domain path 是 oss path, 而且Domain绑定的bucket不存在,也会返回404。 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/list_uploaded_parts
请求 body
{
"drive_id" : "1",
"file_path" : "/a/b/c.jpg",
"limit" : 1,
"part_number_marker" : 1,
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6",
"upload_id" : "00668396C0814D818D90F0A92B04B355"
}
HTTP响应示例
响应 200
{
"file_path" : "/a/b/c.jpg",
"next_part_number_marker" : "4",
"upload_id" : "F3C25CDFA5C74ECB8DE32672F6211FD4",
"uploaded_parts" : [ ]
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
移动文件或文件夹
POST /v2/osspath/file/move
说明
指定源文件或文件夹路径,移动到指定的文件夹。
Body参数
请求参数
名称 : 移动文件或文件夹请求标志 : 必填类型 : OSSMoveFileRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | ||
400 | 1. 请求参数无效. 2. 请求body是无效的json格式 | |
403 | 1.无权限访问 get_signature 接口. 2. share 过期 | |
404 | 1. Drive或者Share不存在. 2. file_id 不存在. 3. 如果Domain path 是oss path, 而且domain绑定的bucket不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
file
HTTP请求示例
请求 path
/v2/osspath/file/move
请求 body
{
"drive_id" : "1",
"file_path" : "/a/b/c.jpg",
"new_name" : "pds.jpg",
"overwrite" : true,
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6",
"to_parent_file_path" : "/a/b/c/"
}
HTTP响应示例
响应 200
{
"async_task_id" : "000e89fb-cf8f-11e9-8ab4-b6e980803a3b",
"domain_id" : "test001",
"drive_id" : "1",
"file_path" : "/a/b/c.jpg",
"share_id" : "test001"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
创建共享
POST /v2/osspath/share/create
说明
创建共享。
Body参数
请求参数
名称 : 创建共享请求标志 : 必填类型 : CreateShareRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
201 | ||
400 | 参数错误 | |
403 | 无权限 | |
404 | 共享所属的Drive不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
share
HTTP请求示例
请求 path
/v2/osspath/share/create
请求 body
{
"description" : "share description",
"drive_id" : "1",
"expiration" : "2006-01-02T15:04:05.999Z",
"owner" : "abc",
"permissions" : [ ],
"share_file_path" : "string",
"share_name" : "share",
"status" : "enabled"
}
HTTP响应示例
响应 201
{
"domain_id" : "domain-1",
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
删除共享
POST /v2/osspath/share/delete
说明
删除指定共享
Body参数
请求参数
名称 : 删除共享请求标志 : 必填类型 : DeleteShareRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
204 | 执行成功,无返回Body | 无内容 |
400 | 参数错误 | |
403 | 无权限 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
share
HTTP请求示例
请求 path
/v2/osspath/share/delete
请求 body
{
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6"
}
HTTP响应示例
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
获取共享信息
POST /v2/osspath/share/get
说明
获取共享信息。
Body参数
请求参数
名称 : 获取共享信息请求标志 : 必填类型 : GetShareRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
301 | ||
400 | 参数错误 | |
403 | 没有权限 | |
404 | 共享所属的Drive不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
share
HTTP请求示例
请求 path
/v2/osspath/share/get
请求 body
{
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6"
}
HTTP响应示例
响应 301
{
"created_at" : "2006-01-02T15:04:05.999Z",
"creator" : "xxx",
"description" : "share description",
"domain_id" : "domain-1",
"drive_id" : "1",
"expiration" : "2006-01-02T15:04:05.999Z",
"expired" : false,
"owner" : "xxx",
"permissions" : [ ],
"share_file_path" : "/a/b/c/",
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6",
"share_name" : "new_share",
"status" : "enabled",
"updated_at" : "2006-01-02T15:04:05.999Z"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
列举共享
POST /v2/osspath/share/list
说明
列举指定用户的共享
Body参数
请求参数
名称 : 列举共享请求标志 : 必填类型 : ListShareRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | ||
400 | 参数错误 | |
403 | 无权限 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
share
HTTP请求示例
请求 path
/v2/osspath/share/list
请求 body
{
"creator" : "abc",
"limit" : 50,
"marker" : "string",
"owner" : "edf"
}
HTTP响应示例
响应 200
{
"items" : [ ],
"next_marker" : "string"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
修改共享
POST /v2/osspath/share/update
说明
修改指定共享
Body参数
请求参数
名称 : 修改共享请求标志 : 必填类型 : UpdateShareRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | ||
400 | 参数错误 | |
403 | 无权限 | |
404 | 共享所属的Drive不存在 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
share
HTTP请求示例
请求 path
/v2/osspath/share/update
请求 body
{
"description" : "share description",
"expiration" : "2006-01-02T15:04:05.999Z",
"permissions" : [ ],
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6",
"share_name" : "new_share_name",
"status" : "enabled"
}
HTTP响应示例
响应 200
{
"created_at" : "2006-01-02T15:04:05.999Z",
"creator" : "xxx",
"description" : "share description",
"domain_id" : "domain-1",
"drive_id" : "1",
"expiration" : "2006-01-02T15:04:05.999Z",
"expired" : false,
"owner" : "xxx",
"permissions" : [ ],
"share_file_path" : "/a/b/c/",
"share_id" : "3d336314-63c8-4d96-bce0-17aefb6833b6",
"share_name" : "new_share",
"status" : "enabled",
"updated_at" : "2006-01-02T15:04:05.999Z"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
列举store
POST /v2/osspath/store/list
说明
列举指定Domain下的store列表。
Body参数
请求参数
名称 : 列举store请求标志 : 必填类型 : ListStorageRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | ||
400 | 参数错误 | |
403 | 无权限 | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
store
HTTP请求示例
请求 path
/v2/osspath/store/list
请求 body
{
"domain_id" : "10"
}
HTTP响应示例
响应 200
{
"items" : [ ]
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
列举store_file
POST /v2/osspath/store_file/list
说明
列举指定store下的所有文件。
Body参数
请求参数
名称 : 列举store下文件请求标志 : 必填类型 : ListStorageFileRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | ||
400 | 参数错误 | |
403 | Domain的数据存储方式不是OSSPath | |
404 | Domain绑定的OSS Bucket不存在. | |
500 | 服务未知错误 | |
503 | 服务临时不可用 |
标签
store
HTTP请求示例
请求 path
/v2/osspath/store_file/list
请求 body
{
"limit" : 50,
"marker" : "string",
"parent_file_path" : "string",
"store_id" : "xxx",
"type" : "file"
}
HTTP响应示例
响应 200
{
"items" : [ ],
"next_marker" : "string"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
创建Drive
POST /v2/drive/create
说明
支持normal和large两种drive,large类型的drive用于文件数多的场景,不支持list操作,当drive的文件数量大于1亿时,建议使用large类型。
Body参数
请求参数
名称 : 创建Drive请求标志 : 必填类型 : CreateDriveRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
201 | 创建 drive 成功 | |
400 | 1. InvalidParameterError:请求参数不正确 2. InvalidRequestJSONFormatError 请求JSON格式错误 | |
403 | 1. ForbiddenNoPermissionError 没有drive接口权限 2. ForbiddenAccountNotFoundError 账号没找到 | |
500 | 服务内部故障 | |
503 | 服务临时不可用 |
标签
drive
HTTP请求示例
请求 path
/v2/drive/create
请求 body
{
"default" : true,
"description" : "pds team drive",
"drive_name" : "pdsdrive",
"drive_type" : "normal",
"owner" : "pds-001",
"relative_path" : "/d/e/f/",
"status" : "enabled",
"store_id" : "store_id",
"total_size" : 1024
}
HTTP响应示例
响应 201
{
"domain_id" : "hz999",
"drive_id" : "123"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
删除Drive
POST /v2/drive/delete
说明
删除指定drive_id对应的Drive
Body参数
请求参数
名称 : 删除Drive请求标志 : 必填类型 : DeleteDriveRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
204 | 无返回内容 | 无内容 |
400 | 1. InvalidParameterError:请求参数不正确 2. InvalidRequestJSONFormatError 请求JSON格式错误 | |
403 | 1.ForbiddenNoPermissionError 没有drive接口权限 2.ForbiddenAccountNotFoundError 账号没找到 | |
500 | 服务内部故障 | |
503 | 服务临时不可用 |
标签
drive
HTTP请求示例
请求 path
/v2/drive/delete
请求 body
{
"drive_id" : "123"
}
HTTP响应示例
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
获取Drive详细信息
POST /v2/drive/get
说明
获取指定drive_id对应的Drive详细信息。
Body参数
请求参数
名称 : 获取Drive信息请求标志 : 必填类型 : GetDriveRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | 获取drive信息成功 | |
400 | 1. InvalidParameterError:请求参数不正确 2. InvalidRequestJSONFormatError 请求JSON格式错误 | |
403 | 1.ForbiddenNoPermissionError 没有drive接口权限 2.ForbiddenAccountNotFoundError 账号没找到 | |
404 | 没有找到指定的drive | |
500 | 服务内部故障 | |
503 | 服务临时不可用 |
标签
drive
HTTP请求示例
请求 path
/v2/drive/get
请求 body
{
"drive_id" : "123"
}
HTTP响应示例
响应 200
{
"creator" : "pds",
"description" : "pds team drive",
"domain_id" : "hz999",
"drive_id" : "123",
"drive_name" : "pdsdrive",
"drive_type" : "normal",
"owner" : "pds",
"relative_path" : "/a/b/e/",
"status" : "enabled",
"store_id" : "123",
"total_size" : 102400,
"used_size" : 1024
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
获取默认Drive信息
POST /v2/drive/get_default_drive
说明
一个用户可拥有多个drive,在创建drive时通过参数指定是否为这个用户的默认drive,每个用户只能设置一个默认drive。
Body参数
请求参数
名称 : 获取默认Drive信息请求标志 : 必填类型 : GetDefaultDriveRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | 获取默认 drive 详细信息成功 | |
400 | 1. InvalidParameterError:请求参数不正确 2. InvalidRequestJSONFormatError 请求JSON格式错误 | |
403 | 1.ForbiddenNoPermissionError 没有drive接口权限 2.ForbiddenAccountNotFoundError 账号没找到 | |
404 | 默认 drive 没找到或未设置 | |
500 | 服务内部故障 | |
503 | 服务临时不可用 |
标签
drive
HTTP请求示例
请求 path
/v2/drive/get_default_drive
请求 body
{
"user_id" : "abc"
}
HTTP响应示例
响应 200
{
"creator" : "pds",
"description" : "pds team drive",
"domain_id" : "hz999",
"drive_id" : "123",
"drive_name" : "pdsdrive",
"drive_type" : "normal",
"owner" : "pds",
"relative_path" : "/a/b/e/",
"status" : "enabled",
"store_id" : "123",
"total_size" : 102400,
"used_size" : 1024
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
列举指定用户Drive
POST /v2/drive/list
说明
管理员列举指定用户的Drive
Body参数
请求参数
名称 : 列举指定用户Drive请求标志 : 必填类型 : ListDriveRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | 获取drive列表成功 | |
400 | 1. InvalidParameterError:请求参数不正确 2. InvalidRequestJSONFormatError 请求JSON格式错误 | |
403 | 1.ForbiddenNoPermissionError 没有drive接口权限 2.ForbiddenAccountNotFoundError 账号没找到 | |
500 | 服务内部故障 | |
503 | 服务临时不可用 |
标签
drive
HTTP请求示例
请求 path
/v2/drive/list
请求 body
{
"limit" : 10,
"marker" : "marker",
"owner" : "abc"
}
HTTP响应示例
响应 200
{
"items" : [ {
"creator" : "pds",
"description" : "pds team drive",
"domain_id" : "hz999",
"drive_id" : "123",
"drive_name" : "pdsdrive",
"drive_type" : "normal",
"owner" : "pds",
"relative_path" : "/a/b/e/",
"status" : "enabled",
"store_id" : "123",
"total_size" : 102400,
"used_size" : 1024
} ],
"next_marker" : "marker"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
列举当前用户的Drive
POST /v2/drive/list_my_drives
说明
列举当前用户(访问令牌)的Drive
Body参数
请求参数
名称 : 列举当前用户Drive请求标志 : 必填类型 : ListMyDriveRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | 获取drive列表成功 | |
400 | 1. InvalidParameterError:请求参数不正确 2. InvalidRequestJSONFormatError 请求JSON格式错误 | |
403 | 1.ForbiddenNoPermissionError 没有drive接口权限 2.ForbiddenAccountNotFoundError 账号没找到 | |
500 | 服务内部故障 | |
503 | 服务临时不可用 |
标签
drive
HTTP请求示例
请求 path
/v2/drive/list_my_drives
请求 body
{
"limit" : 10,
"marker" : "marker"
}
HTTP响应示例
响应 200
{
"items" : [ {
"creator" : "pds",
"description" : "pds team drive",
"domain_id" : "hz999",
"drive_id" : "123",
"drive_name" : "pdsdrive",
"drive_type" : "normal",
"owner" : "pds",
"relative_path" : "/a/b/e/",
"status" : "enabled",
"store_id" : "123",
"total_size" : 102400,
"used_size" : 1024
} ],
"next_marker" : "marker"
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
更新Drive信息
POST /v2/drive/update
说明
更新指定drive_id的Drive信息
Body参数
请求参数
名称 : 更新Drive信息请求标志 : 必填类型 : UpdateDriveRequest
响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | 更新drive成功 | |
400 | 1. InvalidParameterError:请求参数不正确 2. InvalidRequestJSONFormatError 请求JSON格式错误 | |
403 | 1.ForbiddenNoPermissionError 没有drive接口权限 2.ForbiddenAccountNotFoundError 账号没找到 | |
404 | drive没找到 | |
500 | 服务内部故障 | |
503 | 服务临时不可用 |
标签
drive
HTTP请求示例
请求 path
/v2/drive/update
请求 body
{
"description" : "pds team drive",
"drive_id" : "123",
"drive_name" : "pdsdrive",
"status" : "enabled",
"total_size" : 1024
}
HTTP响应示例
响应 200
{
"creator" : "pds",
"description" : "pds team drive",
"domain_id" : "hz999",
"drive_id" : "123",
"drive_name" : "pdsdrive",
"drive_type" : "normal",
"owner" : "pds",
"relative_path" : "/a/b/e/",
"status" : "enabled",
"store_id" : "123",
"total_size" : 102400,
"used_size" : 1024
}
响应 400
{
"code" : "InvalidParameter",
"message" : "The input parameter {parameter_name} is not valid."
}
响应 403
{
"code" : "ForbiddenNoPermission",
"message" : "No Permission to access resource {resource_name}."
}
响应 404
{
"code" : "NotFound",
"message" : "The resource {resource_name} cannot be found. Please check."
}
响应 500
{
"code" : "InternalError",
"message" : "The request has been failed due to some unknown error."
}
响应 503
{
"code" : "ServiceUnavailable",
"message" : "The request has failed due to a temporary failure of the server."
}
定义
APIError
APIError is api error common struct
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
AlreadyExistError
AlreadyExistError 已经存在错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
BasePDSFileResponse
Base file response
名称 | 说明 | 类型 |
---|---|---|
category可选 | category 样例 : | enum (doc, image, audio, video) |
content_hash可选 | Content Hash 样例 : | string |
content_hash_name可选 | content_hash_name 样例 : | enum (sha1) |
content_type可选 | content_type 样例 : | string |
crc64_hash可选 | crc64_hash 样例 : | string |
created_at可选 | created_at 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | DomainID 模式 : | string |
download_url可选 | download_url 样例 : | string |
drive_id可选 | drive_id 模式 : | string |
file_extension可选 | file_extension 样例 : | string |
file_id可选 | file_id 长度 : | string |
hidden可选 | Hiddentype: boolean 样例 : | boolean |
image_media_metadata可选 | 样例 : | |
labels可选 | labels 样例 : | < string > array |
meta可选 | meta 样例 : | string |
name必填 | name 模式 : | string |
parent_file_id可选 | parent_file_id 长度 : | string |
size可选 | Size 最小值 : | integer (int64) |
starred可选 | starredtype: boolean 样例 : | boolean |
status可选 | status 样例 : | enum (uploading, available) |
thumbnail可选 | thumbnail 样例 : | string |
trashed_at可选 | trashed_at 样例 : | string (date-time) |
type可选 | type 样例 : | enum (file, folder) |
updated_at可选 | updated_at 样例 : | string (date-time) |
upload_id可选 | upload_id 样例 : | string |
url可选 | url 样例 : | string |
BaseCompleteFileRequest
complete file request
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
upload_id可选 | upload_id 样例 : | string |
BaseCreateFileRequest
create file request
名称 | 说明 | 类型 |
---|---|---|
content_md5必填 | ContentMd5 样例 : | string |
content_type必填 | ContentType 样例 : | string |
name必填 | Name 模式 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
size必填 | Size 最小值 : | integer (int64) |
type必填 | Type 样例 : | enum (file, folder) |
BaseDriveResponse
Base drive response
名称 | 说明 | 类型 |
---|---|---|
creator可选 | Drive 创建者 样例 : | string |
description可选 | Drive 备注信息 样例 : | string |
domain_id可选 | Domain ID 样例 : | string |
drive_id可选 | Drive ID 样例 : | string |
drive_name可选 | Drive 名称 样例 : | string |
drive_type可选 | Drive 类型 样例 : | string |
owner可选 | Drive 所有者 样例 : | string |
relative_path可选 | Drive存储基于store的相对路径,domain的PathType为OSSPath时返回 样例 : | string |
status可选 | Drive 状态 样例 : | string |
store_id可选 | 存储 ID, domain的PathType为OSSPath时返回 样例 : | string |
total_size可选 | Drive 空间总量 样例 : | integer (int64) |
used_size可选 | Drive 空间已使用量 样例 : | integer (int64) |
BaseGetUploadUrlRequest
获取文件上传URL
名称 | 说明 | 类型 |
---|---|---|
content_md5可选 | content_md5 最大长度 : | string |
drive_id必填 | drive_id 模式 : | string |
part_info_list可选 | upload_part_list 样例 : | < UploadPartInfo > array |
upload_id必填 | upload_id 样例 : | string |
BaseListFileRequest
list file request
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
image_thumbnail_process可选 | image_thumbnail_process 样例 : | string |
image_url_process可选 | image_url_process 样例 : | string |
limit可选 | limit 默认值 : | integer (int64) |
marker可选 | marker 样例 : | string |
BaseMoveFileRequest
文件移动请求
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
new_name可选 | new_name 模式 : | string |
overwrite可选 | overwritetype: boolean 默认值 : | boolean |
BaseOSSFileResponse
Base file response
名称 | 说明 | 类型 |
---|---|---|
content_hash可选 | Content Hash 样例 : | string |
content_hash_name可选 | content_hash_name 样例 : | enum (sha1) |
content_type可选 | content_type 样例 : | string |
crc64_hash可选 | crc64_hash 样例 : | string |
created_at可选 | created_at 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
download_url可选 | download_url 样例 : | string |
drive_id可选 | drive_id 模式 : | string |
file_extension可选 | file_extension 样例 : | string |
file_path可选 | file_path 样例 : | string |
name必填 | name 模式 : | string |
parent_file_path可选 | parent_file_id 长度 : | string |
share_id可选 | share_id 模式 : | string |
size可选 | Size 最小值 : | integer (int64) |
status可选 | status 样例 : | enum (uploading, available) |
thumbnail可选 | thumbnail 样例 : | string |
trashed_at可选 | trashed_at 样例 : | string (date-time) |
type可选 | type 样例 : | enum (file, folder) |
updated_at可选 | updated_at 样例 : | string (date-time) |
upload_id可选 | upload_id 样例 : | string |
url可选 | url 样例 : | string |
List share response
名称 | 说明 | 类型 |
---|---|---|
created_at可选 | created_at 样例 : | string |
creator可选 | creator 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | domain_id 样例 : | string |
drive_id可选 | drive_id 样例 : | string |
expiration可选 | expiration 样例 : | string |
expired可选 | expired 样例 : | boolean |
owner可选 | owner 样例 : | string |
permissions可选 | permissions 样例 : | < string > array |
share_file_path可选 | share_path 样例 : | string |
share_id可选 | share_id 样例 : | string |
share_name可选 | share_name 样例 : | string |
status可选 | status 样例 : | string |
updated_at可选 | updated_at 样例 : | string |
BatchSubRequest
名称 | 说明 | 类型 |
---|---|---|
body可选 | body 子请求的请求参数 json 字符串,可参考对于子请求文档, 当指定了body 必须传headers : “Content-Type” 对应的类型,目前子请求入参是”application/json” 样例 : | < string, object > map |
headers可选 | headers 请求头,表示body传入数据的类型 样例 : | < string, string > map |
id必填 | id 用于request 和 response关联, 不允许重复 样例 : | string |
method必填 | method 样例 : | enum (POST, GET, PUT, DELETE, HEAD) |
url必填 | url 子请求的api path路径, 可参考对于子请求文档 样例 : | string |
BatchSubResponse
名称 | 说明 | 类型 |
---|---|---|
body可选 | body 子请求的返回结果,可参考对于子请求文档 json 字符串 样例 : | < string, object > map |
id可选 | id 请求带过来的id, 可以跟 request 进行关联 样例 : | string |
status可选 | status 子请求的返回状态码,可参考对于子请求文档 样例 : | integer (int64) |
PDSBatchRequest
批处理
名称 | 说明 | 类型 |
---|---|---|
requests必填 | Requests 请求合集 样例 : | < BatchSubRequest > array |
resource必填 | 支持的资源类型 样例 : | string |
PDSBatchResponse
batch operation response
名称 | 说明 | 类型 |
---|---|---|
responses可选 | responses 返回结果合集 样例 : | < BatchSubResponse > array |
PDSCompleteFileRequest
合并文件上传任务
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id必填 | file_id 长度 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
upload_id可选 | upload_id 样例 : | string |
PDSCompleteFileResponse
complete file response
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
category可选 | category 样例 : | enum (doc, image, audio, video) |
content_hash可选 | Content Hash 样例 : | string |
content_hash_name可选 | content_hash_name 样例 : | enum (sha1) |
content_type可选 | content_type 样例 : | string |
crc可选 | crc 样例 : | string |
crc64_hash可选 | crc64_hash 样例 : | string |
created_at可选 | created_at 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | DomainID 模式 : | string |
download_url可选 | download_url 样例 : | string |
drive_id可选 | drive_id 模式 : | string |
file_extension可选 | file_extension 样例 : | string |
file_id可选 | file_id 长度 : | string |
hidden可选 | Hiddentype: boolean 样例 : | boolean |
image_media_metadata可选 | 样例 : | |
labels可选 | labels 样例 : | < string > array |
meta可选 | meta 样例 : | string |
name必填 | name 模式 : | string |
parent_file_id可选 | parent_file_id 长度 : | string |
size可选 | Size 最小值 : | integer (int64) |
starred可选 | starredtype: boolean 样例 : | boolean |
status可选 | status 样例 : | enum (uploading, available) |
thumbnail可选 | thumbnail 样例 : | string |
trashed_at可选 | trashed_at 样例 : | string (date-time) |
type可选 | type 样例 : | enum (file, folder) |
updated_at可选 | updated_at 样例 : | string (date-time) |
upload_id可选 | upload_id 样例 : | string |
url可选 | url 样例 : | string |
PDSCopyFileRequest
文件拷贝
名称 | 说明 | 类型 |
---|---|---|
auto_rename可选 | auto_renametype: boolean 默认值 : | boolean |
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
new_name必填 | new_name 模式 : | string |
to_drive_id必填 | to_drive_id 模式 : | string |
to_parent_file_id必填 | toparent_file_id 长度 : | string |
PDSCopyFileResponse
文件拷贝 response
名称 | 说明 | 类型 |
---|---|---|
async_task_id可选 | async_task_id 样例 : | string |
domain_id可选 | DomainID 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
file_id可选 | file_id 长度 : | string |
PDSCreateFileRequest
创建文件
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
auto_rename可选 | auto_rename 默认值 : | boolean |
content_hash可选 | content_hash 样例 : | string |
content_hash_name可选 | content_hash_name 样例 : | enum (sha1) |
content_md5必填 | ContentMd5 样例 : | string |
content_type必填 | ContentType 样例 : | string |
description可选 | description 长度 : | string |
drive_id必填 | drive_id 模式 : | string |
hidden可选 | hidden 样例 : | boolean |
labels可选 | labels 样例 : | < string > array |
meta可选 | meta 样例 : | string |
name必填 | Name 模式 : | string |
parent_file_id必填 | parent_file_id 长度 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
pre_hash可选 | pre_hash 样例 : | string |
size必填 | Size 最小值 : | integer (int64) |
type必填 | Type 样例 : | enum (file, folder) |
PDSCreateFileResponse
Create file response
名称 | 说明 | 类型 |
---|---|---|
domain_id可选 | domain_id 长度 : | string |
drive_id可选 | drive_id 模式 : | string |
file_id可选 | file_id 长度 : | string |
parent_file_id可选 | parent_file_id 长度 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
rapid_upload可选 | rapid_uploadtype: boolean 样例 : | boolean |
type可选 | type 样例 : | enum (file, folder) |
upload_id可选 | upload_id 样例 : | string |
PDSDeleteFileRequest
删除文件请求
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
permanently可选 | permanentlytype: false 默认值 : | boolean |
PDSDeleteFileResponse
删除文件 response
名称 | 说明 | 类型 |
---|---|---|
async_task_id可选 | async_task_id 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
file_id可选 | file_id 长度 : | string |
PDSDeleteFilesRequest
批量删除文件请求
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id_list必填 | file_id_list 样例 : | < string > array |
PDSDeleteFilesResponse
批量删除文件 response
名称 | 说明 | 类型 |
---|---|---|
deleted_file_id_list可选 | deleted_file_id_list 样例 : | < string > array |
domain_id可选 | domain_id 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
PDSGetAsyncTaskRequest
获取异步人去信息
名称 | 说明 | 类型 |
---|---|---|
async_task_id可选 | async_task_idtype:string 样例 : | string |
PDSGetAsyncTaskResponse
Get AsyncTask Response
名称 | 说明 | 类型 |
---|---|---|
async_task_id可选 | async_task_idtype:string 样例 : | string |
message可选 | message 样例 : | string |
state可选 | state 样例 : | enum (Running, Failed, Succeed) |
PDSGetDownloadUrlRequest
获取文件下载地址的请求body
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
expire_sec可选 | expire_sec 默认值 : | integer (int64) |
file_id必填 | fileid 长度 : | string |
file_name必填 | file_name 模式 : | string |
PDSGetDownloadUrlResponse
获取download url response
名称 | 说明 | 类型 |
---|---|---|
expiration可选 | expiration 样例 : | string |
method可选 | method 样例 : | string |
url可选 | url 样例 : | string |
PDSGetFileRequest
获取文件元数据
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
image_thumbnail_process可选 | image_thumbnail_processtype:string 样例 : | string |
image_url_process可选 | image_thumbnail_processtype:string 样例 : | string |
PDSGetFileResponse
获取文件元数据response
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
category可选 | category 样例 : | enum (doc, image, audio, video) |
content_hash可选 | Content Hash 样例 : | string |
content_hash_name可选 | content_hash_name 样例 : | enum (sha1) |
content_type可选 | content_type 样例 : | string |
crc64_hash可选 | crc64_hash 样例 : | string |
created_at可选 | created_at 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | DomainID 模式 : | string |
download_url可选 | download_url 样例 : | string |
drive_id可选 | drive_id 模式 : | string |
file_extension可选 | file_extension 样例 : | string |
file_id可选 | file_id 长度 : | string |
hidden可选 | Hiddentype: boolean 样例 : | boolean |
image_media_metadata可选 | 样例 : | |
labels可选 | labels 样例 : | < string > array |
meta可选 | meta 样例 : | string |
name必填 | name 模式 : | string |
parent_file_id可选 | parent_file_id 长度 : | string |
size可选 | Size 最小值 : | integer (int64) |
starred可选 | starredtype: boolean 样例 : | boolean |
status可选 | status 样例 : | enum (uploading, available) |
thumbnail可选 | thumbnail 样例 : | string |
trashed_at可选 | trashed_at 样例 : | string (date-time) |
type可选 | type 样例 : | enum (file, folder) |
updated_at可选 | updated_at 样例 : | string (date-time) |
upload_id可选 | upload_id 样例 : | string |
url可选 | url 样例 : | string |
PDSGetUploadUrlRequest
获取文件上传URL
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
content_md5可选 | content_md5 最大长度 : | string |
drive_id必填 | drive_id 模式 : | string |
file_id必填 | file_id 长度 : | string |
part_info_list可选 | upload_part_list 样例 : | < UploadPartInfo > array |
upload_id必填 | upload_id 样例 : | string |
PDSGetUploadUrlResponse
Get UploadUrl Response
名称 | 说明 | 类型 |
---|---|---|
create_at可选 | created_at 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
file_id可选 | file_id 长度 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
upload_id可选 | upload_id 样例 : | string |
PDSListFileRequest
列举文件
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
all可选 | all 默认值 : | boolean |
category可选 | category 样例 : | enum (image, video, music, doc, other) |
drive_id必填 | drive_id 模式 : | string |
image_thumbnail_process可选 | image_thumbnail_process 样例 : | string |
image_url_process可选 | image_url_process 样例 : | string |
limit可选 | limit 默认值 : | integer (int64) |
marker可选 | marker 样例 : | string |
order_by可选 | order_by 样例 : | enum (update_time, name) |
order_direction可选 | order_direction 样例 : | enum (ASC, DESC) |
parent_file_id必填 | ParentFileID 长度 : | string |
status可选 | status 默认值 : | enum (uploading, available) |
type可选 | type 样例 : | enum (file, folder) |
PDSListFileResponse
List file response
名称 | 说明 | 类型 |
---|---|---|
items可选 | items 样例 : | < BasePDSFileResponse > array |
next_marker可选 | next_marker 样例 : | string |
PDSListUploadedPartRequest
列举uploadID对应的已上传分片
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
limit必填 | limit 默认值 : | integer (int64) |
part_number_marker可选 | part_number_marker 最小值 : | integer (int64) |
upload_id可选 | upload_id 样例 : | string |
PDSListUploadedPartResponse
获取签名 response
名称 | 说明 | 类型 |
---|---|---|
file_id可选 | file_id 长度 : | string |
next_part_number_marker可选 | next_part_number_marker 样例 : | string |
upload_id可选 | upload_id 样例 : | string |
uploaded_parts可选 | uploaded_parts 样例 : | < UploadPartInfo > array |
PDSMoveFileRequest
文件移动请求
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
new_name可选 | new_name 模式 : | string |
overwrite可选 | overwritetype: boolean 默认值 : | boolean |
to_parent_file_id必填 | to_parent_file_id 长度 : | string |
PDSMoveFileResponse
文件移动 response
名称 | 说明 | 类型 |
---|---|---|
async_task_id可选 | async_task_id 样例 : | string |
domain_id可选 | DomainID 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
file_id可选 | file_id 长度 : | string |
PDSSearchFileRequest
搜索文件元数据
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
image_thumbnail_process可选 | image_thumbnail_process 样例 : | string |
image_url_process可选 | image_url_process 样例 : | string |
limit可选 | limit 默认值 : | integer (int32) |
marker可选 | Marker 样例 : | string |
order_by可选 | order_by 默认值 : | enum (name, created_at, updated_at, size) |
query可选 | query 最大长度 : | string |
PDSSearchFileResponse
search file response
名称 | 说明 | 类型 |
---|---|---|
items可选 | items 样例 : | < BasePDSFileResponse > array |
next_marker可选 | next_marker 样例 : | string |
PDSUpdateFileMetaRequest
更新文件元数据
名称 | 说明 | 类型 |
---|---|---|
description可选 | descriptiontype: string 最大长度 : | string |
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
hidden可选 | hiddentype: boolean 默认值 : | boolean |
labels可选 | labels 样例 : | < string > array |
meta可选 | meta 样例 : | string |
name必填 | name 模式 : | string |
starred可选 | starredtype: boolean 默认值 : | boolean |
PDSUpdateFileMetaResponse
更新文件元数据 response
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
category可选 | category 样例 : | enum (doc, image, audio, video) |
content_hash可选 | Content Hash 样例 : | string |
content_hash_name可选 | content_hash_name 样例 : | enum (sha1) |
content_type可选 | content_type 样例 : | string |
crc64_hash可选 | crc64_hash 样例 : | string |
created_at可选 | created_at 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | DomainID 模式 : | string |
download_url可选 | download_url 样例 : | string |
drive_id可选 | drive_id 模式 : | string |
file_extension可选 | file_extension 样例 : | string |
file_id可选 | file_id 长度 : | string |
hidden可选 | Hiddentype: boolean 样例 : | boolean |
image_media_metadata可选 | 样例 : | |
labels可选 | labels 样例 : | < string > array |
meta可选 | meta 样例 : | string |
name必填 | name 模式 : | string |
parent_file_id可选 | parent_file_id 长度 : | string |
size可选 | Size 最小值 : | integer (int64) |
starred可选 | starredtype: boolean 样例 : | boolean |
status可选 | status 样例 : | enum (uploading, available) |
thumbnail可选 | thumbnail 样例 : | string |
trashed_at可选 | trashed_at 样例 : | string (date-time) |
type可选 | type 样例 : | enum (file, folder) |
updated_at可选 | updated_at 样例 : | string (date-time) |
upload_id可选 | upload_id 样例 : | string |
url可选 | url 样例 : | string |
CompleteFileRequest
complete file request
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id必填 | file_id 长度 : | string |
file_path可选 | 样例 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
share_id可选 | 样例 : | string |
upload_id必填 | upload_id 样例 : | string |
CopyFileRequest
copy file request
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
file_path可选 | 样例 : | string |
new_name必填 | new_name 模式 : | string |
overwrite可选 | overwritetype: boolean 默认值 : | boolean |
share_id可选 | 样例 : | string |
to_drive_id必填 | to_drive_id 模式 : | string |
to_parent_file_id必填 | toparent_file_id 长度 : | string |
to_parent_file_path可选 | 样例 : | string |
to_share_id可选 | 样例 : | string |
CreateDriveRequest
create drive request
名称 | 说明 | 类型 |
---|---|---|
default可选 | 是否默认drive, 只允许设置一个默认drive 默认值 : | boolean |
description可选 | 描述信息 样例 : | string |
drive_name必填 | Drive 名称 样例 : | string |
drive_type可选 | Drive类型 默认值 : | enum (normal, large) |
owner必填 | 所属者 样例 : | string |
relative_path可选 | domain的PathType为OSSPath时必选。 Drive存储基于store的相对路径 样例 : | string |
status可选 | 状态 默认值 : | enum (disabled, enabled) |
store_id可选 | StoreID , domain的PathType为OSSPath时必选 样例 : | string |
total_size可选 | 总大小,单位Byte [如果设置 -1 代表不限制] 默认值 : | integer (int64) |
CreateDriveResponse
Create drive response
名称 | 说明 | 类型 |
---|---|---|
domain_id可选 | Domain ID 样例 : | string |
drive_id可选 | Drive ID 样例 : | string |
CreateFileRequest
create file request
名称 | 说明 | 类型 |
---|---|---|
content_hash可选 | ContentHash 样例 : | string |
content_hash_name可选 | ContentHashName 样例 : | enum (sha1) |
content_md5可选 | ContentMd5 最大长度 : | string |
content_type必填 | ContentType 样例 : | string |
description可选 | Description 长度 : | string |
drive_id必填 | DriveID 模式 : | string |
hidden可选 | Hidden 样例 : | boolean |
meta可选 | Meta 样例 : | string |
name必填 | name 模式 : | string |
parent_file_id必填 | parent_file_id 长度 : | string |
parent_file_path可选 | ParentFilePath 样例 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
pre_hash可选 | pre_hash 样例 : | string |
share_id可选 | ShareID 样例 : | string |
size必填 | Size 最小值 : | integer (int64) |
tags可选 | tags 样例 : | < string, object > map |
type必填 | Type 样例 : | enum (file, folder) |
create share request
名称 | 说明 | 类型 |
---|---|---|
description可选 | description 样例 : | string |
drive_id必填 | drive_id 模式 : | string |
expiration可选 | expiration 样例 : | string |
owner必填 | creator 样例 : | string |
permissions可选 | permissions 样例 : | < string > array |
share_file_path必填 | share_file_path 样例 : | string |
share_name可选 | share_name 样例 : | string |
status可选 | status 样例 : | enum (enabled, disabled) |
Create share response
名称 | 说明 | 类型 |
---|---|---|
domain_id可选 | domain_id 样例 : | string |
share_id可选 | share_id 样例 : | string |
DeleteDriveRequest
Delete drive request
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | Drive ID 样例 : | string |
DeleteDriveResponse
delete drive response
类型 : object
DeleteFileRequest
删除文件请求
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
file_path可选 | 样例 : | string |
permanently可选 | 样例 : | boolean |
share_id可选 | 样例 : | string |
delete share request
名称 | 说明 | 类型 |
---|---|---|
share_id必填 | share_id 样例 : | string |
DownloadRequest
下载文件请求body
名称 | 说明 | 类型 |
---|---|---|
DriveID必填 | drive_id 模式 : | string |
FileID必填 | fileid 长度 : | string |
ImageProcess可选 | image_process 样例 : | string |
ShareID可选 | 样例 : | string |
DriveRelativePathNestedError
DriveRelativePathNestedError 路径嵌套错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ForbiddenAccountInDebtError
ForbiddenAccountInDebtError 账号欠费错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ForbiddenAccountNotFoundError
ForbiddenAccountNotFoundError 账号没找到错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ForbiddenError
ForbiddenError 被禁止错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ForbiddenNoPermissionError
ForbiddenNoPermissionError 没有权限错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ForbiddenRiskControlError
ForbiddenRiskControlError 风险控制禁止访问错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ForbiddenServiceRoleError
ForbiddenServiceRoleError 服务角色禁止访问错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
GetAsyncTaskRequest
获取异步人去信息
名称 | 说明 | 类型 |
---|---|---|
async_task_id可选 | async_task_idtype:string 样例 : | string |
GetDefaultDriveRequest
Get default drive request
名称 | 说明 | 类型 |
---|---|---|
user_id可选 | 用户ID 样例 : | string |
GetDownloadUrlRequest
获取文件下载地址的请求body
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
expire_sec可选 | expire_sec 默认值 : | integer (int64) |
file_id必填 | fileid 长度 : | string |
file_name必填 | file_name 模式 : | string |
file_path可选 | 样例 : | string |
share_id可选 | 样例 : | string |
GetDriveRequest
Get drive request
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | Drive ID 样例 : | string |
GetDriveResponse
Get drive response
名称 | 说明 | 类型 |
---|---|---|
creator可选 | Drive 创建者 样例 : | string |
description可选 | Drive 备注信息 样例 : | string |
domain_id可选 | Domain ID 样例 : | string |
drive_id可选 | Drive ID 样例 : | string |
drive_name可选 | Drive 名称 样例 : | string |
drive_type可选 | Drive 类型 样例 : | string |
owner可选 | Drive 所有者 样例 : | string |
relative_path可选 | Drive存储基于store的相对路径,domain的PathType为OSSPath时返回 样例 : | string |
status可选 | Drive 状态 样例 : | string |
store_id可选 | 存储 ID, domain的PathType为OSSPath时返回 样例 : | string |
total_size可选 | Drive 空间总量 样例 : | integer (int64) |
used_size可选 | Drive 空间已使用量 样例 : | integer (int64) |
GetFileRequest
获取文件元数据
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
file_path可选 | 样例 : | string |
image_thumbnail_process可选 | image_thumbnail_processtype:string 样例 : | string |
image_url_process可选 | image_thumbnail_processtype:string 样例 : | string |
share_id可选 | 样例 : | string |
get share request
名称 | 说明 | 类型 |
---|---|---|
share_id可选 | share_id 样例 : | string |
Get share response
名称 | 说明 | 类型 |
---|---|---|
created_at可选 | created_at 样例 : | string |
creator可选 | creator 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | domain_id 样例 : | string |
drive_id可选 | drive_id 样例 : | string |
expiration可选 | expiration 样例 : | string |
expired可选 | expired 样例 : | boolean |
owner可选 | owner 样例 : | string |
permissions可选 | permissions 样例 : | < string > array |
share_file_path可选 | share_path 样例 : | string |
share_id可选 | share_id 样例 : | string |
share_name可选 | share_name 样例 : | string |
status可选 | status 样例 : | string |
updated_at可选 | updated_at 样例 : | string |
GetUploadUrlRequest
获取文件上传URL
名称 | 说明 | 类型 |
---|---|---|
content_md5可选 | content_md5 最大长度 : | string |
drive_id必填 | drive_id 模式 : | string |
file_id必填 | file_id 长度 : | string |
file_path可选 | 样例 : | string |
part_info_list可选 | upload_part_list 样例 : | < UploadPartInfo > array |
share_id可选 | 样例 : | string |
upload_id必填 | upload_id 样例 : | string |
HTTPMethodNotAllowedError
HTTPMethodNotAllowedError 内部错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ImageMediaResponse
名称 | 说明 | 类型 |
---|---|---|
height可选 | height 默认值 : | integer (int64) |
time可选 | time 样例 : | string (date-time) |
width可选 | width 默认值 : | integer (int64) |
IncorrectStatusError
IncorrectStatusError 状态不正确错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InternalErrorError
InternalErrorError 内部错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidHeaderError
InvalidHeaderError 请求头不合法错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidParameterEmptyError
InvalidParameterEmptyError 参数为空错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidParameterError
InvalidParameterError 参数非法错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidParameterExpiredError
InvalidParameterExpiredError 参数已经过期错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidParameterMissingError
InvalidParameterMissingError 参数缺失
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidParameterNotMatchError
InvalidParameterNotMatchError 参数不匹配错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidParameterNotSupportedError
InvalidParameterNotSupportedError 参数不支持错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidParameterOutOfRangeError
InvalidParameterOutOfRangeError 参数超过范围错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidParameterWrongFormatError
InvalidParameterWrongFormatError 参数格式错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidRequestJSONFormatError
InvalidRequestJSONFormatError 请求JSON格式错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidResourceError
InvalidResourceError 非法资源错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidResourceIsEmptyError
InvalidResourceIsEmptyError 资源为空错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
InvalidResourceUnsupportedError
InvalidResourceUnsupportedError 资源不支持错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ListDriveRequest
List drive request
名称 | 说明 | 类型 |
---|---|---|
limit可选 | 每页大小限制 默认值 : | integer (int32) |
marker可选 | 翻页标记, 接口返回的标记值 样例 : | string |
owner可选 | 所属者 样例 : | string |
ListDriveResponse
list drive response
名称 | 说明 | 类型 |
---|---|---|
items可选 | Drive 列表 样例 : | < BaseDriveResponse > array |
next_marker可选 | 翻页标记 样例 : | string |
ListFileRequest
list file request
名称 | 说明 | 类型 |
---|---|---|
all可选 | all 样例 : | boolean |
drive_id必填 | drive_id 模式 : | string |
image_thumbnail_process可选 | image_thumbnail_process 样例 : | string |
image_url_process可选 | image_url_process 样例 : | string |
limit可选 | limit 默认值 : | integer (int64) |
marker可选 | marker 样例 : | string |
parent_file_id必填 | ParentFileID 长度 : | string |
parent_file_path可选 | 样例 : | string |
share_id可选 | 样例 : | string |
status可选 | status 样例 : | enum (uploading, available) |
ListMyDriveRequest
List my drive request
名称 | 说明 | 类型 |
---|---|---|
limit可选 | 每页大小限制 默认值 : | integer (int32) |
marker可选 | 翻页标记, 接口返回的标记值 样例 : | string |
list share request
名称 | 说明 | 类型 |
---|---|---|
creator必填 | creator 样例 : | string |
limit必填 | limit 最小值 : | integer (int32) |
marker可选 | marker 样例 : | string |
owner必填 | creator 样例 : | string |
List share response
名称 | 说明 | 类型 |
---|---|---|
items可选 | items 样例 : | < BaseShareResponse > array |
next_marker可选 | next_marker 样例 : | string |
ListStorageFileRequest
list storage file
名称 | 说明 | 类型 |
---|---|---|
limit可选 | limit 默认值 : | integer (int64) |
marker可选 | marker 样例 : | string |
parent_file_path可选 | parent_file_path 样例 : | string |
store_id可选 | store_id 样例 : | string |
type可选 | type 样例 : | enum (file, folder) |
ListStorageFileResponse
List storage file
名称 | 说明 | 类型 |
---|---|---|
items可选 | itemsfile list 样例 : | < StoreFile > array |
next_marker可选 | 样例 : | string |
ListStorageRequest
list storage file
名称 | 说明 | 类型 |
---|---|---|
domain_id可选 | domain_id 样例 : | string |
ListStorageResponse
List storage
名称 | 说明 | 类型 |
---|---|---|
items可选 | items 样例 : | < StoreItemResponse > array |
NotEmptyError
NotEmptyError 不为空错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
NotFoundError
NotFoundError 没有找到错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
OSSCompleteFileRequest
complete file request
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_path可选 | 样例 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
share_id可选 | 样例 : | string |
upload_id可选 | upload_id 样例 : | string |
OSSCompleteFileResponse
complete file response
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
content_hash可选 | Content Hash 样例 : | string |
content_hash_name可选 | content_hash_name 样例 : | enum (sha1) |
content_type可选 | content_type 样例 : | string |
crc可选 | crc 样例 : | string |
crc64_hash可选 | crc64_hash 样例 : | string |
created_at可选 | created_at 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
download_url可选 | download_url 样例 : | string |
drive_id可选 | drive_id 模式 : | string |
file_extension可选 | file_extension 样例 : | string |
file_path可选 | file_path 样例 : | string |
name必填 | name 模式 : | string |
parent_file_path可选 | parent_file_id 长度 : | string |
share_id可选 | share_id 模式 : | string |
size可选 | Size 最小值 : | integer (int64) |
status可选 | status 样例 : | enum (uploading, available) |
thumbnail可选 | thumbnail 样例 : | string |
trashed_at可选 | trashed_at 样例 : | string (date-time) |
type可选 | type 样例 : | enum (file, folder) |
updated_at可选 | updated_at 样例 : | string (date-time) |
upload_id可选 | upload_id 样例 : | string |
url可选 | url 样例 : | string |
OSSCopyFileRequest
copy file request
名称 | 说明 | 类型 |
---|---|---|
drive_id可选 | drive_id 模式 : | string |
file_path可选 | file_path 样例 : | string |
new_name必填 | new_name 模式 : | string |
overwrite可选 | overwritetype: boolean 默认值 : | boolean |
share_id可选 | share_id 模式 : | string |
to_drive_id必填 | to_drive_id 模式 : | string |
to_parent_file_path必填 | to_parent_file_path 样例 : | string |
to_share_id可选 | share_id 样例 : | string |
OSSCopyFileResponse
文件拷贝 response
名称 | 说明 | 类型 |
---|---|---|
async_task_id可选 | async_task_id 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
file_path可选 | file_path 样例 : | string |
share_id可选 | drive_id 模式 : | string |
OSSCreateFileRequest
create file request
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
content_md5必填 | ContentMd5 样例 : | string |
content_type必填 | ContentType 样例 : | string |
drive_id必填 | drive_id 模式 : | string |
name必填 | Name 模式 : | string |
parent_file_path必填 | parent_file_path 样例 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
share_id可选 | share_id 长度 : | string |
size必填 | Size 最小值 : | integer (int64) |
type必填 | Type 样例 : | enum (file, folder) |
OSSCreateFileResponse
Create file response
名称 | 说明 | 类型 |
---|---|---|
domain_id可选 | domain_id 长度 : | string |
drive_id可选 | drive_id 模式 : | string |
file_path可选 | file_path 样例 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
share_id可选 | share_id 模式 : | string |
type可选 | type 样例 : | enum (file, folder) |
upload_id可选 | upload_id 样例 : | string |
OSSDeleteFileRequest
删除文件请求
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_path必填 | filepath 长度 : | string |
permanently可选 | permanentlytype: false 样例 : | boolean |
share_id可选 | share_id 模式 : | string |
OSSDeleteFileResponse
删除文件 response
名称 | 说明 | 类型 |
---|---|---|
async_task_id可选 | async_task_id 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
file_path可选 | file_path 样例 : | string |
share_id可选 | share_id 模式 : | string |
OSSDeleteFilesResponse
批量删除文件 response
名称 | 说明 | 类型 |
---|---|---|
deleted_file_id_list可选 | deleted_file_id_list 样例 : | < string > array |
domain_id可选 | domain_id 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
share_id可选 | share_id 模式 : | string |
OSSGetDownloadUrlRequest
获取文件下载地址的请求body
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
expire_sec可选 | expire_sec 默认值 : | integer (int64) |
file_name必填 | file_name 模式 : | string |
file_path必填 | filepath 长度 : | string |
share_id必填 | share_id 模式 : | string |
OSSGetDownloadUrlResponse
获取download url response
名称 | 说明 | 类型 |
---|---|---|
expiration可选 | expiration 样例 : | string |
method可选 | method 样例 : | string |
url可选 | url 样例 : | string |
OSSGetFileRequest
获取文件元数据
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_path必填 | fileid 长度 : | string |
image_thumbnail_process可选 | image_thumbnail_processtype:string 样例 : | string |
image_url_process可选 | image_thumbnail_processtype:string 样例 : | string |
share_id可选 | share_id 模式 : | string |
OSSGetFileResponse
获取文件元数据response
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
content_hash可选 | Content Hash 样例 : | string |
content_hash_name可选 | content_hash_name 样例 : | enum (sha1) |
content_type可选 | content_type 样例 : | string |
crc64_hash可选 | crc64_hash 样例 : | string |
created_at可选 | created_at 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
download_url可选 | download_url 样例 : | string |
drive_id可选 | drive_id 模式 : | string |
file_extension可选 | file_extension 样例 : | string |
file_path可选 | file_path 样例 : | string |
name必填 | name 模式 : | string |
parent_file_path可选 | parent_file_id 长度 : | string |
share_id可选 | share_id 模式 : | string |
size可选 | Size 最小值 : | integer (int64) |
status可选 | status 样例 : | enum (uploading, available) |
thumbnail可选 | thumbnail 样例 : | string |
trashed_at可选 | trashed_at 样例 : | string (date-time) |
type可选 | type 样例 : | enum (file, folder) |
updated_at可选 | updated_at 样例 : | string (date-time) |
upload_id可选 | upload_id 样例 : | string |
url可选 | url 样例 : | string |
OSSGetUploadUrlRequest
获取文件上传URL
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
content_md5可选 | content_md5 最大长度 : | string |
drive_id必填 | drive_id 模式 : | string |
file_path必填 | file_path 样例 : | string |
part_info_list可选 | upload_part_list 样例 : | < UploadPartInfo > array |
share_id必填 | share_id 模式 : | string |
upload_id必填 | upload_id 样例 : | string |
OSSGetUploadUrlResponse
Get UploadUrl Response
名称 | 说明 | 类型 |
---|---|---|
create_at可选 | created_at 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
file_path可选 | file_path 样例 : | string |
part_info_list可选 | part_info_list 样例 : | < UploadPartInfo > array |
upload_id可选 | upload_id 样例 : | string |
OSSListFileRequest
list file request
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
image_thumbnail_process可选 | image_thumbnail_process 样例 : | string |
image_url_process可选 | image_url_process 样例 : | string |
limit可选 | limit 默认值 : | integer (int64) |
marker可选 | marker 样例 : | string |
parent_file_path必填 | ParentFilePath 样例 : | string |
share_id必填 | drive_id 模式 : | string |
OSSListFileResponse
List file response
名称 | 说明 | 类型 |
---|---|---|
items可选 | items 样例 : | < BaseOSSFileResponse > array |
next_marker可选 | next_marker 样例 : | string |
OSSListUploadedPartRequest
列举uploadID对应的已上传分片
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_path必填 | file_path 样例 : | string |
limit必填 | limit 默认值 : | integer (int64) |
part_number_marker可选 | part_number_marker 最小值 : | integer (int64) |
share_id可选 | share_id 模式 : | string |
upload_id可选 | upload_id 样例 : | string |
OSSListUploadedPartResponse
获取签名 response
名称 | 说明 | 类型 |
---|---|---|
file_path可选 | file_path 样例 : | string |
next_part_number_marker可选 | next_part_number_marker 样例 : | string |
upload_id可选 | upload_id 样例 : | string |
uploaded_parts可选 | uploaded_parts 样例 : | < UploadPartInfo > array |
OSSMoveFileRequest
文件移动请求
名称 | 说明 | 类型 |
---|---|---|
drive_id必填 | drive_id 模式 : | string |
file_path可选 | file_path 样例 : | string |
new_name必填 | new_name 模式 : | string |
overwrite可选 | overwritetype: boolean 默认值 : | boolean |
share_id可选 | share_id 模式 : | string |
to_parent_file_path可选 | file_path 样例 : | string |
OSSMoveFileResponse
文件移动 response
名称 | 说明 | 类型 |
---|---|---|
async_task_id可选 | async_task_id 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
drive_id可选 | drive_id 模式 : | string |
file_path可选 | file_path 样例 : | string |
share_id可选 | drive_id 模式 : | string |
OSSSearchFileResponse
search file response
名称 | 说明 | 类型 |
---|---|---|
items可选 | items 样例 : | < BaseOSSFileResponse > array |
next_marker可选 | next_marker 样例 : | string |
OSSUpdateFileMetaResponse
更新文件元数据 response
多态性 : 成分
名称 | 说明 | 类型 |
---|---|---|
content_hash可选 | Content Hash 样例 : | string |
content_hash_name可选 | content_hash_name 样例 : | enum (sha1) |
content_type可选 | content_type 样例 : | string |
crc64_hash可选 | crc64_hash 样例 : | string |
created_at可选 | created_at 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | domain_id 模式 : | string |
download_url可选 | download_url 样例 : | string |
drive_id可选 | drive_id 模式 : | string |
file_extension可选 | file_extension 样例 : | string |
file_path可选 | file_path 样例 : | string |
name必填 | name 模式 : | string |
parent_file_path可选 | parent_file_id 长度 : | string |
share_id可选 | share_id 模式 : | string |
size可选 | Size 最小值 : | integer (int64) |
status可选 | status 样例 : | enum (uploading, available) |
thumbnail可选 | thumbnail 样例 : | string |
trashed_at可选 | trashed_at 样例 : | string (date-time) |
type可选 | type 样例 : | enum (file, folder) |
updated_at可选 | updated_at 样例 : | string (date-time) |
upload_id可选 | upload_id 样例 : | string |
url可选 | url 样例 : | string |
PreHashCheckSuccessResponse
Pre hash check Response
名称 | 说明 | 类型 |
---|---|---|
code可选 | code 样例 : | string |
file_name可选 | file_name 样例 : | string |
message可选 | message 样例 : | string |
parent_file_id必填 | parent_file_id 长度 : | string |
pre_hash可选 | pre_hash 样例 : | string |
QuotaExhaustedError
QuotaExhaustedError 超出配额错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ReadBodyErrorError
ReadBodyErrorError 读取Body错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
ServiceUnavailableError 服务不可用错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
Sha1ConflictError
Sha1ConflictError Sha1冲突错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
SignatureDoesNotMatchError
SignatureDoesNotMatchError 签名不匹配错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
StateConflictError
StateConflictError 状态冲突错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
StoreFile
名称 | 说明 | 类型 |
---|---|---|
domain_id可选 | 样例 : | string |
name可选 | 样例 : | string |
parent_file_path可选 | 样例 : | string |
store_id可选 | 样例 : | string |
type可选 | 样例 : | string |
StoreItemResponse
名称 | 说明 | 类型 |
---|---|---|
accelerate_endpoint可选 | 全球加速域名 样例 : | string |
base_path可选 | 存储公共前缀 样例 : | string |
bucket必填 | bucket名称 样例 : | string |
customized_endpoint可选 | 用户自定义绑定存储地址 样例 : | string |
domain_id可选 | 样例 : | string |
endpoint必填 | 存储访问地址 样例 : | string |
internal_endpoint可选 | 内网存储地址 样例 : | string |
ownership必填 | 存储归属,system表示系统提供,custom表示使用自己的存储 样例 : | enum (system, custom) |
policy必填 | Policy授权,system类型store会将bucket权限授予当前云账号 样例 : | string |
role_arn可选 | 访问Bucket的角色ARN 样例 : | string |
store_id必填 | store ID 样例 : | string |
type必填 | 存储类型,当前只支持oss 样例 : | enum (oss) |
ThrottlingError
ThrottlingError 操作被流控错误
名称 | 说明 | 类型 |
---|---|---|
code必填 | 样例 : | string |
message必填 | 样例 : | string |
UCGetObjectInfoByObjectKeyRequest
UCGetObjectInfoByObjectKeyRequest
名称 | 说明 | 类型 |
---|---|---|
object_key可选 | 样例 : | string |
UCGetObjectInfoBySha1Request
UCGetObjectInfoBySha1Request
名称 | 说明 | 类型 |
---|---|---|
sha1可选 | 样例 : | string |
UpdateDriveRequest
Update drive request
名称 | 说明 | 类型 |
---|---|---|
description可选 | 描述信息 样例 : | string |
drive_id必填 | Drive ID 样例 : | string |
drive_name必填 | Drive 名称 样例 : | string |
status可选 | 状态 默认值 : | enum (disabled, enabled) |
total_size可选 | 总大小,单位Byte [如果设置 0 代表不限制] 默认值 : | integer (int64) |
UpdateDriveResponse
Update drive response
名称 | 说明 | 类型 |
---|---|---|
creator可选 | Drive 创建者 样例 : | string |
description可选 | Drive 备注信息 样例 : | string |
domain_id可选 | Domain ID 样例 : | string |
drive_id可选 | Drive ID 样例 : | string |
drive_name可选 | Drive 名称 样例 : | string |
drive_type可选 | Drive 类型 样例 : | string |
owner可选 | Drive 所有者 样例 : | string |
relative_path可选 | Drive存储基于store的相对路径,domain的PathType为OSSPath时返回 样例 : | string |
status可选 | Drive 状态 样例 : | string |
store_id可选 | 存储 ID, domain的PathType为OSSPath时返回 样例 : | string |
total_size可选 | Drive 空间总量 样例 : | integer (int64) |
used_size可选 | Drive 空间已使用量 样例 : | integer (int64) |
UpdateFileMetaRequest
更新文件元数据
名称 | 说明 | 类型 |
---|---|---|
description可选 | descriptiontype: string 最大长度 : | string |
drive_id必填 | drive_id 模式 : | string |
file_id必填 | fileid 长度 : | string |
hidden可选 | hiddentype: boolean 默认值 : | boolean |
meta可选 | meta 样例 : | string |
name必填 | name 模式 : | string |
share_id可选 | 样例 : | string |
starred可选 | starredtype: boolean 默认值 : | boolean |
tags可选 | tags 样例 : | < string, object > map |
update share request
名称 | 说明 | 类型 |
---|---|---|
description可选 | description 最大长度 : | string |
expiration可选 | expiration 样例 : | string |
permissions可选 | permissions 样例 : | < string > array |
share_id必填 | share_id 样例 : | string |
share_name可选 | share_name 样例 : | string |
status可选 | status 样例 : | enum (enabled, disabled) |
Update share response
名称 | 说明 | 类型 |
---|---|---|
created_at可选 | created_at 样例 : | string |
creator可选 | creator 样例 : | string |
description可选 | description 样例 : | string |
domain_id可选 | domain_id 样例 : | string |
drive_id可选 | drive_id 样例 : | string |
expiration可选 | expiration 样例 : | string |
expired可选 | expired 样例 : | boolean |
owner可选 | owner 样例 : | string |
permissions可选 | permissions 样例 : | < string > array |
share_file_path可选 | share_path 样例 : | string |
share_id可选 | share_id 样例 : | string |
share_name可选 | share_name 样例 : | string |
status可选 | status 样例 : | string |
updated_at可选 | updated_at 样例 : | string |
UploadPartInfo
名称 | 说明 | 类型 |
---|---|---|
etag可选 | etag 样例 : | string |
part_number可选 | PartNumber 最小值 : | integer (int64) |
part_size可选 | PartSize: 最小值 : | integer (int64) |
upload_url可选 | upload_url 样例 : | string |