对象存储

产品文档

对象存储

兼容接口列表

京东云OSS兼容 AWS S3的接口及说明如下:

关于 Service 操作

对象存储支持的api api简介 JD Cloud S3 API参考 AWS S3 API参考
GET Service(List Bucket) 获取一个User下的所有Bucket 兼容GET Service GET Service

关于 Bucket 操作

对象存储支持的api api简介 JD Cloud S3 API参考 AWS S3 API参考
PUT Bucket 新建一个Bucket,默认的权限为Private 兼容PUT Bucket PUT Bucket
HEAD Bucket 确定一个Bucket是否存在且有权利访问
如果Bucket存在且有权利访问,则返回200 OK。如果指定的bucket不存在,则返回404 Not Found
兼容HEAD Bucket HEAD Bucket
GET Bucket(List Object) 获取某个Bucket下的部分或者全部Object信息(兼容Version2) 兼容GET Bucket GET Bucket
DELETE Bucket 删除指定的Bucket 兼容DELETE Bucket DELETE Bucket
List MultiPart Uploads 获取一个Bucket下面正在进行的分块上传任务 兼容List MultiPart Uploads List MultiPart Uploads
GET Bucket policy 获取指定的Bucket上的policy 兼容GET Bucket policy GET Bucket policy
PUT Bucket policy 为指定的Bucket上添加或编辑policy 兼容PUT Bucket policy PUT Bucket policy
DELETE Bucket policy 删除指定的Bucket上的policy 兼容DELETE Bucket policy DELETE Bucket policy
PUT Bucket acl 在指定的Bucket上设置acl 兼容PUT Bucket acl PUT Bucket acl
GET Bucket acl 获取指定的Bucket的acl 兼容GET Bucket acl GET Bucket acl
PUT Bucket cors 为指定的Bucket添加CORS规则 兼容PUT Bucket cors PUT Bucket cors
GET Bucket cors 获取指定的Bucket的CORS规则 兼容GET Bucket cors GET Bucket cors
DELETE Bucket cors 删除指定的Bucket的CORS规则 兼容DELETE Bucket cors DELETE Bucket cors
PUT Bucket website 为指定的Bucket添加静态网站托管规则(注:接口兼容,但规则细节与S3有出入) 兼容PUT Bucket website PUT Bucket website
GET Bucket website 获取指定的Bucket的静态网站托管规则(注:接口兼容,但规则细节与S3有出入) 兼容GET Bucket website GET Bucket website
DELETE Bucket website 删除指定的Bucket的静态网站托管规则(注:接口兼容,但规则细节与S3有出入) 兼容DELETE Bucket website DELETE Bucket website
PUT Bucket Replication 创建、修改增量数据同步配置 未支持:Account,Role,Owner AccessControlTranslation SourceSelectionCriteria
兼容PUT Bucket Replication
PUT Bucket Replication
GET Bucket Replication 返回设置在Bucket上的增量数据同步配置 兼容GET Bucket replication GET Bucket replication
DELETE Bucket Replication 删除已开启的增量数据同步配置,删除后目标Bucket和objcet依然存在 兼容Delete Bucket replication Delete Bucket replication
PUT Bucket notification 指定Bucket添加回调通知配置 未支持:CloudFunction,Queue
仅支持:Topic
详见 回调通知
兼容PUT Bucket notification
PUT Bucket notification
GET Bucket notification 返回设置在Bucket上的回调通知配置 兼容GET Bucket notification GET Bucket notification
GET Bucket encryption 返回用户对于OSS存储空间的默认加密配置 兼容GET Bucket encryption GET Bucket encryption
PUT Bucket encryption 用于设定bucket默认加密方式置 兼容PUT Bucket encryption PUT Bucket encryption
DELETE Bucket encryption 删除OSS存储空间的默认加密配置 兼容DELETE Bucket encryption DELETE Bucket encryption
PUT Bucket lifecycle 设置Bucket的生命周期规则 未支持:Transition、AbortIncompleteMultipartUpload
兼容:PUT Bucket lifecycle
PUT Bucket lifecycle
GET Bucket lifecycle 设置Bucket的生命周期规则 兼容:GET Bucket lifecycle GET Bucket lifecycle
DELETE Bucket lifecycle 删除Bucket的生命周期规则 兼容:DELETE Bucket lifecycle DELETE Bucket lifecycle
Put Bucket tagging 设置Bucket的标签 兼容:Put Bucket tagging Put Bucket tagging
Get Bucket tagging 获取Bucket的标签 兼容:Get Bucket tagging Get Bucket tagging
Put Bucket accelerate 设置Bucket传输加速配置 兼容:Put Bucket accelerate Put Bucket accelerate
Get Bucket accelerate 获取Bucket传输加速配置 兼容:Get Bucket accelerate Get Bucket accelerate
Delete Bucket InventoryConfiguration 删除存储空间中指定的清单任务 兼容:Delete Bucket InventoryConfiguration Delete Bucket InventoryConfiguration
Get Bucket InventoryConfiguration 查询存储空间中用户的清单任务信息 兼容:Get Bucket InventoryConfiguration Get Bucket InventoryConfiguration
List Bucket InventoryConfigurations 请求返回一个存储桶中的所有清单任务 兼容:List Bucket InventoryConfigurations List Bucket InventoryConfigurations
Put Bucket InventoryConfiguration 在存储空间中创建清单任务 兼容:Put Bucket InventoryConfiguration Put Bucket InventoryConfiguration

关于 Object 操作

对象存储支持的api api简介 JD Cloud S3 API参考 AWS S3 API参考
PUT Object 上传一个Object到OSS 兼容PUT Object PUT Object
GET Object 获取一个Object的Meta及数据,可以获取全部数据或者使用Range指定获取部分数据 兼容GET Object GET Object
HEAD Object 获取一个Object的Meta 兼容HEAD Object HEAD Object
DELETE Object 删除一个Object 兼容DELETE Object DELETE Object
Delete Multiple Objects 支持用户通过一个HTTP请求删除同一个Bucket中的多个Object 未支持:version
兼容Delete Multiple Objects
Delete Multiple Objects
Initiate MultiPart Upload 初始化一个多步上传的任务 兼容Initiate Mutipart Upload Initiate MultiPart Upload
Upload Part 上传一个Part到OSS 兼容Upload Part Upload Part
Complete MultiPart Upload 把上传的多个part合并成一个Object 兼容Complete Multipart Upload Complete MultiPart Upload
Abort MultiPart Upload 终止一个分块上传任务并删除已上传的块 兼容Abort MultiPart Upload Abort MultiPart Upload
List Parts 获取特定分块上传操作中的已上传的块 兼容List Parts List Parts
POST Object 通过表单上传文件到OSS 兼容POST Object POST Object
Put Object Copy 拷贝一个在OSS上已经存在的object成另外一个object 未支持:x-amz-copy-source-if-match,
x-amz-copy-source-if-none-match,
x-amz-copy-source-if-unmodified-since,
x-amz-copy-source-if-modified-since,
x-amz-tagging-directive
x-amz-storage-class
支持STANDARD和REDUCED_REDUNDANCY
兼容PUT Object - Copy
PUT Object - Copy
Upload Part Copy 通过从一个已存在的Object中拷贝数据来上传一个Part。 未支持:x-amz-copy-source-if-match,
x-amz-copy-source-if-none-match,
x-amz-copy-source-if-unmodified-since,
x-amz-copy-source-if-modified-since
兼容Upload Part - Copy
Upload Part - Copy
POST Object restore 恢复归档存储对象得到临时副本 未支持:Select
兼容POST Object restore
POST Object restore
更新时间:2020-05-25 19:18:30