'1.0',
'info' => ['style' => 'ROA', 'product' => 'Oss', 'version' => '2019-05-17'],
'directories' => [
[
'children' => ['ListBuckets'],
'type' => 'directory',
'title' => '服务',
'id' => 446470,
],
[
'children' => [
[
'children' => ['GetBucketStat', 'PutBucket', 'DeleteBucket', 'ListObjects', 'ListObjectsV2', 'GetBucketInfo', 'GetBucketLocation'],
'type' => 'directory',
'title' => '基础操作',
'id' => 446474,
],
[
'children' => ['ListAccessPoints', 'GetAccessPoint', 'GetAccessPointPolicy', 'DeleteAccessPointPolicy', 'PutAccessPointPolicy', 'DeleteAccessPoint', 'CreateAccessPoint'],
'type' => 'directory',
'title' => '接入点',
'id' => 446475,
],
[
'children' => ['InitiateBucketWorm', 'AbortBucketWorm', 'CompleteBucketWorm', 'ExtendBucketWorm', 'GetBucketWorm'],
'type' => 'directory',
'title' => '合规保留策略',
'id' => 446476,
],
[
'children' => ['GetBucketObjectWormConfiguration', 'PutBucketObjectWormConfiguration', 'GetObjectRetention', 'PutObjectRetention', 'GetObjectLegalHold', 'PutObjectLegalHold'],
'type' => 'directory',
'title' => '对象级别保留策略',
'id' => 446477,
],
[
'children' => ['PutBucketAcl', 'GetBucketAcl'],
'type' => 'directory',
'title' => '权限控制',
'id' => 446478,
],
[
'children' => ['PutBucketLifecycle', 'GetBucketLifecycle', 'DeleteBucketLifecycle'],
'type' => 'directory',
'title' => '生命周期',
'id' => 446479,
],
[
'children' => ['PutBucketTransferAcceleration', 'GetBucketTransferAcceleration'],
'type' => 'directory',
'title' => '传输加速',
'id' => 446480,
],
[
'children' => ['PutBucketVersioning', 'GetBucketVersioning', 'ListObjectVersions'],
'type' => 'directory',
'title' => '版本控制',
'id' => 446481,
],
[
'children' => ['PutBucketPolicy', 'GetBucketPolicy', 'DeleteBucketPolicy'],
'type' => 'directory',
'title' => '授权策略',
'id' => 446482,
],
[
'children' => ['PutBucketRtc', 'PutBucketReplication', 'GetBucketReplication', 'GetBucketReplicationLocation', 'GetBucketReplicationProgress', 'DeleteBucketReplication'],
'type' => 'directory',
'title' => '数据复制',
'id' => 446483,
],
[
'children' => ['PutBucketInventory', 'GetBucketInventory', 'ListBucketInventory', 'DeleteBucketInventory'],
'type' => 'directory',
'title' => '清单',
'id' => 446484,
],
[
'children' => ['PutBucketLogging', 'GetBucketLogging', 'DeleteBucketLogging'],
'type' => 'directory',
'title' => '日志管理',
'id' => 446485,
],
[
'children' => ['GetBucketWebsite', 'PutBucketWebsite', 'DeleteBucketWebsite'],
'type' => 'directory',
'title' => '静态网站',
'id' => 446486,
],
[
'children' => ['PutBucketReferer', 'GetBucketReferer'],
'type' => 'directory',
'title' => '防盗链',
'id' => 446487,
],
[
'children' => ['PutBucketTags', 'GetBucketTags', 'DeleteBucketTags'],
'type' => 'directory',
'title' => '标签',
'id' => 446488,
],
[
'children' => ['ListBucketDataRedundancyTransition', 'CreateBucketDataRedundancyTransition'],
'type' => 'directory',
'title' => '存储冗余转换',
'id' => 446489,
],
[
'children' => ['PutBucketEncryption', 'GetBucketEncryption', 'DeleteBucketEncryption'],
'type' => 'directory',
'title' => '加密',
'id' => 446490,
],
[
'children' => ['PutBucketRequestPayment', 'GetBucketRequestPayment'],
'type' => 'directory',
'title' => '请求者付费',
'id' => 446491,
],
[
'children' => ['PutBucketCors', 'GetBucketCors', 'DeleteBucketCors', 'OptionObject'],
'type' => 'directory',
'title' => '跨资源共享',
'id' => 446492,
],
[
'children' => ['PutBucketAccessMonitor', 'GetBucketAccessMonitor'],
'type' => 'directory',
'title' => '访问跟踪',
'id' => 446493,
],
[
'children' => ['GetMetaQueryStatus', 'CloseMetaQuery', 'DoMetaQuery', 'OpenMetaQuery'],
'type' => 'directory',
'title' => '数据索引',
'id' => 446494,
],
[
'children' => ['UpdateUserAntiDDosInfo', 'UpdateBucketAntiDDosInfo', 'ListBucketAntiDDosInfo', 'InitUserAntiDDosInfo', 'InitBucketAntiDDosInfo', 'GetUserAntiDDosInfo'],
'type' => 'directory',
'title' => '高防',
'id' => 446495,
],
[
'children' => ['GetBucketResourceGroup', 'PutBucketResourceGroup'],
'type' => 'directory',
'title' => '资源组',
'id' => 446496,
],
[
'children' => ['PutCname', 'ListCname', 'DeleteCname', 'GetCnameToken', 'CreateCnameToken'],
'type' => 'directory',
'title' => '自定义域名',
'id' => 446497,
],
[
'children' => ['PutStyle', 'ListStyle', 'GetStyle', 'DeleteStyle'],
'type' => 'directory',
'title' => '图片样式',
'id' => 446498,
],
[
'children' => ['GetBucketHttpsConfig', 'PutBucketHttpsConfig'],
'type' => 'directory',
'title' => '安全传输层协议(TLS)',
'id' => 446499,
],
[
'children' => ['ListAccessPointsForObjectProcess'],
'type' => 'directory',
'title' => '对象FC接入点',
'id' => 446500,
],
[
'children' => [
[
'children' => ['GetPublicAccessBlock', 'PutPublicAccessBlock', 'DeletePublicAccessBlock'],
'type' => 'directory',
'title' => 'OSS全局阻止公共访问',
'id' => 446502,
],
[
'children' => ['PutAccessPointPublicAccessBlock'],
'type' => 'directory',
'title' => '接入点级别阻止公共访问',
'id' => 446504,
],
],
'type' => 'directory',
'title' => '阻止公共访问',
'id' => 446501,
],
],
'type' => 'directory',
'title' => '存储空间',
'id' => 446473,
],
[
'children' => [
[
'children' => ['PutObject', 'CopyObject', 'GetObject', 'AppendObject', 'SealAppendObject', 'DeleteObject', 'HeadObject', 'GetObjectMeta', 'RestoreObject', 'SelectObject', 'CreateSelectObjectMeta'],
'type' => 'directory',
'title' => '基础操作',
'id' => 446508,
],
[
'children' => ['InitiateMultipartUpload', 'UploadPart', 'CompleteMultipartUpload', 'UploadPartCopy', 'AbortMultipartUpload', 'ListMultipartUploads', 'ListParts'],
'type' => 'directory',
'title' => '分片上传',
'id' => 446509,
],
[
'children' => ['PutObjectAcl', 'GetObjectAcl'],
'type' => 'directory',
'title' => '权限控制',
'id' => 446510,
],
[
'children' => ['PutSymlink', 'GetSymlink'],
'type' => 'directory',
'title' => '软链接',
'id' => 446511,
],
[
'children' => ['PutObjectTagging', 'GetObjectTagging', 'DeleteObjectTagging'],
'type' => 'directory',
'title' => '标签',
'id' => 446512,
],
],
'type' => 'directory',
'title' => '文件',
'id' => 446507,
],
[
'children' => ['PutLiveChannel', 'ListLiveChannel', 'DeleteLiveChannel', 'PutLiveChannelStatus', 'GetLiveChannelInfo', 'GetLiveChannelHistory', 'GetLiveChannelStat', 'GetVodPlaylist', 'PostVodPlaylist'],
'type' => 'directory',
'title' => '直播推流',
'id' => 446513,
],
[
'children' => ['PutChannel', 'PutBucketHash', 'PutBucketCommonHeader', 'DeleteBucketCommonHeader', 'PutProcessConfiguration', 'GetBucketEventNotification', 'PutDataLakeCachePrefetchJob', 'StartDataLakeCachePrefetchJob', 'ListDataLakeStorageTransferJob', 'DescribeRegions', 'PostObject'],
'type' => 'directory',
'title' => '其他',
'id' => 446515,
],
],
'components' => [
'schemas' => [
'AcceleratePaths' => [
'title' => '数据湖加速器加速路径集合',
'description' => '加速器加速路径集合',
'type' => 'object',
'properties' => [
'DefaultCachePolicy' => ['title' => '默认缓存策略', 'type' => 'string', 'example' => 'sync-warmup'],
'Path' => [
'title' => '保存缓存路径列表的容器',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['title' => '缓存路径', 'type' => 'string', 'example' => 'acc-path/'],
'CachePolicy' => ['title' => '缓存策略', 'type' => 'string', 'example' => 'sync-warmup'],
],
],
],
],
],
'AccessControlList' => [
'title' => 'A list of grants that control access to the staged results',
'description' => '存储ACL信息的容器。',
'type' => 'object',
'properties' => [
'Grant' => [
'description' => 'Bucket的读写权限ACL。',
'enumValueTitles' => ['private' => 'private', 'public-read' => 'public-read', 'public-read-write' => 'public-read-write'],
'example' => 'public-read',
'$ref' => '#/components/schemas/Grant',
],
],
],
'AccessControlPolicy' => [
'title' => 'Contains the elements that set the ACL permissions for an object',
'description' => '保存Get Object ACL结果的容器。',
'type' => 'object',
'properties' => [
'Owner' => ['description' => '保存Bucket拥有者信息的容器。'."\n"
."\n", '$ref' => '#/components/schemas/Owner'],
'AccessControlList' => ['description' => '存储ACL信息的容器。', '$ref' => '#/components/schemas/AccessControlList'],
],
],
'AccessMonitorConfiguration' => [
'title' => '保存存储空间访问追踪配置的容器',
'description' => 'Bucket的访问跟踪状态配置信息。',
'type' => 'object',
'properties' => [
'Status' => ['title' => '访问追踪功能状态', 'description' => 'Bucket的访问跟踪状态。', '$ref' => '#/components/schemas/AccessMonitorStatus'],
],
],
'AccessMonitorStatus' => [
'title' => 'A short description of struct',
'description' => 'Bucket的访问跟踪状态。取值范围如下:'."\n"
."\n"
.'- Enabled:已开启'."\n"
."\n"
.'- Disabled:未开启',
'type' => 'string',
'example' => 'Enabled',
'enum' => ['Enabled', 'Disabled'],
],
'AccessPoint' => [
'title' => '保存AccessPoint信息的容器',
'description' => '保存单个接入点信息的容器。',
'type' => 'object',
'properties' => [
'Bucket' => ['title' => 'Bucket名称', 'description' => '配置接入点的Bucket名称。', 'type' => 'string', 'example' => 'oss-example'],
'AccessPointName' => ['title' => '接入点名称', 'description' => '接入点名称。', '$ref' => '#/components/schemas/AccessPointName'],
'Alias' => ['title' => '接入点别名', 'description' => '接入点别名。', '$ref' => '#/components/schemas/AccessPointAlias'],
'NetworkOrigin' => ['description' => '接入点网络来源。', '$ref' => '#/components/schemas/AccessPointNetworkOrigin'],
'VpcConfiguration' => ['description' => '保存VPC网络来源信息的容器。', '$ref' => '#/components/schemas/AccessPointVpcConfiguration'],
'Status' => ['description' => '接入点所处状态。', '$ref' => '#/components/schemas/AccessPointStatus'],
],
],
'AccessPointAlias' => ['title' => '接入点别名', 'description' => '接入点别名。', 'type' => 'string', 'example' => 'ap-01-45ee7945007a2f0bcb595f63e2215c****-ossalias'],
'AccessPointArn' => ['title' => '接入点ARN。', 'description' => '接入点ARN。', 'type' => 'string', 'example' => 'arn:acs:oss:ap-southeast-2:111933544165****:accesspoint/ap-01'],
'AccessPointName' => ['title' => '接入点名称', 'description' => '接入点名称', 'type' => 'string', 'example' => 'ap-01'],
'AccessPointNetworkOrigin' => ['title' => '接入点网络来源。返回值如下: vpc:限制仅支持通过指定的VPC ID访问接入点。 internet:同时持通过外网和内网Endpoint互联网访问接入点。', 'description' => '接入点网络来源。返回值如下: vpc:限制仅支持通过指定的VPC ID访问接入点。 internet:同时持通过外网和内网Endpoint互联网访问接入点。', 'type' => 'string', 'example' => 'vpc'],
'AccessPointStatus' => ['title' => '接入点所处状态', 'description' => '接入点所处状态。'."\n"
."\n"
.'- enable:接入点已创建完成。'."\n"
."\n"
.'- disable:接入点已禁用。'."\n"
."\n"
.'- creating:接入点正在创建中。'."\n"
."\n"
.'- deleting:接入点已删除。', 'type' => 'string', 'example' => 'enable'],
'AccessPointVpcConfiguration' => [
'title' => '保存VPC网络来源信息的容器。',
'description' => '保存VPC网络来源信息的容器。',
'type' => 'object',
'properties' => [
'VpcId' => ['title' => '仅当NetworkOrigin取值为vpc时,需要指定VPC ID。', 'description' => '仅当NetworkOrigin取值为vpc时,需要指定VPC ID。', 'type' => 'string', 'example' => 'vpc-t4nlw426y44rd3iq4****'],
],
],
'ApplyServerSideEncryptionByDefault' => [
'title' => 'A short description of struct',
'description' => '服务器端默认加密方式的容器。'."\n",
'type' => 'object',
'properties' => [
'SSEAlgorithm' => ['title' => 'description', 'description' => '设置服务器端默认加密方式。'."\n"
.'取值:KMS、AES256、SM4'."\n"
.'使用KMS密钥功能时会产生少量的KMS密钥API调用费用,费用详情请参见**[KMS计费标准](~~52608~~)**。'."\n"
.'进行跨区域复制时,若目标Bucket启用了默认服务器端加密方式,且复制规则配置了ReplicaCMKID,有以下两种情况:'."\n"
.' - 若源Bucket中的对象未加密,则使用目标Bucket的默认加密方式对跨区域复制过来的明文对象进行加密。'."\n"
.' - 若源Bucket中的对象使用了SSE-KMS或SSE-OSS的加密方式,则目标Bucket针对这些对象仍然使用原加密方式进行加密。'."\n"
."\n"
.'更多信息,请参见**[跨区域复制结合服务器端加密](~~177216~~)**。', 'type' => 'string', 'example' => 'AES256'],
'KMSMasterKeyID' => [
'title' => 'description',
'description' => '当SSEAlgorithm值为KMS,且使用指定的密钥加密时,需输入KMSMasterKeyID。其他情况下,必须为空。',
'type' => 'string',
'enumValueTitles' => [],
'example' => '9468da86-3509-4f8d-a61e-6eab1eac****',
],
'KMSDataEncryption' => [
'title' => 'description',
'description' => '指定Object的加密算法。若未指定此选项,表明Object使用AES256加密算法。此选项仅当SSEAlgorithm取值为KMS有效。'."\n"
.'取值:SM4',
'type' => 'string',
'enumValueTitles' => [],
'example' => 'SM4',
],
],
],
'ArchiveDirectReadConfiguration' => [
'title' => '保存归档直读状态的容器',
'description' => '保存归档直读状态的容器。',
'type' => 'object',
'properties' => [
'Enabled' => ['title' => '是否开启归档直读', 'description' => 'Bucket是否开启归档直读。取值如下:'."\n"
.'- true:开启归档直读。'."\n"
.'- false:关闭归档直读。', 'type' => 'boolean', 'example' => 'true'],
],
],
'AsyncFetchTaskConfiguration' => [
'title' => '异步拉取任务配置',
'description' => '异步 Fetch 任务配置',
'type' => 'object',
'properties' => [
'Url' => ['title' => '源文件的url', 'type' => 'string', 'example' => 'www.test.com/abc.txt'],
'Object' => ['title' => '保存到OSS上的对象名称', 'type' => 'string', 'example' => 'abc.txt'],
'Host' => ['title' => '拉取请求到源站时的host头的内容', 'type' => 'string', 'example' => 'www.test.com'],
'ContentMD5' => ['title' => '指定校验源文件的 md5', 'type' => 'string', 'example' => 'v23MlMRM/EgJczOs2yHTcA=='],
'Callback' => ['title' => '指定拉取成功后回调到用户的应用服务器', 'type' => 'string', 'example' => 'eyJjYWxsYmFja1VybCI6Ind3dy5hYmMuY29tL2NhbGxiYWNrIiwiY2FsbGJhY2tCb2R5IjoiJHtldGFnfSJ9'],
'StorageClass' => ['title' => '指定拉取的文件要保存的存储类型', 'type' => 'string', 'example' => 'Standard'],
'IgnoreSameKey' => ['title' => '文件存在时是否忽略本次任务', 'type' => 'boolean', 'example' => 'True'],
],
],
'AsyncFetchTaskInfo' => [
'title' => '异步拉取任务信息',
'description' => '异步 fetch 任务信息',
'type' => 'object',
'properties' => [
'TaskId' => ['title' => '任务ID', 'type' => 'string', 'example' => 'abc'],
'State' => ['title' => '任务状态,可能的取值及意义如下 Running:任务执行中 Retry:文件拉取失败过并处于重试中 FetchSuccessCallbackFailed:文件拉取成功但是回调失败 Failed:文件拉取失败 Success:任务成功', 'type' => 'string', 'example' => 'Success'],
'ErrorMsg' => ['title' => '任务失败的原因', 'type' => 'string', 'example' => 'FileNotFound'],
'TaskInfo' => ['title' => '异步拉取任务的配置信息', '$ref' => '#/components/schemas/AsyncFetchTaskConfiguration'],
],
],
'AsyncFetchTaskResult' => [
'title' => '异步 fetch 任务返回结果',
'description' => '异步 Fetch 任务返回结果',
'type' => 'object',
'properties' => [
'TaskId' => ['title' => '异步 fetch 任务 ID', 'type' => 'string', 'example' => 'abc'],
],
],
'Bucket' => [
'title' => 'Bucket信息',
'description' => '保存Bucket信息的容器。',
'type' => 'object',
'properties' => [
'CreationDate' => ['title' => 'Bucket的创建时间,格式为UTC时间', 'description' => 'Bucket创建时间。格式为`yyyy-mm-ddThh:mm:ss.timezone`。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2014-05-15T11:18:32.000Z'],
'ExtranetEndpoint' => ['title' => 'Bucket的外网域名', 'description' => 'Bucket访问的外网域名。', 'type' => 'string', 'example' => 'oss-cn-hangzhou.aliyuncs.com'],
'IntranetEndpoint' => ['title' => 'Bucket的内网域名', 'description' => '同地域ECS访问Bucket的内网域名。', 'type' => 'string', 'example' => 'oss-cn-hangzhou-internal.aliyuncs.com'],
'Location' => ['title' => 'Bucket所在的数据中心', 'description' => 'Bucket所在的数据中心。', 'type' => 'string', 'example' => 'oss-cn-hangzhou'],
'Name' => ['title' => 'Bucket的名称', 'description' => 'Bucket名称。', 'type' => 'string', 'example' => 'mybucket01'],
'StorageClass' => ['title' => 'Bucket的存储类型', 'description' => 'Bucket存储类型,支持Standard、IA、Archive和ColdArchive四种存储类型。', 'example' => 'Standard', '$ref' => '#/components/schemas/StorageClass'],
'Region' => ['title' => 'Bucket所在地域', 'description' => 'Bucket所在地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
'example' => 'examplebucket',
],
'BucketACL' => [
'title' => 'The access control list (ACL) for a bucket.',
'description' => 'Bucket的访问权限ACL。取值范围如下:'."\n"
.'- public-read-write:公共读写'."\n"
.'- public-read:公共读'."\n"
.'- private(默认):私有'."\n"
."\n"
.'关于Bucket访问权限ACL的更多信息,请参见[设置存储空间访问权限ACL](~~31843~~)。',
'type' => 'string',
'example' => 'private',
'default' => 'private',
'enum' => ['private', 'public-read', 'public-read-write'],
],
'BucketAntiDDOSConfiguration' => [
'title' => 'A short description of struct',
'description' => '保存高防实例配置信息的容器。',
'type' => 'object',
'properties' => [
'Cnames' => [
'title' => '域名信息列表的容器',
'description' => '保存域名信息列表的容器。',
'type' => 'object',
'properties' => [
'Domain' => [
'title' => '待防护自定义域名',
'description' => '待防护自定义域名。',
'type' => 'array',
'items' => ['description' => '待防护自定义域名。每个Bucket最多支持5个待防护的自定义域名。', 'type' => 'string', 'example' => 'abc1.example.cn'],
],
],
],
],
],
'BucketAntiDDOSInfo' => [
'title' => 'A short description of struct',
'description' => '保存高防实例信息的容器。',
'type' => 'object',
'properties' => [
'InstanceId' => ['title' => '拥有者的UID', 'description' => '高防实例ID。', 'type' => 'string', 'example' => 'cbcac8d2-4f75-4d6d-9f2e-c3447f73****'],
'Owner' => ['title' => '拥有者的UID', 'description' => 'Bucket拥有者的UID。', 'type' => 'string', 'example' => '114893010724****'],
'Bucket' => ['title' => '高防实例ID', 'description' => '防护的Bucket名称。', 'type' => 'string', 'example' => 'examplebucket'],
'Ctime' => ['title' => '高防实例创建时间', 'description' => '高防实例创建时间,格式为时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1626769503'],
'Mtime' => ['title' => '高防实例更新时间', 'description' => '高防实例更新时间,格式为时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1626769840'],
'ActiveTime' => ['title' => '高防实例激活时间', 'description' => '高防实例激活时间,格式为时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1626769845'],
'Status' => ['title' => '高防实的状态', 'description' => '高防实例所处状态。'."\n"
."\n"
.'- Init:初始化防护状态。'."\n"
."\n"
.'- Defending:防护中状态。'."\n"
."\n"
.'- HaltDefending:解除防护状态。', 'type' => 'string', 'example' => 'Defending'],
'Type' => ['title' => '高防实的类型', 'description' => '高防实例类型。固定值为AntiDDosPremimum。', 'type' => 'string', 'example' => 'AntiDDosPremimum'],
'Cnames' => [
'title' => '自定义域名容器',
'description' => '保存自定义域名的容器。',
'type' => 'object',
'properties' => [
'Domain' => [
'title' => '自定义域名',
'description' => '自定义域名。',
'type' => 'array',
'items' => ['description' => '自定义域名。', 'type' => 'string', 'example' => 'abc1.example.cn'],
],
],
],
],
],
'BucketChannelConfig' => [
'title' => '存储空间图片处理通道配置',
'description' => 'Bucket图片处理通道配置',
'type' => 'object',
'properties' => [
'version' => ['title' => '版本', 'description' => '版本', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'DebugInfo' => ['title' => '调试信息', 'description' => '调试信息', 'type' => 'string', 'example' => 'testinfo'],
'RuleList' => [
'title' => '规则列表',
'description' => '规则列表',
'type' => 'object',
'properties' => [
'Rule' => [
'title' => '保存规则的容器',
'description' => '保存规则的容器',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'RuleName' => ['title' => '规则名称', 'description' => '规则名称', 'type' => 'string', 'example' => 'rule1'],
'RuleRegex' => ['title' => '规则匹配正则', 'description' => '规则匹配正则', 'type' => 'string', 'example' => '\\\\.webp$'],
'FrontContent' => ['title' => '规则内容', 'description' => '规则内容', 'type' => 'string', 'example' => 'a'],
],
'description' => '',
],
],
],
],
],
],
'BucketCnameConfiguration' => [
'title' => 'Cname配置的容器',
'description' => 'Cname配置的容器。',
'type' => 'object',
'properties' => [
'Cname' => [
'title' => 'Cname信息的容器',
'description' => 'Cname信息的容器。',
'type' => 'object',
'properties' => [
'Domain' => ['title' => '自定义域名', 'description' => '自定义域名。', 'type' => 'string', 'example' => 'example.com'],
],
],
],
],
'BucketDataRedundancyTransition' => [
'title' => 'Bucket存储冗余转换任务详情',
'description' => 'Bucket存储冗余转换任务详情',
'type' => 'object',
'properties' => [
'Bucket' => ['title' => 'Bucket名称', 'description' => 'Bucket名称', 'type' => 'string', 'example' => 'example-bucket'],
'TaskId' => ['title' => '存储冗余转换任务的唯一标识', 'description' => '存储冗余转换任务的ID', 'type' => 'string', 'example' => '751f5243f8ac4ae89f34726534d1****'],
'Status' => ['title' => '存储冗余转换任务的状态', 'description' => '存储冗余转换任务的状态,取值如下:'."\n"
."\n"
.'- Queueing:队列中。'."\n"
.'- Processing:进行中。'."\n"
.'- Finished:完成。', 'type' => 'string', 'example' => 'Queueing'],
'CreateTime' => ['title' => '存储冗余转换任务的创建时间', 'description' => '存储冗余转换任务的创建时间', 'type' => 'string', 'example' => '2023-11-17T09:14:39.000Z'],
'StartTime' => ['title' => '存储冗余转换任务的开始时间', 'description' => '存储冗余转换任务的开始时间', 'type' => 'string', 'example' => '2023-11-17T09:14:39.000Z'],
'EndTime' => ['title' => '存储冗余转换任务的完成时间', 'description' => '存储冗余转换任务的完成时间', 'type' => 'string', 'example' => '2023-11-17T09:14:39.000Z'],
'ProcessPercentage' => ['title' => '存储冗余转换任务的进度百分比。取值范围:0-100', 'description' => '存储冗余转换任务的进度百分比。取值范围:0-100', 'type' => 'integer', 'format' => 'int32', 'example' => '88'],
'EstimatedRemainingTime' => ['title' => '存储冗余转换任务的预计剩余耗时。单位为小时。', 'description' => '存储冗余转换任务的预计剩余耗时。单位为小时。', 'type' => 'string', 'example' => '10'],
],
],
'BucketInfo' => [
'title' => '保存Bucket信息的容器',
'description' => '保存Bucket信息的容器',
'type' => 'object',
'properties' => [
'Bucket' => [
'title' => '保存Bucket信息的容器',
'description' => '保存Bucket信息的容器',
'type' => 'object',
'properties' => [
'AccessMonitor' => [
'title' => 'Bucket是否开启访问追踪',
'description' => 'Bucket是否开启访问追踪',
'type' => 'string',
'enumValueTitles' => ['Enabled' => 'Enabled', 'Disabled' => 'Disabled'],
'example' => 'Disabled',
],
'CreationDate' => ['title' => 'Bucket的创建时间', 'description' => 'Bucket的创建时间', 'type' => 'string', 'format' => 'iso8601', 'example' => '2022-01-06T08:20:09.000Z'],
'CrossRegionReplication' => [
'title' => 'Bucket是否开启跨区域复制',
'description' => 'Bucket是否开启跨区域复制',
'type' => 'string',
'enumValueTitles' => ['Enabled' => 'Enabled', 'Disabled' => 'Disabled'],
'example' => 'Disabled',
],
'DataRedundancyType' => ['description' => 'Bucket的数据容灾类型', '$ref' => '#/components/schemas/DataRedundancyType'],
'ExtranetEndpoint' => ['title' => 'Bucket外网访问域名', 'description' => 'Bucket外网访问域名', '$ref' => '#/components/schemas/Endpoint'],
'IntranetEndpoint' => ['title' => 'Bucket内网访问域名', 'description' => 'Bucket内网访问域名', '$ref' => '#/components/schemas/Endpoint'],
'Location' => ['title' => 'Bucket所在地域', 'description' => 'Bucket所在地域', 'type' => 'string', 'example' => 'oss-cn-hangzhou'],
'Name' => ['title' => 'Bucket名称', 'description' => 'Bucket名称', 'type' => 'string', 'example' => 'test-bucket'],
'ResourceGroupId' => ['title' => 'Bucket所在的资源组ID', 'description' => 'Bucket所在的资源组ID', '$ref' => '#/components/schemas/ResourceGroupId'],
'StorageClass' => ['title' => 'Bucket的存储类型', 'description' => 'Bucket的存储类型', '$ref' => '#/components/schemas/StorageClass'],
'TransferAcceleration' => [
'title' => 'Bucket传输',
'description' => 'Bucket传输',
'type' => 'string',
'enumValueTitles' => ['Enabled' => 'Enabled', 'Disabled' => 'Disabled'],
'example' => 'Disabled',
],
'Versioning' => ['title' => 'Bucket多版本状态', 'description' => 'Bucket多版本状态', '$ref' => '#/components/schemas/BucketVersioningStatus'],
'Owner' => ['title' => 'Bucket所有者', 'description' => 'Bucket所有者', '$ref' => '#/components/schemas/Owner'],
'AccessControlList' => ['title' => 'Bucket权限', 'description' => 'Bucket权限', '$ref' => '#/components/schemas/AccessControlList'],
'ServerSideEncryptionRule' => [
'title' => 'Bucket服务端加密配置',
'description' => 'Bucket服务端加密配置',
'type' => 'object',
'properties' => [
'SSEAlgorithm' => ['title' => '服务端加密类型', 'description' => '设置服务器端默认加密方式。'."\n"
."\n"
.'取值:KMS、AES256、SM4。', 'type' => 'string', 'example' => 'KMS'],
'KMSMasterKeyID' => ['title' => '服务端加密KMS密钥', 'description' => '服务端加密KMS密钥', 'type' => 'string', 'example' => ' '."\n"
.'9468da86-3509-4f8d-a61e-6eab1eac****'],
'KMSDataEncryption' => ['title' => '服务端加密KMS加密算法', 'description' => '指定Object的加密算法。如果未指定此选项,表明Object使用AES256加密算法。此选项仅当SSEAlgorithm取值为KMS有效。'."\n"
."\n"
.'取值:SM4', 'type' => 'string', 'example' => 'SM4'],
],
],
'BucketPolicy' => [
'title' => 'Bucket日志配置',
'description' => 'Bucket日志配置',
'type' => 'object',
'properties' => [
'LogBucket' => ['title' => '存储日志记录的Bucket名称。', 'description' => '存储日志记录的Bucket名称。', 'type' => 'string', 'example' => 'example-bucket'],
'LogPrefix' => ['title' => '存储日志文件的目录。', 'description' => '存储日志文件的目录。', 'type' => 'string', 'example' => 'log/'],
],
'$ref' => '#/components/schemas/LoggingEnabled',
],
],
],
],
],
'BucketLoggingStatus' => [
'title' => 'A short description of struct',
'description' => '存储访问日志状态信息的容器。'."\n",
'type' => 'object',
'properties' => [
'LoggingEnabled' => ['description' => '访问日志信息的容器。'."\n", 'required' => true, '$ref' => '#/components/schemas/LoggingEnabled'],
],
],
'BucketProcessConfiguration' => [
'title' => '存储空间图片处理配置',
'description' => 'Bucket图片处理配置',
'type' => 'object',
'properties' => [
'CompliedHost' => ['title' => '域名', 'description' => '域名', 'type' => 'string', 'example' => 'Img'],
'OssDomainSupportAtProcess' => ['title' => '是否支持OSS域名', 'description' => '是否支持OSS域名', 'type' => 'string', 'example' => 'disabled'],
'SourceFileProtect' => ['title' => '原图保护', 'description' => '原图保护', 'type' => 'string', 'example' => 'disabled'],
'SourceFileProtectSuffix' => ['title' => '原图保护后缀', 'description' => '原图保护后缀', 'type' => 'string', 'example' => 'gif'],
'BucketChannelConfig' => ['title' => '图片处理频道配置', 'description' => '图片处理频道配置', '$ref' => '#/components/schemas/BucketChannelConfig'],
'StyleDelimiters' => ['title' => '样式分隔符', 'description' => '样式分隔符', 'type' => 'string', 'example' => '-,|'],
],
],
'BucketQoSConfiguration' => [
'title' => '存储空间级别QoS配置信息',
'description' => '存储空间级别QoS配置信息',
'type' => 'object',
'properties' => [
'TotalUploadBandwidth' => ['title' => '总上行带宽,单位Gbps', 'description' => '总上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'IntranetUploadBandwidth' => ['title' => '内网上行带宽,单位Gbps', 'description' => '内网上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ExtranetUploadBandwidth' => ['title' => '公网上行带宽,单位Gbps', 'description' => '公网上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'TotalDownloadBandwidth' => ['title' => '总下行带宽,单位Gbps', 'description' => '总下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'IntranetDownloadBandwidth' => ['title' => '内网下行带宽,单位Gbps', 'description' => '内网下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'ExtranetDownloadBandwidth' => ['title' => '公网下行带宽,单位Gbps', 'description' => '公网下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'TotalQps' => ['title' => '总QPS', 'description' => '总QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'IntranetQps' => ['title' => '内网QPS', 'description' => '内网QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'ExtranetQps' => ['title' => '公网QPS', 'description' => '公网QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'Exclusive' => ['title' => '是否独立与用户级别QoS配置', 'description' => '是否独立与用户级别QoS配置', 'type' => 'boolean', 'example' => 'true'],
],
],
'BucketResourceGroupConfiguration' => [
'title' => 'Bucket资源组配置',
'description' => 'Bucket资源组配置',
'type' => 'object',
'properties' => [
'ResourceGroupId' => ['title' => '所属资源组ID', 'description' => '所属资源组ID', '$ref' => '#/components/schemas/ResourceGroupId'],
],
],
'BucketStat' => [
'title' => 'BucketStat结构的容器。',
'description' => 'BucketStat结构的容器。',
'type' => 'object',
'properties' => [
'StandardStorage' => ['title' => '标准存储类型的存储量,单位字节。', 'description' => '标准存储类型的存储量,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '1600'],
'ColdArchiveObjectCount' => ['title' => '冷归档存储类型的Object数量。', 'description' => '冷归档存储类型的Object数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '230'],
'ArchiveObjectCount' => ['title' => '归档存储类型的Object数量。', 'description' => '归档存储类型的Object数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'],
'InfrequentAccessStorage' => ['title' => '低频存储类型的计费存储量,单位字节。', 'description' => '低频存储类型的计费存储量,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '1250'],
'ArchiveRealStorage' => ['title' => '归档存储类型的实际存储量,单位字节。', 'description' => '归档存储类型的实际存储量,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '5990'],
'StandardObjectCount' => ['title' => '标准存储类型的Object数量。', 'description' => '标准存储类型的Object数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '12323'],
'ObjectCount' => ['title' => 'Bucket中总的Object数量。', 'description' => 'Bucket中总的Object数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2034903'],
'Storage' => ['title' => 'Bucket的总存储量,单位字节。', 'description' => 'Bucket的总存储量,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '39182324'],
'ArchiveStorage' => ['title' => '归档存储类型的计费存储量,单位字节。', 'description' => '归档存储类型的计费存储量,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '30423'],
'LastModifiedTime' => ['title' => '获取到的存储信息的时间点,格式为时间戳,单位为秒。', 'description' => '获取到的存储信息的时间点,格式为时间戳,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1643341269'],
'MultipartUploadCount' => ['title' => 'Bucket中已经初始化但还未完成(Complete)或者还未中止(Abort)的Multipart Upload数量。', 'description' => 'Bucket中已经初始化但还未完成(Complete)或者还未中止(Abort)的Multipart Upload数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '223'],
'LiveChannelCount' => ['title' => 'Bucket中Live Channel的数量。', 'description' => 'Bucket中Live Channel的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
'ColdArchiveRealStorage' => ['title' => '冷归档存储类型的实际存储量,单位字节。', 'description' => '冷归档存储类型的实际存储量,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '2312'],
'InfrequentAccessObjectCount' => ['title' => '低频存储类型的Object数量。', 'description' => '低频存储类型的Object数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '23'],
'ColdArchiveStorage' => ['title' => '冷归档存储类型的计费存储量,单位字节。', 'description' => '冷归档存储类型的计费存储量,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '342'],
'InfrequentAccessRealStorage' => ['title' => '低频存储类型的实际存储量,单位字节。', 'description' => '低频存储类型的实际存储量,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '65754'],
],
],
'BucketVersioningStatus' => [
'description' => '版本控制状态。取值如下:'."\n"
.'- Enabled:开启版本控制状态。'."\n"
.'- Suspended:暂停版本控制状态。',
'type' => 'string',
'example' => 'Enabled',
'enum' => ['Enabled', 'Suspended'],
],
'BucketWormState' => [
'title' => 'The status of the retention policy',
'description' => '合规保留策略所处的状态。'."\n"
."\n"
.'可选值:'."\n"
."\n"
.'- InProgress:合规保留策略创建后,该策略默认处于“InProgress”状态,且该状态的有效期为24小时。'."\n"
.'- Locked:合规保留策略处于锁定状态。',
'type' => 'string',
'example' => 'Locked',
'enum' => ['InProgress', 'Locked'],
],
'CacheBaseInfo' => [
'title' => '加速器基本信息',
'description' => '加速器基本信息',
'type' => 'object',
'properties' => [
'Name' => ['title' => '加速器名称', 'type' => 'string', 'example' => 'cache1'],
'AvailableZone' => ['title' => '加速器所在可用区', 'type' => 'string', 'example' => 'cn-hangzhou-j'],
'QuotaConfiguration' => ['title' => '加速器容量信息', '$ref' => '#/components/schemas/CacheQuotaConfiguration'],
'CreationDate' => ['title' => '加速器创建时间', 'type' => 'string', 'example' => '2023-09-12T15:26:29.000Z'],
],
],
'CacheBucketInfo' => [
'title' => '加速器关联存储空间信息',
'description' => '加速器关联存储空间信息',
'type' => 'object',
'properties' => [
'Name' => ['title' => '存储空间名称', 'type' => 'string', 'example' => 'test-bucket'],
'CachePolicy' => ['title' => '加速策略', 'type' => 'string', 'example' => 'sync-warmup'],
'AcceleratePaths' => ['title' => '加速路径配置', '$ref' => '#/components/schemas/AcceleratePaths'],
],
],
'CacheConfiguration' => [
'title' => '存储空间加速器配置',
'description' => '存储空间加速器配置信息',
'type' => 'object',
'properties' => [
'Caches' => [
'title' => '保存加速器配置列表的容器',
'type' => 'object',
'properties' => [
'Cache' => [
'title' => '保存加速器配置',
'type' => 'object',
'properties' => [
'AvailableZone' => ['title' => '加速器所属可用区', 'type' => 'string', 'example' => 'cn-hangzhou-j'],
'CacheName' => ['title' => '加速器名称', 'type' => 'string', 'example' => 'data-acc-test_data-acc'],
'CachePolicy' => ['title' => '加速器策略', 'type' => 'string', 'example' => 'sync-warmup'],
'AcceleratePaths' => ['title' => '加速路径配置', '$ref' => '#/components/schemas/AcceleratePaths'],
],
],
],
],
],
],
'CacheDetailInfo' => [
'title' => '加速器详细信息',
'description' => '加速器详细信息',
'type' => 'object',
'properties' => [
'Name' => ['title' => '加速器名称', 'type' => 'string', 'example' => 'test-acc'],
'AvailableZone' => ['title' => '加速器可用区', 'type' => 'string', 'example' => 'cn-hangzhou-j'],
'QuotaConfiguration' => ['title' => '加速器容量配置', '$ref' => '#/components/schemas/CacheQuotaConfiguration'],
'CreationDate' => ['title' => '创建时间', 'type' => 'string', 'example' => '2023-09-12T15:26:29.000Z'],
'Buckets' => [
'title' => '保存加速器关联存储空间列表的容器',
'type' => 'object',
'properties' => [
'Bucket' => [
'title' => '加速器关联存储空间配置',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/CacheBucketInfo'],
],
],
],
],
],
'CacheQuotaConfiguration' => [
'title' => '加速器容量配置',
'description' => '加速器容量配置',
'type' => 'object',
'properties' => [
'QuotaDesc' => [
'title' => '容量配置',
'type' => 'object',
'properties' => [
'Quota' => ['title' => '容量大小', 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
],
],
],
],
'CallbackPolicy' => [
'title' => '存储空间回调参数配置',
'description' => '回调规则配置',
'type' => 'object',
'properties' => [
'PolicyItem' => [
'title' => '回调参数配置条目',
'description' => '回调参数配置条目',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PolicyName' => ['title' => '回调参数配置条目名称', 'description' => '回调参数配置条目名称', 'type' => 'string', 'example' => 'first'],
'Callback' => ['title' => '回调地址', 'description' => '回调地址', 'type' => 'string', 'example' => 'e1wiY2Fsb...9keVwiOlwiYnVja2V0PSR7YnU='],
'CallbackVar' => ['title' => '回调参数', 'description' => '回调参数', 'type' => 'string', 'example' => 'Q2Fs...FcIiwgXCJ4OmJcIjpcImJcIn0='],
],
'description' => '',
],
],
],
],
'CertificateConfiguration' => [
'title' => '保存证书配置信息的容器。',
'description' => '保存Cname的证书配置信息的容器',
'type' => 'object',
'properties' => [
'CertId' => ['title' => '证书ID。', 'description' => '证书ID。', 'type' => 'string', 'example' => '493****-cn-hangzhou'],
'Certificate' => ['title' => '证书公钥。', 'description' => '证书公钥。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- MIIDhDCCAmwCCQCFs8ixARsyrDANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMC **** -----END CERTIFICATE-----'],
'PrivateKey' => ['title' => '证书私钥。', 'description' => '证书私钥。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- MIIDhDCCAmwCCQCFs8ixARsyrDANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMC **** -----END CERTIFICATE-----'],
'PreviousCertId' => ['title' => '当前证书ID。如果Force值不为true,OSS Server会检查该值与当前证书ID是否匹配,不匹配则报错。', 'description' => '当前证书ID。如果Force值不为true,OSS Server会检查该值与当前证书ID是否匹配,不匹配则报错。', 'type' => 'string', 'example' => '493****-cn-hangzhou'],
'Force' => ['title' => '是否强制覆盖证书。', 'description' => '是否强制覆盖证书。', 'type' => 'boolean', 'example' => 'true'],
'DeleteCertificate' => ['title' => '是否删除证书。', 'description' => '是否删除证书。', 'type' => 'boolean', 'example' => 'false'],
],
],
'Channel' => [
'title' => '保存图片处理频道配置信息的容器',
'description' => 'xxx',
'type' => 'object',
'properties' => [
'Status' => ['title' => '图片处理频道的状态', 'description' => '图片处理频道的状态', 'type' => 'string', 'example' => 'enable'],
'OrigPicForbidden' => ['title' => '是否禁止原图访问', 'description' => '是否禁止原图访问', 'type' => 'boolean', 'example' => 'true'],
'UseStyleOnly' => ['title' => '是否仅允许使用样式进行图片处理', 'description' => '是否仅允许使用样式进行图片处理', 'type' => 'boolean', 'example' => 'false'],
'AutoSetContentType' => ['title' => '是否自动设置Content-Type', 'description' => '是否自动设置Content-Type', 'type' => 'boolean', 'example' => 'true'],
'UseSrcFormat' => ['title' => '是否使用源格式', 'description' => '是否使用源格式', 'type' => 'boolean', 'example' => 'true'],
'SetAttachName' => ['title' => '是否设置Content-Disposition: attachment响应头', 'description' => '是否设置Content-Disposition: attachment响应头', 'type' => 'boolean', 'example' => 'false'],
'Default404Pic' => ['title' => '默认404图片', 'description' => '默认404图片', 'type' => 'string', 'example' => '404.jpg'],
'StyleDelimiters' => ['title' => '样式分隔符', 'description' => '样式分隔符', 'type' => 'string', 'example' => '-,|'],
],
],
'CnameCertificate' => [
'title' => '证书信息的容器',
'description' => '证书信息',
'type' => 'object',
'properties' => [
'Type' => [
'title' => '证书来源',
'description' => '证书来源',
'type' => 'string',
'enumValueTitles' => ['CAS' => '证书中心', 'Upload' => '旧版证书托管中用户自主上传的证书'],
'example' => 'CAS',
],
'CertId' => ['title' => '证书ID', 'description' => '证书ID', 'type' => 'string', 'example' => '493****-cn-hangzhou'],
'Status' => [
'title' => '证书状态',
'description' => '证书状态',
'type' => 'string',
'enumValueTitles' => ['Enabled' => '使用证书', 'Disabled' => '未使用证书'],
'example' => 'Enabled',
],
'CreationDate' => ['title' => '证书绑定时间', 'description' => '证书绑定时间', 'type' => 'string', 'example' => 'Wed, 15 Sep 2021 02:35:06 GMT'],
'Fingerprint' => ['title' => '证书签名', 'description' => '证书签名', 'type' => 'string', 'example' => 'DE:01:CF:EC:7C:A7:98:CB:D8:6E:FB:1D:97:EB:A9:64:1D:4E:**:**'],
'ValidStartDate' => ['title' => '证书有效期起始时间', 'description' => '证书有效期起始时间', 'type' => 'string', 'example' => 'Wed, 12 Apr 2023 10:14:51 GMT'],
'ValidEndDate' => ['title' => '证书有效期终止时间', 'description' => '证书有效期终止时间', 'type' => 'string', 'example' => 'Mon, 4 May 2048 10:14:51 GMT'],
],
],
'CnameInfo' => [
'title' => 'A short description of struct',
'description' => 'Cname信息概况。',
'type' => 'object',
'properties' => [
'Domain' => ['title' => '自定义域名', 'description' => '自定义域名。', 'type' => 'string', 'example' => 'example.com'],
'LastModified' => ['title' => '绑定自定义域名的时间', 'description' => '绑定自定义域名的时间。', 'type' => 'string', 'example' => '2021-09-15T02:35:07.000Z'],
'Status' => ['title' => '域名所处的状态', 'description' => '域名所处状态。取值为:'."\n"
."\n"
.'- Enabled::启用该域名。'."\n"
."\n"
.'- Disabled:禁用该域名。', 'type' => 'string', 'example' => 'Enabled'],
'Certificate' => ['description' => '证书信息的容器。', '$ref' => '#/components/schemas/CnameCertificate'],
],
],
'CnameSummary' => [
'title' => 'A short description of struct',
'description' => 'Cname信息概况',
'type' => 'object',
'properties' => [
'Domain' => ['title' => '自定义域名', 'description' => '自定义域名', 'type' => 'string', 'example' => 'example.com'],
'LastModified' => ['title' => '绑定自定义域名的时间', 'description' => '绑定自定义域名的时间', 'type' => 'string', 'example' => '2021-09-15T02:35:07.000Z'],
'Status' => [
'title' => '域名所处的状态',
'description' => '域名所处的状态',
'type' => 'string',
'enumValueTitles' => ['Enabled' => '启用该域名', 'Disabled' => '禁用该域名'],
'example' => 'Enabled',
],
'Certificate' => ['description' => '证书信息的容器', '$ref' => '#/components/schemas/CnameCertificate'],
],
],
'CnameToken' => [
'title' => 'A short description of struct',
'description' => 'CnameToken的容器。',
'type' => 'object',
'properties' => [
'Bucket' => ['title' => '绑定Cname的Bucket名称', 'description' => '绑定Cname的Bucket名称。', 'type' => 'string', 'example' => 'examplebucket'],
'Cname' => ['title' => '绑定的Cname名称', 'description' => '绑定的Cname名称。', 'type' => 'string', 'example' => 'example.com'],
'Token' => ['title' => 'Token 的内容', 'description' => 'OSS返回的CnameToken。', 'type' => 'string', 'example' => 'be1d49d863dea9ffeff3df7d6455****'],
'ExpireTime' => ['title' => 'Token的有效期', 'description' => 'CnameToken的过期时间。', 'type' => 'string', 'example' => 'Wed, 23 Feb 2022 21:16:37 GMT'],
],
],
'CommentConfiguration' => [
'title' => 'bucket备注内容的容器',
'description' => '存放bucket备注内容的容器',
'type' => 'object',
'properties' => [
'Comment' => ['title' => 'bucket的备注内容', 'type' => 'string', 'example' => 'comments'],
],
],
'CommonHeaders' => [
'title' => '存放用户自定义HTTP Header的容器',
'description' => '存放用户自定义HTTP Header配置的容器',
'type' => 'object',
'properties' => [
'Header' => [
'title' => '存放用户自定义HTTP Header的容器',
'description' => '存放用户自定义HTTP Header列表的容器',
'type' => 'array',
'items' => [
'description' => '存放用户自定义HTTP Header的容器',
'type' => 'object',
'properties' => [
'Key' => ['title' => 'HTTP Header的Key', 'description' => 'HTTP Header的Key', 'type' => 'string', 'example' => 'X-Content-Type-Options'],
'Value' => ['title' => 'HTTP Header的Value', 'description' => 'HTTP Header的Value', 'type' => 'string', 'example' => 'nosniff'],
],
],
],
],
],
'CommonPrefix' => [
'title' => 'Objects whose names contain the same string that ranges from the prefix to the next occurrence of the delimiter are grouped as a single result',
'description' => '如果请求中指定了delimiter参数,则OSS返回的响应中包含CommonPrefixes元素。该元素标明以delimiter结尾,并有共同前缀的Object名称的集合。'."\n",
'type' => 'object',
'properties' => [
'Prefix' => ['title' => 'The prefix that the names of returned objects contain', 'description' => '本次查询结果的前缀。', 'type' => 'string', 'example' => 'fun/'],
],
],
'CompleteMultipartUpload' => [
'title' => 'A short description of struct',
'description' => '保存CompleteMultipartUpload请求内容的容器。',
'type' => 'object',
'properties' => [
'Part' => [
'title' => 'The information of all parts',
'description' => '保存已上传Part信息的容器。'."\n",
'type' => 'array',
'items' => [
'description' => '保存已上传Part信息的容器。'."\n",
'type' => 'object',
'properties' => [
'PartNumber' => ['title' => 'Part number of the part', 'description' => 'Part数目。', 'type' => 'integer', 'format' => 'int64', 'example' => '8'],
'ETag' => ['title' => 'The ETag of the part.', 'description' => 'Object生成时会创建相应的ETag ,ETag用于标识一个Object的内容。'."\n"
."\n"
.'通过CompleteMultipartUpload请求创建的Object,ETag值是基于一定计算规则生成的唯一值,但不是其内容的MD5值。'."\n"
."\n"
.'> ETag值可以用于检查Object内容是否发生变化。不建议使用ETag作为Object内容的MD5来校验数据完整性。', 'type' => 'string', 'example' => '3349DC700140D7F86A0784842780****'],
],
],
],
],
],
'CompressionType' => [
'title' => 'A short description of struct',
'description' => '指定文件压缩类型(可选)。',
'type' => 'string',
'example' => 'None',
'enum' => ['None', 'GZIP'],
],
'CopyObjectResult' => [
'title' => 'A short description of struct',
'description' => 'CopyObject的结果。',
'type' => 'object',
'properties' => [
'ETag' => ['title' => 'description', 'description' => 'Object生成时会创建相应的ETag ,ETag用于标识一个Object的内容。'."\n"
.' - 对于PutObject请求创建的Object,ETag值是其内容的MD5值。'."\n"
.' - 对于其他方式创建的Object,ETag值是基于一定计算规则生成的唯一值,但不是其内容的MD5值。'."\n"
."\n"
.'>ETag值可以用于检查Object内容是否发生变化。不建议使用ETag作为Object内容的MD5来校验数据完整性。'."\n"
.'默认值:无', 'type' => 'string', 'example' => ' '."\n"
.'5B3C1A2E053D763E1B002CC607C5****'],
'LastModified' => ['title' => 'description', 'description' => '最近一次修改的时间。'."\n", 'type' => 'string', 'example' => 'Fri, 24 Feb 2012 07:18:48 GMT'],
],
],
'CopyPartResult' => [
'title' => 'A short description of struct',
'description' => 'CopyObject的结果。',
'type' => 'object',
'properties' => [
'ETag' => ['title' => 'A short description of ETag', 'description' => 'Object生成时会创建相应的ETag ,ETag用于标识一个Object的内容。'."\n"
.'通过CompleteMultipartUpload请求创建的Object,ETag值是基于一定计算规则生成的唯一值,但不是其内容的MD5值。'."\n"
."\n"
.'> ETag值可以用于检查Object内容是否发生变化。不建议使用ETag作为Object内容的MD5来校验数据完整性。'."\n", 'type' => 'string', 'example' => '3349DC700140D7F86A0784842780****'],
'LastModified' => ['title' => 'A short description of LastModified', 'description' => 'Part上传的时间。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2012-02-23T07:01:34.000Z'],
],
],
'CORSConfiguration' => [
'title' => 'A short description of struct',
'description' => 'Bucket的CORS规则容器。',
'type' => 'object',
'properties' => [
'CORSRule' => [
'title' => 'description',
'description' => 'CORS规则的容器。'."\n"
."\n"
.'每个Bucket最多允许10条CORS规则。上传的XML文档最大允许16 KB。',
'type' => 'array',
'items' => ['description' => 'CORS规则的信息。', '$ref' => '#/components/schemas/CORSRule'],
],
'ResponseVary' => [
'title' => 'description',
'description' => '是否返回Vary: Origin头。取值范围如下:'."\n"
."\n"
.'- true:不管发送的是否是跨域请求或跨域请求是否成功,均会返回Vary: Origin头。'."\n"
.'- false(默认值):任何情况下均不返回Vary: Origin头。'."\n"
."\n"
.'> 此字段不能单独配置,必须至少配置一项跨域规则才能生效。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
],
],
'CORSRule' => [
'title' => 'A short description of struct',
'description' => 'CORS规则的容器。'."\n"
."\n"
.'每个Bucket最多允许10条CORS规则。上传的XML文档最大允许16 KB。',
'type' => 'object',
'properties' => [
'AllowedOrigin' => [
'title' => 'description',
'description' => '指定允许的跨域请求来源。',
'type' => 'array',
'items' => ['description' => '指定允许的跨域请求来源。'."\n"
."\n"
.'OSS允许使用多个元素来指定多个允许的来源。多个元素之间用英文逗号(,)分隔。'."\n"
."\n"
.'OSS仅允许使用一个星号(\\*)通配符。如果指定为星号(\\*),则表示允许所有来源的跨域请求。', 'type' => 'string', 'example' => '*'],
],
'AllowedMethod' => [
'title' => 'description',
'description' => '指定允许的跨域请求方法。',
'type' => 'array',
'items' => ['description' => '指定允许的跨域请求方法。'."\n"
."\n"
.'取值范围为GET、PUT、DELETE、POST、HEAD。', 'type' => 'string', 'example' => 'GET'],
],
'AllowedHeader' => [
'title' => 'description',
'description' => '控制OPTIONS预取指令Access-Control-Request-Headers中指定的Header是否被允许。在Access-Control-Request-Headers中指定的每个Header都必须在AllowedHeader中有对应的项。'."\n"
."\n"
.'> 仅允许使用一个星号(*)通配符。',
'type' => 'string',
'items' => ['visibility' => 'Public', 'type' => 'string', 'example' => 'x-oss-*', 'extendType' => 'true'],
'example' => 'Authorization',
],
'ExposeHeader' => [
'title' => 'description',
'description' => '指定允许用户从应用程序中访问的响应头。例如一个JavaScript的XMLHttpRequest对象。'."\n"
."\n"
.'> 不允许使用星号(*)通配符。',
'type' => 'array',
'items' => ['description' => '指定允许用户从应用程序中访问的响应头。例如一个JavaScript的XMLHttpRequest对象。'."\n"
."\n"
.'> 不允许使用星号(*)通配符。', 'type' => 'string', 'example' => 'x-oss-test'],
],
'MaxAgeSeconds' => ['title' => 'description', 'description' => '指定浏览器对特定资源的预取(OPTIONS)请求返回结果的缓存时间。单位为秒。'."\n"
."\n"
.'单条CORS规则仅允许一个MaxAgeSeconds。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
],
],
'CreateAccessPointConfiguration' => [
'title' => '保存接入点信息的容器。',
'description' => '保存接入点信息的容器。',
'type' => 'object',
'properties' => [
'AccessPointName' => ['title' => '接入点名称', 'description' => '接入点名称。接入点命名规范如下:'."\n"
."\n"
.'- 接入点名称在当前阿里云账号单个地域内唯一。'."\n"
."\n"
.'- 不允许以-ossalias结尾。'."\n"
."\n"
.'- 只能包括小写字母、数字和短划线(-),不能以短划线(-)开头或结尾。'."\n"
."\n"
.'- 命名长度为3~19个字符。', 'type' => 'string', 'example' => 'ap-01'],
'NetworkOrigin' => ['title' => '接入点网络来源。', 'description' => '接入点网络来源。', '$ref' => '#/components/schemas/AccessPointNetworkOrigin'],
'VpcConfiguration' => ['title' => '保存VPC网络来源信息的容器。', 'description' => '保存VPC网络来源信息的容器。', '$ref' => '#/components/schemas/AccessPointVpcConfiguration'],
],
],
'CreateAccessPointResult' => [
'title' => '保存接入点信息的容器。',
'description' => '保存接入点信息的容器。',
'type' => 'object',
'properties' => [
'AccessPointArn' => ['title' => '接入点ARN。', 'description' => '接入点ARN。', '$ref' => '#/components/schemas/AccessPointArn'],
'Alias' => ['title' => '接入点别名。', 'description' => '接入点别名。', '$ref' => '#/components/schemas/AccessPointAlias'],
],
],
'CreateBucketConfiguration' => [
'title' => 'The configuration of a bucket.',
'description' => 'Bucket存储类型和数据容灾类型的配置信息。',
'type' => 'object',
'properties' => [
'StorageClass' => [
'description' => 'Bucket的存储类型。 取值范围如下:'."\n"
."\n"
.'- Standard(默认):标准存储'."\n"
.'- IA:低频访问'."\n"
.'- Archive:归档存储'."\n"
.'- ColdArchive:冷归档存储',
'enumValueTitles' => [],
'$ref' => '#/components/schemas/StorageClass',
],
'DataRedundancyType' => [
'description' => '指定Bucket的数据容灾类型。'."\n"
."\n"
.'- LRS(默认值)'."\n"
.'
本地冗余LRS,将您的数据冗余存储在同一个可用区的不同存储设备上,可支持两个存储设备并发损坏时,仍维持数据不丢失,可正常访问。'."\n"
."\n"
.'- ZRS'."\n"
.'
同城冗余ZRS采用多可用区(AZ)机制,将您的数据冗余存储在同一地域(Region)的3个可用区。可支持单个可用区(机房)整体故障时(例如断电、火灾等),仍然能够保障数据的正常访问。'."\n"
.'> 归档类型的Bucket不支持设置同城冗余。',
'enumValueTitles' => [],
'$ref' => '#/components/schemas/DataRedundancyType',
],
],
],
'CreateCacheConfiguration' => [
'title' => '加速器创建参数',
'description' => '加速器创建参数',
'type' => 'object',
'properties' => [
'Name' => ['title' => '加速器名称', 'type' => 'string', 'example' => 'cache2'],
'AvailableZone' => ['title' => '加速器可用区', 'type' => 'string', 'example' => 'cn-hangzhou-j'],
'QuotaConfiguration' => ['title' => '加速器容量配置', '$ref' => '#/components/schemas/CacheQuotaConfiguration'],
],
],
'CreateDataLakeCachePrefetchJob' => [
'title' => 'oss加速器异步预热配置',
'description' => 'oss cache异步预热规则',
'type' => 'object',
'properties' => [
'Includes' => [
'title' => '需要预热的文件前缀列表',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'abc/def'],
],
'Tag' => ['title' => '配置标签', 'type' => 'string', 'example' => 'Jobxxx'],
'Excludes' => [
'title' => '不需要预热的文件前缀列表',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'not-prefetch/'],
],
],
],
'CreateDataLakeStorageTransferJob' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'CreateDataLakeStorageTransferJob' => [
'title' => '数据湖元数据转换任务配置',
'description' => '数据湖元数据转换任务配置',
'type' => 'object',
'properties' => [
'Includes' => [
'title' => '待转换的文件前缀列表',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'abc/'],
],
'ExecutorRoleId' => ['title' => '授权角色', 'type' => 'string', 'example' => 'AliyunOSSRole'],
'LogBaseDir' => ['title' => '日志存放路径', 'type' => 'string', 'example' => 'log'],
'Tag' => ['title' => '标签', 'type' => 'string', 'example' => 'tag'],
'NeedVerify' => ['title' => '是否开启校验', 'type' => 'boolean', 'example' => 'false'],
],
],
],
],
],
'CreateFileGroup' => [
'title' => '创建FileGroup类型文件的请求体',
'description' => '创建FileGroup类型文件的请求',
'type' => 'object',
'properties' => [
'Part' => [
'title' => 'FileGroup文件每个Part的信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PartNumber' => ['title' => 'Part的序号', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'PartName' => ['title' => 'Part的文件名', 'type' => 'string', 'example' => 'test.txt'],
'ETag' => ['title' => 'Part的ETag', 'type' => 'string', 'example' => '"EB327B57BB20D17C293A966115FE27BD"'],
],
],
],
],
],
'CreateFileGroupResult' => [
'title' => '创建FileGroup类型文件的结果',
'description' => '创建FileGroup类型文件的结果',
'type' => 'object',
'properties' => [
'Bucket' => ['title' => '文件所属的存储空间', 'type' => 'string', 'example' => 'test-bucket'],
'Key' => ['title' => '文件名称', 'type' => 'string', 'example' => 'test.txt'],
'ETag' => ['title' => '文件ETag', 'type' => 'string', 'example' => '"06A4DDABDD5F65868B8C5919E76487D6"'],
'Size' => ['title' => '文件大小', 'type' => 'integer', 'format' => 'int64', 'example' => '384'],
],
],
'CreateLargeReservedCapacityResult' => [
'title' => '创建预留空间的结果',
'description' => '创建预留空间的结果',
'type' => 'object',
'properties' => [
'Owner' => ['title' => '预留空间所有者信息', '$ref' => '#/components/schemas/Owner'],
'Name' => ['title' => '预留空间名称', 'type' => 'string', 'example' => 'test-rc-01'],
'Region' => ['title' => '预留空间所属地域', 'type' => 'string', 'example' => 'oss-cn-hangzhou'],
'ID' => ['title' => '预留空间ID', 'type' => 'string', 'example' => 'c99797e7-510d-41e3-ac82-e851c17e1f5c'],
],
],
'CreateObjectLinkResult' => [
'title' => 'ObjectLink类型文件创建结果',
'description' => 'ObjectLink类型文件创建结果',
'type' => 'object',
'properties' => [
'Bucket' => ['title' => '文件所属存储空间名称', 'type' => 'string', 'example' => 'test-bucket'],
'Key' => ['title' => '文件名称', 'type' => 'string', 'example' => 'ink-object'],
'ETag' => ['title' => '文件的ETag', 'type' => 'string', 'example' => '"5D3D4F3D1E6C690977E79E413C5F951D"'],
],
],
'CreateSelectMetaProcess' => ['description' => 'CreateSelectMeta可选的x-oss-process参数', 'type' => 'string', 'example' => 'csv/meta'],
'CSVInput' => [
'title' => 'A short description of struct',
'description' => '保存Select请求的容器。',
'type' => 'object',
'properties' => [
'FileHeaderInfo' => [
'description' => '指定CSV文件头信息。'."\n"
."\n"
.'- Use:该CSV文件有头信息,可以用CSV列名作为Select中的列名。'."\n"
."\n"
.'- Ignore:该CSV文件有头信息,但不可用CSV列名作为Select中的列名。'."\n"
."\n"
.'- None:该文件没有头信息,为默认值。',
'enumValueTitles' => ['Ignore' => 'Ignore', 'Use' => 'Use', 'None' => 'None'],
'example' => 'Use',
'$ref' => '#/components/schemas/FileHeaderInfo',
],
'RecordDelimiter' => ['title' => 'description', 'description' => '指定换行符,以Base64编码。默认值为\\n(可选)。未编码前的值最多为两个字符,以字符的ANSI值表示,例如在Java中使用\\n表示换行。', 'type' => 'string', 'example' => '\\n'],
'FieldDelimiter' => ['title' => 'description', 'description' => '指定CSV列分隔符,以Base64编码。默认值为`,`(可选)。未编码前的值必须为一个字符,以字符的ANSI值表示,例如在Java中使用`,`表示逗号。', 'type' => 'string', 'example' => ','],
'QuoteCharacter' => ['title' => 'description', 'description' => '指定CSV的引号字符,以Base64编码。默认值为`\\”`(可选)。在CSV中引号内的换行符,列分隔符将被视作普通字符。未编码前的值必须为一个字符,以字符的ANSI值表示,例如在Java中使用`\\”`表示引号。', 'type' => 'string', 'example' => '\\”'],
'CommentCharacter' => ['title' => 'description', 'description' => '指定CSV的注释符,以Base64编码。默认值为空(即没有注释符)。', 'type' => 'string', 'example' => '#'],
'Range' => [
'title' => 'description',
'description' => '指定查询文件的范围(可选)。支持两种格式:'."\n"
."\n"
.'> 使用Range参数查询的文件需要有select meta。关于select meta的更多信息,请参见[CreateSelectObjectMeta](~~74054~~)。'."\n"
."\n"
.'- 按行查询:line-range=start-end。例如line-range=10-20表示扫描第10行到第20行。'."\n"
."\n"
.'- 按Split查询:split-range=start-end。例如split-range=10-20表示扫描第10到第20个split。'."\n"
."\n"
.'
其中start和end均为inclusive。其格式和range get中的range参数一致。'."\n"
.'
仅在文档是CSV或者JSON Type为LINES时使用。',
'type' => 'string',
'enumValueTitles' => ['line-range=start-end' => 'line-range=start-end', 'split-range=start-end' => 'split-range=start-end'],
'example' => 'line-range=start-end',
],
'AllowQuotedRecordDelimiter' => [
'title' => 'description',
'description' => '指定CSV内容是否含有在引号中的换行符。'."\n"
.'
例如某一列值为`"abc\\ndef" `(此处`\\n`为换行), 则该值需设置为true。当该值为false时,select支持header range的语义,可以更高效的进行分片查询。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
],
],
'CSVOutput' => [
'title' => 'A short description of struct',
'description' => '保存Select请求的容器。',
'type' => 'object',
'properties' => [
'RecordDelimiter' => ['title' => 'description', 'description' => '指定换行符,以Base64编码。未编码前的值最多为两个字符,以字符的ANSI值表示,例如在Java中使用`\\n`表示换行。'."\n"
.'
默认值:`\\n`', 'type' => 'string', 'example' => '\\n'],
'FieldDelimiter' => ['title' => 'description', 'description' => '指定CSV列分隔符,以Base64编码。未编码前的值必须为一个字符,以字符的ANSI值表示,例如在Java中使用`,`表示逗号。'."\n"
.'
默认值:`,`', 'type' => 'string', 'example' => ','],
],
],
'DataAccelerator' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'DataAccelerator' => [
'title' => '数据湖加速器配置信息',
'description' => '数据湖加速器信息',
'type' => 'object',
'properties' => [
'BasicInfomation' => [
'title' => '信息',
'type' => 'object',
'properties' => [
'AcceleratePaths' => ['title' => '缓存路径集合', '$ref' => '#/components/schemas/AcceleratePaths'],
'FlowCapFlag' => ['title' => '流控配额类型', 'type' => 'boolean', 'example' => 'normal'],
'CreationDate' => ['title' => '创建时间', 'type' => 'string', 'example' => '1731394193189'],
'FlowCap' => ['title' => '流控配额', 'type' => 'string', 'example' => '1731394193189'],
'Quota' => ['title' => '容量', 'type' => 'string', 'example' => '1024000'],
'Version' => ['title' => '版本', 'type' => 'string', 'example' => 'v2'],
],
],
'BucketName' => ['title' => '桶名', 'type' => 'string', 'example' => 'test-acc-bucket'],
'Name' => ['title' => '加速器名', 'type' => 'string', 'example' => 'test-acc-bucket_data-acc'],
],
],
],
],
],
'DataAcceleratorConfiguration' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'DataAcceleratorConfiguration' => [
'title' => '创建数据湖加速器的参数',
'type' => 'object',
'properties' => [
'Quota' => ['title' => '加速器容量', 'type' => 'string', 'example' => '102400'],
'AcceleratePaths' => ['title' => '加速路径集合', '$ref' => '#/components/schemas/AcceleratePaths'],
],
],
],
],
],
'DataLakeCachePrefetchJob' => [
'title' => '加速器异步预热任务配置信息',
'description' => 'oss加速器异步预热配置',
'type' => 'object',
'properties' => [
'Id' => ['title' => '加速器异步预热配置ID', 'type' => 'string', 'example' => '84dcbfa10wdp488211dc6cb287f4d804'],
'HistoryId' => ['title' => '上一次触发的历史任务id', 'type' => 'string', 'example' => '84dcbfa10wdp488211dc6cb287f4d804'],
'Bucket' => ['title' => '存储空间名称', 'type' => 'string', 'example' => 'bucket-example'],
'Type' => ['title' => '复制任务类型', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'Status' => ['title' => '复制任务状态', 'type' => 'string', 'example' => 'REPLICATION_JOB_IDLE'],
'CreateTime' => ['title' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1727162332'],
'LastModifyTime' => ['title' => '最后修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1727164655'],
'Rule' => ['title' => '加速器异步预热任务规则', '$ref' => '#/components/schemas/DataLakeCachePrefetchJobRule'],
],
],
'DataLakeCachePrefetchJobHistory' => [
'title' => 'oss加速器异步预热任务执行记录',
'description' => 'oss加速器异步预热任务执行记录',
'type' => 'object',
'properties' => [
'JobId' => ['title' => 'oss加速器异步预热配置ID', 'type' => 'string', 'example' => '345sdf60df1329d88482912343ea74g2'],
'Id' => ['title' => '异步预热任务执行记录Id', 'type' => 'string', 'example' => '8w643e67a54c4670b5ed321511234567'],
'Status' => ['title' => '任务执行状态', 'type' => 'string', 'example' => 'REPLICATION_JOB_SUCCESS'],
'StartTime' => ['title' => '任务执行开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1727176463'],
'EndTime' => ['title' => '任务执行结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1727176823'],
'TotalCount' => ['title' => '需要预热的总文件数目', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'SucceedCount' => ['title' => '成功预热的文件数目', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'DataLakeCachePrefetchJobRule' => [
'title' => 'oss加速器异步预热规则',
'description' => 'oss加速器异步预热规则',
'type' => 'object',
'properties' => [
'PrefixFilter' => [
'title' => '文件前缀过滤规则',
'type' => 'object',
'properties' => [
'Includes' => [
'title' => '需要异步预热的文件前缀列表',
'type' => 'object',
'properties' => [
'Include' => [
'title' => '需要异步预热的文件前缀',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'abc/def'],
],
],
],
'Excludes' => [
'title' => '不需要异步预热的文件前缀列表',
'type' => 'object',
'properties' => [
'Exclude' => [
'title' => '不需要异步预热的文件前缀',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'abc/def'],
],
],
],
],
],
'Tag' => ['title' => '规则标签', 'type' => 'string'],
],
],
'DataLakeStorageTransferJob' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'DataLakeStorageTransferJob' => [
'title' => '数据湖元数据转换任务配置信息',
'description' => '数据湖元数据转换任务配置信息',
'type' => 'object',
'properties' => [
'Id' => ['title' => '任务ID', 'type' => 'string', 'example' => 'abcdef87e3c04af2af290ec52d123456'],
'HistoryId' => ['title' => '上一次触发的历史任务ID', 'type' => 'string', 'example' => 'abcdef87e3c04af2af290ec52d123456'],
'Bucket' => ['title' => 'Bucket名称', 'type' => 'string', 'example' => 'bucket1'],
'Type' => ['title' => '复制任务类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Status' => ['title' => '复制任务状态', 'type' => 'string', 'example' => 'REPLICATION_JOB_IDLE'],
'CreateTime' => ['title' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1727162332'],
'LastModifyTime' => ['title' => '最后修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1727164655'],
'Rule' => ['title' => '数据湖元数据转换规则', '$ref' => '#/components/schemas/DataLakeStorageTransferJobRule'],
'ProgressInfo' => [
'title' => '任务进度',
'type' => 'object',
'properties' => [
'Percent' => ['title' => '任务进度百分比', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
],
],
],
],
],
],
],
'DataLakeStorageTransferJobHistory' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'DataLakeStorageTransferJobHistory' => [
'title' => '数据湖元数据转换任务',
'description' => '数据湖元数据转换历史任务',
'type' => 'object',
'properties' => [
'JobId' => ['title' => '历史任务ID', 'type' => 'string', 'example' => '43452'],
'Id' => ['title' => '数据湖元数据转换任务ID', 'type' => 'string', 'example' => 'abcdef03370a4b32ac6bc69eb1123456'],
'Status' => ['title' => '任务状态', 'type' => 'string', 'example' => 'REPLICATION_JOB_SUCCESS'],
'StartTime' => ['title' => '任务开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1731830653'],
'EndTime' => ['title' => '任务结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1731830653'],
'TotalCount' => ['title' => '待转换的文件总数', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
'SucceedCount' => ['title' => '转换成功的文件数', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'],
'DetailInfo' => [
'title' => '详细信息',
'type' => 'object',
'properties' => [
'HDFSTransferJobId' => ['title' => 'HDFS转化任务ID', 'type' => 'string', 'example' => 'abcdef03370a4b32ac6bc69eb1123456'],
'HDFSTransferDataDir' => ['title' => 'HDFS数据路径', 'type' => 'string', 'example' => 'abc/'],
'HDFSTransferImportMetaDir' => ['title' => 'HDFS元数据路径', 'type' => 'string', 'example' => 'meta-dta/'],
'HDFSTransferErrInfoDir' => ['title' => 'HDFS错误信息路径', 'type' => 'string', 'example' => 'hdfs-error/'],
'LogBaseDir' => ['title' => '日志存放路径', 'type' => 'string', 'example' => 'hdfs-logs/'],
'HDFSFailedCount' => ['title' => '失败文件个数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'ErrorMsg' => ['title' => '错误信息', 'type' => 'string', 'example' => 'NotSupported'],
'VerifyTotalCount' => ['title' => '校验总数', 'type' => 'integer', 'format' => 'int64', 'example' => '123456'],
'VerifyStatus' => ['title' => '当前校验状态', 'type' => 'string', 'example' => 'VERIFY_SUCCEED'],
'VerifyErrInfoDir' => ['title' => '校验错误信息路径', 'type' => 'string', 'example' => 'verify-error/'],
],
],
],
'parseType' => 'struct',
],
],
],
],
'DataLakeStorageTransferJobHistoryId' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'DataLakeStorageTransferJobHistoryId' => [
'title' => '数据湖元数据转换历史任务ID',
'description' => '数据湖元数据转换历史任务ID',
'type' => 'object',
'properties' => [
'HistoryId' => ['title' => '数据湖元数据转换历史任务ID', 'type' => 'string', 'example' => 'abcdef03370a4b32ac6bc69eb1123456'],
],
],
],
],
],
'DataLakeStorageTransferJobId' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'DataLakeStorageTransferJobId' => [
'title' => '数据湖元数据转换任务ID',
'description' => '数据湖元数据转换任务ID',
'type' => 'object',
'properties' => [
'Id' => ['title' => '数据湖元数据转换任务ID', 'type' => 'string', 'example' => 'abcde787e3c04af2af290ec52d123456'],
],
],
],
],
],
'DataLakeStorageTransferJobRule' => [
'title' => '数据湖元数据转换规则',
'description' => '数据湖元数据转换任务规则',
'type' => 'object',
'properties' => [
'PrefixFilter' => [
'title' => '文件前缀过滤规则',
'type' => 'object',
'properties' => [
'Includes' => [
'title' => '待转换的文件前缀列表',
'type' => 'object',
'properties' => [
'Include' => [
'title' => '待转换的文件前缀列表',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'abc/'],
],
],
],
],
],
'Tag' => ['title' => '规则标签', 'type' => 'string', 'example' => 'tag'],
'ExecutorRoleId' => ['title' => '授权角色', 'type' => 'string', 'example' => 'AliyunOSSRole'],
'LogBaseDir' => ['title' => '日志存放路径', 'type' => 'string', 'example' => 'log/'],
'NeedVerify' => ['title' => '是否开启校验', 'type' => 'boolean', 'example' => 'false'],
],
],
'DataLakeStorageTransferJobs' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'DataLakeStorageTransferJobs' => [
'title' => '数据湖元数据转换任务列表',
'description' => '数据湖元数据转换任务列表',
'type' => 'object',
'properties' => [
'Truncated' => ['title' => '结果是否有截断', 'type' => 'string', 'example' => 'false'],
'NextMarkerBucket' => ['title' => '结果的下一个Bucket标记', 'type' => 'string', 'example' => 'test-bucket'],
'NextMarkerJobId' => ['title' => '结果的下一个任务ID', 'type' => 'string', 'example' => 'abcdef03370a4b32ac6bc69eb1123456'],
'DataLakeStorageTransferJob' => [
'title' => '数据湖元数据转换任务列表',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/DataLakeStorageTransferJob'],
],
],
],
],
],
],
'DataRedundancyType' => [
'title' => 'The type of disaster recovery for a bucket.',
'description' => 'Bucket的数据容灾类型。取值范围如下:'."\n"
."\n"
.'- LRS(默认) :本地冗余LRS,将您的数据冗余存储在同一个可用区的不同存储设备上,可支持两个存储设备并发损坏时,仍维持数据不丢失,可正常访问。'."\n"
.'- ZRS:同城冗余ZRS,采用多可用区(AZ)机制,将您的数据冗余存储在同一地域(Region)的3个可用区。可支持单个可用区(机房)整体故障时(例如断电、火灾等),仍然能够保障数据的正常访问。'."\n"
.'>归档类型的Bucket不支持设置同城冗余。',
'type' => 'string',
'example' => 'LRS',
'default' => 'LRS',
'enum' => ['LRS', 'ZRS'],
],
'Delete' => [
'title' => 'A short description of struct',
'description' => '保存DeleteMultipleObjects请求的容器。',
'type' => 'object',
'properties' => [
'Quiet' => ['title' => 'description', 'description' => '打开简单响应模式的开关。'."\n"
.'DeleteMultipleObjects提供以下两种消息返回模式:'."\n"
.' - 简单模式(quiet):OSS不返回消息体。'."\n"
.' - 详细模式(verbose):OSS返回的消息体中会包含所有删除Object的结果。默认采用详细模式。'."\n"
."\n"
.'有效值:**true**(开启简单模式)、**false**(开启详细模式)'."\n"
.'默认值:**false**'."\n", 'type' => 'boolean', 'example' => 'false'],
'Object' => [
'title' => 'description',
'description' => '保存一个Object信息的容器。',
'type' => 'array',
'items' => ['description' => '对象标识符。', '$ref' => '#/components/schemas/ObjectIdentifier'],
],
],
],
'DeletedObject' => [
'title' => 'A short description of struct',
'description' => '保存被成功删除的Object的容器。'."\n"
."\n",
'type' => 'object',
'properties' => [
'Key' => ['title' => 'description', 'description' => '被删除Object的名字。', 'type' => 'string', 'example' => 'multipart.data'],
'DeleteMarker' => [
'title' => 'description',
'description' => '表示该版本是否为删除标记。true为是,false为否。'."\n"
.'> 只有当创建删除标记和永久删除删除标记时,才会返回该元素,且值为true。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
'DeleteMarkerVersionId' => ['title' => 'description', 'description' => '表示删除标记对应的版本ID。', 'type' => 'string', 'example' => 'CAEQMhiBgIDB3aWB0BYiIGUzYTA3YzliMzVmNzRkZGM5NjllYTVlMjYyYWEy****'],
'VersionId' => ['title' => 'description', 'description' => 'Object对应的版本ID。', 'type' => 'string', 'example' => 'CAEQNRiBgIDyz.6C0BYiIGQ2NWEwNmVhNTA3ZTQ3MzM5ODliYjM1ZTdjYjA4****'],
],
],
'DeleteMarkerEntry' => [
'title' => 'Information about the delete marker',
'description' => '保存删除标记的容器。'."\n"
."\n",
'type' => 'object',
'properties' => [
'Key' => ['title' => 'The name of the object', 'description' => 'Object的名称。', 'type' => 'string', 'example' => 'example'],
'VersionId' => ['title' => 'The version ID of the object', 'description' => 'Object的版本ID。'."\n", 'type' => 'string', 'example' => 'CAEQMxiBgMDNoP2D0BYiIDE3MWUxNzgxZDQxNTRiODI5OGYwZGMwNGY3MzZjN****'],
'IsLatest' => [
'title' => 'Indicates whether the version is the current version',
'description' => 'Object是否为当前版本。'."\n"
.'取值:'."\n"
."\n"
.'- true:Object为当前版本。'."\n"
."\n"
.'- false:Object为非当前版本。'."\n",
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
'default' => 'false',
],
'LastModified' => ['title' => 'The last modified time of the object', 'description' => 'Object最后被修改的时间。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2019-04-09T07:27:28.000Z'],
'Owner' => ['description' => '保存Bucket拥有者信息的容器。', '$ref' => '#/components/schemas/Owner'],
],
],
'EncodeType' => [
'title' => 'specifies the encoding method to use',
'description' => '指明返回结果中编码使用的类型。如果请求的参数中指定了encoding-type,那返回的结果会对Key进行编码。'."\n",
'type' => 'string',
'example' => 'url',
'enum' => ['url'],
],
'Endpoint' => ['title' => '访问域名', 'description' => '访问域名', 'type' => 'string', 'example' => 'oss-cn-hangzhou.aliyuncs.com'],
'Error' => [
'title' => 'Error responses',
'description' => '错误响应。',
'type' => 'object',
'properties' => [
'Code' => ['title' => 'The error code that OSS returns to the user', 'description' => '错误码。', 'type' => 'string', 'example' => 'AccessDenied'],
'Message' => ['title' => 'The detailed error message provided by OSS', 'description' => '错误信息。', 'type' => 'string', 'example' => 'Anonymous user has no right to access this bucket.'],
'RequestId' => ['title' => 'The ID that uniquely identifies a request', 'description' => '请求ID。', 'type' => 'string', 'example' => '654D97A16F8C26383287EAAF'],
'HostId' => ['title' => 'The ID of the host in the accessed OSS cluster', 'description' => '访问OSS所用的域名。', 'type' => 'string', 'example' => 'example-bucket.oss-cn-hangzhou.aliyuncs.com'],
],
],
'ErrorDocument' => [
'title' => '保存错误页面配置信息的容器。',
'description' => '404页面的容器。',
'type' => 'object',
'properties' => [
'Key' => ['title' => '错误页面文件,如果访问的Object不存在,则返回此错误页面。', 'description' => '错误页面。'."\n", 'type' => 'string', 'example' => 'error.html'],
'HttpStatus' => ['title' => '返回错误页面时的HTTP状态码。默认404。', 'description' => '返回错误页面时的HTTP状态码。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '404'],
],
],
'EventNotificationConfiguration' => [
'title' => '存储空间事件通知配置信息',
'description' => '存储空间事件通知配置信息',
'type' => 'object',
'properties' => [
'FunctionComputeConfiguration' => [
'title' => '存储空间函数计算事件通知服务配置信息',
'description' => '存储空间函数计算事件通知服务配置信息',
'type' => 'array',
'items' => ['description' => '函数计算配置', '$ref' => '#/components/schemas/FunctionComputeConfiguration'],
],
],
],
'ExtendWormConfiguration' => [
'title' => 'The configuration of extending the retention period of objects in a bucket',
'description' => '根节点。',
'type' => 'object',
'properties' => [
'RetentionPeriodInDays' => ['title' => 'The number of days for which objects can be retained', 'description' => '指定Object的保留天数。', 'type' => 'integer', 'format' => 'int32', 'example' => '366'],
],
],
'FileGroupInfo' => [
'title' => 'FileGroup文件类型的信息',
'description' => 'FileGroup类型文件的信息',
'type' => 'object',
'properties' => [
'FilePart' => [
'title' => '保存文件中每个Part信息的容器',
'description' => 'FileGroup类型文件的信息',
'type' => 'object',
'properties' => [
'Part' => [
'title' => 'FileGroup文件每个Part的信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PartNumber' => ['title' => 'Part的序号', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'PartName' => ['title' => 'Part的文件名', 'type' => 'string', 'example' => 'test.txt'],
'ETag' => ['title' => 'Part的ETag', 'type' => 'string', 'example' => '"EB327B57BB20D17C293A966115FE27BD"'],
'PartSize' => ['title' => 'Part的大小', 'type' => 'integer', 'format' => 'int64', 'example' => '38'],
],
],
],
],
],
'Bucket' => ['title' => '所属存储空间的名称', 'type' => 'string', 'example' => 'test-bucket'],
'Key' => ['title' => '文件的名称', 'type' => 'string', 'example' => 'file-goup-example'],
'ETag' => ['title' => '文件的ETag', 'type' => 'string', 'example' => '"06A4DDABDD5F65868B8C5919E76487D6"'],
'FileLength' => ['title' => '文件的大小', 'type' => 'integer', 'format' => 'int64', 'example' => '284'],
],
],
'FileHeaderInfo' => [
'title' => 'A short description of struct',
'description' => '指定CSV文件头信息(可选)。'."\n"
.'取值:'."\n"
.' - Use:该CSV文件有头信息,可以用CSV列名作为Select中的列名。'."\n"
.' - Ignore:该CSV文件有头信息,但不可用CSV列名作为Select中的列名。'."\n"
.' - None:该文件没有头信息,为默认值。'."\n"
."\n",
'type' => 'string',
'example' => 'Use',
'enum' => ['USE', 'IGNORE', 'NONE'],
],
'FunctionComputeConfiguration' => [
'title' => '函数计算服务配置项',
'description' => '函数计算服务配置项',
'type' => 'object',
'properties' => [
'ID' => ['title' => '配置项ID', 'description' => '配置项ID', 'type' => 'string', 'example' => '1'],
'Event' => [
'title' => '事件列表',
'description' => '事件列表',
'type' => 'array',
'items' => ['description' => '事件名称', 'type' => 'string', 'example' => 'ObjectCreated:PutObject'],
],
'Filter' => [
'title' => 'Object过滤配置',
'description' => 'Object过滤配置',
'type' => 'object',
'properties' => [
'Key' => [
'title' => 'Object过滤配置键',
'description' => 'Object过滤配置键',
'type' => 'object',
'properties' => [
'Prefix' => ['title' => 'Object前缀', 'description' => 'Object前缀', 'type' => 'string', 'example' => 'prod'],
'Suffix' => ['title' => 'Object后缀', 'description' => 'Object后缀', 'type' => 'string', 'example' => '.jpb'],
],
],
],
],
'Function' => [
'title' => '函数计算配置',
'description' => '函数计算配置',
'type' => 'object',
'properties' => [
'Arn' => ['title' => '请求的函数计算服务资源', 'description' => '请求的函数计算服务资源', 'type' => 'string', 'example' => 'acs:fc:oss-ap-southeast-1:1993989758795198:services/qianwang-fc-test.LATEST/functions/fc-test'],
'AssumeRole' => ['title' => '向函数计算请求服务的角色', 'description' => '向函数计算请求服务的角色', 'type' => 'string', 'example' => 'acs:ram::1993989758795198:role/AliyunOSSObjectFcForOSSDefaultRole'],
],
],
],
],
'GetAccessPointResult' => [
'title' => '保存接入点信息的容器。',
'description' => '保存接入点信息的容器。',
'type' => 'object',
'properties' => [
'AccessPointName' => ['description' => '接入点名称。', '$ref' => '#/components/schemas/AccessPointName'],
'Bucket' => ['title' => '配置接入点的Bucket名称。', 'description' => '配置接入点的Bucket名称。', 'type' => 'string', 'example' => 'example-bucket'],
'AccountId' => ['title' => '配置接入点的阿里云账号UID。', 'description' => '配置接入点的阿里云账号UID。', 'type' => 'string', 'example' => '10378****8768'],
'NetworkOrigin' => ['title' => '接入点网络来源。返回值如下: vpc:限制仅支持通过指定的VPC ID访问接入点。 internet:同时持通过外网和内网Endpoint互联网访问接入点。', 'description' => '接入点网络来源。返回值如下: vpc:限制仅支持通过指定的VPC ID访问接入点。 internet:同时持通过外网和内网Endpoint互联网访问接入点。', '$ref' => '#/components/schemas/AccessPointNetworkOrigin'],
'VpcConfiguration' => ['title' => '保存VPC网络来源信息的容器。', 'description' => '保存VPC网络来源信息的容器。', '$ref' => '#/components/schemas/AccessPointVpcConfiguration'],
'AccessPointArn' => ['description' => '接入点ARN。', '$ref' => '#/components/schemas/AccessPointArn'],
'Alias' => ['description' => '接入点别名。', '$ref' => '#/components/schemas/AccessPointAlias'],
'Status' => ['description' => '接入点所处状态。', '$ref' => '#/components/schemas/AccessPointStatus'],
'Endpoints' => [
'title' => '保存接入点网络来源信息的容器。',
'description' => '保存接入点网络来源信息的容器。',
'type' => 'object',
'properties' => [
'PublicEndpoint' => ['title' => '接入点的外网Endpoint。', 'description' => '接入点的外网Endpoint。', '$ref' => '#/components/schemas/Endpoint'],
],
],
'InternalEndpoint' => ['title' => '接入点的内网Endpoint。', '$ref' => '#/components/schemas/Endpoint'],
],
],
'GetBucketProcessConfiguration' => [
'title' => '存储空间图片处理配置',
'description' => 'Bucket图片处理通道配置',
'type' => 'object',
'properties' => [
'Version' => ['title' => '版本', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'CompliedHost' => ['title' => '域名', 'type' => 'string', 'example' => 'Img'],
'SourceFileProtect' => ['title' => '原图保护', 'type' => 'string', 'example' => 'Disabled'],
'SourceFileProtectSuffix' => ['title' => '原图保护后缀', 'type' => 'string', 'example' => '.jpg'],
'StyleDelimiters' => ['title' => '央视分隔符', 'type' => 'string', 'example' => '-,_,/,!'],
'BucketChannelConfig' => ['title' => '存储空间图片处理频道配置', '$ref' => '#/components/schemas/BucketChannelConfig'],
'LastModified' => ['title' => '最后修改时间', 'type' => 'string', 'example' => '2024-10-18T09:51:54.000Z'],
],
],
'GetChannelResult' => [
'title' => '保存图片处理频道信息的容器',
'description' => 'xxx',
'type' => 'object',
'properties' => [
'Name' => ['title' => '存储空间名称', 'type' => 'string', 'example' => 'test-bucket'],
'Status' => ['title' => '图片处理频道的状态', 'type' => 'string', 'example' => 'enble'],
'OrigPicForbidden' => ['title' => '是否禁止原图访问', 'type' => 'boolean', 'example' => 'false'],
'UseSrcFormat' => ['title' => '是否使用源格式', 'type' => 'boolean', 'example' => 'false'],
'SetAttachName' => ['title' => '是否设置Content-Disposition: attachment响应头', 'type' => 'boolean', 'example' => 'true'],
'UseStyleOnly' => ['title' => '是否仅允许通过样式进行图片处理', 'type' => 'boolean', 'example' => 'true'],
'AutoSetContentType' => ['title' => '是否自动设置 Content-Type', 'type' => 'boolean', 'example' => 'false'],
'Default404Pic' => ['title' => '默认404图片', 'type' => 'string', 'example' => '404.jpg'],
'StyleDelimiters' => ['title' => '样式分隔符', 'type' => 'string', 'example' => '-,|'],
'CreateTime' => ['title' => '创建时间', 'type' => 'string', 'example' => 'Fri, 15 Nov 2024 08:11:56 GMT'],
'LastModifyTime' => ['title' => '最后修改时间', 'type' => 'string', 'example' => 'Fri, 15 Nov 2024 08:11:56 GMT'],
],
],
'GetObjectInfoResult' => [
'title' => '保存对象信息的容器',
'type' => 'object',
'properties' => [
'Bucket' => ['title' => '对象所属存储空间的名称', 'type' => 'string', 'example' => 'test-bucket'],
'Type' => ['title' => '对象类型', 'type' => 'string', 'example' => 'Multipart'],
'Key' => ['title' => '对象名称', 'type' => 'string', 'example' => 'test.txt'],
'EncryptFlag' => ['title' => '对象加密类型', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'LastModified' => ['title' => '对象最后一次修改时间', 'type' => 'string', 'format' => 'iso8601', 'example' => '2024-11-08T10:02:11.000Z'],
'ETag' => ['title' => '对象ETag', 'type' => 'string', 'example' => '"EB327B57BB20D17C293A966115FE27BD"'],
'HashCrc64ecma' => ['title' => '对象CRC64', 'type' => 'string', 'example' => '7866203970082294162'],
'StorageClass' => ['title' => '对象存储类型', 'type' => 'string', 'example' => 'Standard'],
'Content-Type' => ['title' => '对象文件类型', 'type' => 'string', 'example' => 'text/plain'],
'Size' => ['title' => '对象大小', 'type' => 'string', 'example' => '78'],
'UploadId' => ['title' => '分片上传的UploadId', 'type' => 'string', 'example' => 'C5DD87C5E7CD482F8F2C3D63904DA228'],
],
],
'GetResourcePoolInfoResp' => [
'title' => '获取资源池信息的响应体',
'description' => '获取资源池信息的响应体',
'type' => 'object',
'properties' => [
'Region' => ['title' => '资源池所在地域', 'type' => 'string', 'example' => 'oss-cn-shanghai'],
'Name' => ['title' => '资源池名称', 'type' => 'string', 'example' => 'rp-for-ai'],
'Owner' => ['title' => '资源池所有者', 'type' => 'string', 'example' => '1234567890987'],
'CreateTime' => ['title' => '资源池创建时间', 'type' => 'string', 'format' => 'iso8601', 'example' => '2024-07-24T08:42:32.000Z'],
'QosConfiguration' => ['title' => '资源池QoS配置信息', '$ref' => '#/components/schemas/QoSConfiguration'],
],
],
'GetResourcePoolInfoResponse' => [
'title' => '获取资源池信息的响应体',
'description' => '获取资源池信息的响应体',
'type' => 'object',
'properties' => [
'Region' => ['title' => '资源池所在地域', 'description' => '资源池所在地域', 'type' => 'string', 'example' => 'oss-cn-shanghai'],
'Name' => ['title' => '资源池名称', 'description' => '资源池名称', 'type' => 'string', 'example' => 'rp-for-ai'],
'Owner' => ['title' => '资源池所有者', 'description' => '资源池所有者', 'type' => 'string', 'example' => '1234567890987'],
'CreateTime' => ['title' => '资源池创建时间', 'description' => '资源池创建时间', 'type' => 'string', 'format' => 'iso8601', 'example' => '2024-07-24T08:42:32.000Z'],
'QosConfiguration' => ['title' => '资源池QoS配置信息', 'description' => '资源池QoS配置信息', '$ref' => '#/components/schemas/QoSConfiguration'],
],
],
'Grant' => ['description' => 'Bucket的读写权限ACL。'."\n"
."\n", '$ref' => '#/components/schemas/ObjectACL'],
'HttpsConfiguration' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'HttpsConfiguration' => [
'title' => '存储空间安全传输层配置',
'description' => '存储空间TLS版本配置',
'type' => 'object',
'properties' => [
'TLS' => [
'title' => '存储空间TLS版本配置',
'type' => 'object',
'properties' => [
'Enable' => ['title' => '是否启用TLS版本配置', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
'TLSVersion' => [
'title' => 'TLS版本列表',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'TLSv1.2'],
],
],
],
'CipherSuite' => [
'title' => '存储空间加密套件配置',
'type' => 'object',
'properties' => [
'Enable' => ['title' => '是否启用加密套件配置', 'type' => 'boolean', 'example' => 'true'],
'StrongCipherSuite' => ['title' => '是否使用强加密套件', 'type' => 'boolean', 'example' => 'false'],
'CustomCipherSuite' => [
'title' => '自定义加密套件',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'ECDHE-ECDSA-AES128-SHA256'],
],
'TLS13CustomCipherSuite' => [
'title' => '用于TLS1.3版本的自定义加密套件',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'ECDHE-ECDSA-AES256-CCM8'],
],
],
],
],
],
],
],
],
'IncrementalInventory' => [
'title' => '增量清单的配置容器',
'type' => 'object',
'properties' => [
'IsEnabled' => ['title' => '增量清单是否启用', 'type' => 'boolean', 'example' => 'true'],
'Schedule' => ['title' => '增量清单导出周期的容器', '$ref' => '#/components/schemas/IncrementInventorySchedule'],
'OptionalFields' => [
'title' => '增量清单文件属性的配置容器',
'type' => 'object',
'properties' => [
'Field' => [
'title' => '增量清单导出字段列表',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'Etag'],
],
],
],
],
],
'IncrementInventorySchedule' => [
'title' => '增量清单导出周期信息的容器',
'type' => 'object',
'properties' => [
'Frequency' => ['title' => '描述增量清单文件导出的周期,单位为秒,目前固定为10分钟。', 'type' => 'integer', 'format' => 'int64', 'example' => '600'],
],
],
'IndexDocument' => [
'title' => 'A short description of struct',
'description' => '默认主页的容器。'."\n"
."\n",
'type' => 'object',
'properties' => [
'Suffix' => ['title' => '默认主页。', 'description' => '默认主页。', 'type' => 'string', 'example' => 'index.html'],
'SupportSubDir' => [
'title' => '访问子目录时,是否支持跳转到子目录下的默认主页。',
'description' => '访问子目录时,是否支持转到子目录下的默认主页。取值范围如下:'."\n"
.' - **true**:转到子目录下的默认主页。'."\n"
.' - **false**(默认):不转到子目录下的默认主页,而是转到根目录下的默认主页。'."\n"
."\n"
.'假设默认主页为index.html,要访问`bucket.oss-cn-hangzhou.aliyuncs.com/subdir/`,如果设置**SupportSubDir**为false,则转到`bucket.oss-cn-hangzhou.aliyuncs.com/index.html`;如果设置**SupportSubDir**为true,则转到`bucket.oss-cn-hangzhou.aliyuncs.com/subdir/index.html`。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
'Type' => ['title' => '设置默认主页后,访问以非正斜线(/)结尾的Object,且该Object不存在时的行为。', 'description' => '设置默认主页后,访问以非正斜线(/)结尾的Object,且该Object不存在时的行为。 只有设置**SupportSubDir**为true时才生效,且生效的顺序在RoutingRule之后、ErrorFile之前。'."\n"
.'假设默认主页为index.html,要访问的文件路径为`bucket.oss-cn-hangzhou.aliyuncs.com/abc`,且abc这个Object不存在,此时**Type**的不同取值对应的行为如下:'."\n"
.' - **0**(默认):检查abc/index.html是否存在(即`Object + 正斜线(/)+ 主页`的形式),如果存在则返回302,Location头为`/abc/`的URL编码(即`正斜线(/) + Object + 正斜线(/)`的形式),如果不存在则返回404,继续检查ErrorFile。'."\n"
.' - **1**:直接返回404,报错NoSuchKey,继续检查ErrorFile。'."\n"
.' - **2**:检查abc/index.html是否存在,如果存在则返回该Object的内容;如果不存在则返回404,继续检查ErrorFile。'."\n"
."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'InitiateWormConfiguration' => [
'title' => 'The confiiguration of a retention policy',
'description' => '根节点。',
'type' => 'object',
'properties' => [
'RetentionPeriodInDays' => ['title' => 'The number of days for which objects can be retained', 'description' => '指定Object保留天数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '365'],
],
],
'InputSerialization' => [
'title' => 'A short description of struct',
'description' => '保存Select请求的容器。',
'type' => 'object',
'properties' => [
'CompressionType' => ['description' => '指定文件压缩类型(可选)。目前不支持任何压缩,即取值只能是None。', 'example' => 'None', '$ref' => '#/components/schemas/CompressionType'],
'CSV' => ['description' => '指定CSV输入格式。', '$ref' => '#/components/schemas/CSVInput'],
'JSON' => ['description' => '指定JSON输入格式。', '$ref' => '#/components/schemas/JSONInput'],
],
],
'InventoryConfiguration' => [
'title' => '保存单条存储空间清单规则的容器。',
'description' => '存储清单配置信息的容器。'."\n"
."\n",
'type' => 'object',
'properties' => [
'Id' => ['title' => '自定义清单名称,要求如下: 清单名称在当前Bucket下必须全局唯一。 清单名称长度不能超过192个字符。', 'description' => '自定义清单名称,清单名称在当前Bucket下必须唯一。', 'type' => 'string', 'example' => 'report1'],
'IsEnabled' => [
'title' => '清单功能是否启用的标识。 有效值: true:启用清单功能。 false:不启用清单功能。',
'description' => '是否启用清单功能。取值范围如下:'."\n"
."\n"
.'- true:启用清单功能。'."\n"
.'- false:不启用清单功能。'."\n",
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
'Destination' => ['title' => '保存存放清单结果位置的容器。', 'description' => '存放清单结果。', '$ref' => '#/components/schemas/InventoryDestination'],
'Schedule' => ['title' => '存放清单导出周期信息的容器。', 'description' => '存放清单导出周期信息的容器。', '$ref' => '#/components/schemas/InventorySchedule'],
'Filter' => ['title' => '存放清单筛选规则的容器。', 'description' => '清单筛选的前缀。指定前缀后,清单将筛选出符合前缀设置的对象。', '$ref' => '#/components/schemas/InventoryFilter'],
'IncludedObjectVersions' => [
'title' => '是否在清单中包含Object版本信息。 有效值: All:导出Object的所有版本信息。 Current:导出Object的当前版本信息。',
'description' => '是否在清单中包含Object版本信息。'."\n"
.'取值范围如下:'."\n"
."\n"
.'- All:导出Object的所有版本信息。'."\n"
."\n"
.'- Current:导出Object的当前版本信息。'."\n",
'type' => 'string',
'enumValueTitles' => ['All' => 'All', 'Current' => 'Current'],
'example' => 'All',
],
'OptionalFields' => [
'title' => '设置清单结果中包含的配置项。',
'description' => '清单结果中包含的配置项列表。',
'type' => 'object',
'properties' => [
'Field' => [
'title' => '清单结果中包含的配置项。',
'description' => '清单结果中包含的配置项。'."\n"
.'可选的配置项包括:'."\n"
."\n"
.'- Size:Object的大小。'."\n"
.'- LastModifiedDate:Object的最后修改时间。'."\n"
.'- ETag:Object的ETag值,用于标识Object的内容。'."\n"
.'- StorageClass:Object的存储类型。'."\n"
.'- IsMultipartUploaded:是否为通过分片上传方式上传的Object。'."\n"
.'- EncryptionStatus:Object是否加密。'."\n"
."\n",
'type' => 'array',
'items' => ['description' => '清单结果中包含的配置项。', '$ref' => '#/components/schemas/InventoryOptionalField'],
],
],
],
'IncrementalInventory' => ['$ref' => '#/components/schemas/IncrementalInventory', 'description' => ''],
],
],
'InventoryDestination' => [
'title' => '保存清单结果存放位置的容器。',
'description' => '存放清单结果的信息。',
'type' => 'object',
'properties' => [
'OSSBucketDestination' => ['title' => '清单结果导出后存放的Bucket信息。', 'description' => '清单结果导出后存放的Bucket信息。', '$ref' => '#/components/schemas/InventoryOSSBucketDestination'],
],
],
'InventoryEncryption' => [
'title' => '存放清单文件的加密方式的容器。',
'description' => '清单文件的加密方式。',
'type' => 'object',
'properties' => [
'SSE-OSS' => ['title' => '保存SSE-OSS加密方式的容器。', 'description' => '保存SSE-OSS加密方式的容器。', '$ref' => '#/components/schemas/SSEOSS'],
'SSE-KMS' => ['title' => '保存SSE-KMS加密密钥的容器。', 'description' => '保存SSE-KMS加密密钥的容器。', '$ref' => '#/components/schemas/SSEKMS'],
],
],
'InventoryFilter' => [
'title' => '清单筛选规则。制定后,清单会按照规则筛选出符合条件的对象。',
'description' => '清单筛选的前缀。指定前缀后,清单将筛选出符合前缀设置的对象。',
'type' => 'object',
'properties' => [
'Prefix' => ['title' => '筛选规则的匹配前缀。', 'description' => '筛选规则的匹配前缀。', 'type' => 'string', 'example' => 'Pics/'],
'LastModifyBeginTimeStamp' => ['title' => '筛选文件最后修改时间的起始时间戳,单位为秒。 取值范围:[1262275200, 253402271999]', 'description' => '筛选文件最后修改时间的起始时间戳,单位为秒。 取值范围:[1262275200, 253402271999]', 'type' => 'integer', 'format' => 'int64', 'example' => '1637883649'],
'LastModifyEndTimeStamp' => ['title' => '筛选文件最后修改时间的终止时间戳,单位为秒。 取值范围:[1262275200, 253402271999]', 'description' => '筛选文件最后修改时间的终止时间戳,单位为秒。 取值范围:[1262275200, 253402271999]', 'type' => 'integer', 'format' => 'int64', 'example' => '1638347592'],
'LowerSizeBound' => ['title' => '筛选文件的最小大小,单位为B。 取值范围:大于等于0 B,小于等于48.8 TB。', 'description' => '筛选文件的最小大小,单位为B。 取值范围:大于等于0 B,小于等于48.8 TB。', 'type' => 'integer', 'format' => 'int64', 'example' => '1024'],
'UpperSizeBound' => ['title' => '筛选文件的最大大小,单位为B。 取值范围:大于0 B,小于等于48.8 TB。', 'description' => '筛选文件的最大大小,单位为B。 取值范围:大于0 B,小于等于48.8 TB。', 'type' => 'integer', 'format' => 'int64', 'example' => '1048576'],
'StorageClass' => ['title' => '筛选文件的存储类型,支持指定多种存储类型。 可选值: Standard:标准存储 IA:低频访问 Archive:归档存储 ColdArchive:冷归档存储 All(默认值):所有存储类型', 'description' => '筛选文件的存储类型,支持指定多种存储类型。 可选值: Standard:标准存储 IA:低频访问 Archive:归档存储 ColdArchive:冷归档存储 All(默认值):所有存储类型', 'type' => 'string', 'example' => 'All'],
],
],
'InventoryFormat' => [
'title' => '清单文件的文件格式。 清单文件导出后的格式为使用GZIP压缩的CSV文件。 有效值:CSV',
'description' => '取值范围为CSV。',
'type' => 'string',
'example' => 'CSV',
'enum' => ['CSV'],
],
'InventoryFrequency' => [
'title' => '清单文件导出的周期。 有效值: Daily:按天导出清单文件。 Weekly:按周导出清单文件。',
'description' => '清单文件导出的周期。'."\n"
."\n"
.'有效值:'."\n"
.'- Daily:按天导出清单文件。'."\n"
.'- Weekly:按周导出清单文件。',
'type' => 'string',
'enumValueTitles' => ['Daily' => 'Daily', 'Weekly' => 'Weekly'],
'example' => 'Daily',
'enum' => ['Daily', 'Weekly'],
],
'InventoryIncludedObjectVersions' => [
'title' => 'Specifies whether versioning information about the objects is included in the inventory list',
'description' => '是否在清单中包含Object版本信息。取值范围如下:'."\n"
."\n"
.'- All:导出Object的所有版本信息。'."\n"
.'- Current:导出Object的当前版本信息。',
'type' => 'string',
'enumValueTitles' => ['All' => 'All', 'Current' => 'Current'],
'example' => 'All',
'enum' => ['All', 'Current'],
],
'InventoryOptionalField' => [
'title' => '清单结果中包含的配置项。 Size:Object的大小。 LastModifiedDate:Object的最后修改时间。 ETag:Object的ETag值,用于标识Object的内容。 StorageClass:Object的存储类型。 IsMultipartUploaded:是否为通过分片上传方式上传的Object。 EncryptionStatus:Object是否加密。 ObjectAcl:Object的读写权限。 TaggingCount:标签个数。 ObjectType:Object类型。 Crc64:Object的CRC64。',
'description' => '清单结果中包含的配置项。'."\n"
."\n"
.'- Size:Object的大小。'."\n"
.'- LastModifiedDate:Object的最后修改时间。'."\n"
.'- ETag:Object的ETag值,用于标识Object的内容。'."\n"
.'- StorageClass:Object的存储类型。'."\n"
.'- IsMultipartUploaded:是否为通过分片上传方式上传的Object。'."\n"
.'- EncryptionStatus:Object是否加密。',
'type' => 'string',
'example' => 'Size',
'enum' => ['Size', 'LastModifiedDate', 'ETag', 'StorageClass', 'IsMultipartUploaded', 'EncryptionStatus'],
],
'InventoryOSSBucketDestination' => [
'title' => '清单结果导出后存放的Bucket信息。',
'description' => '清单结果导出后存放的Bucket信息。'."\n",
'type' => 'object',
'properties' => [
'Format' => ['title' => '清单文件的文件格式。', 'description' => '清单文件的文件格式。 清单文件导出后的格式为使用GZIP压缩的CSV文件。', '$ref' => '#/components/schemas/InventoryFormat'],
'AccountId' => ['title' => 'Bucket所有者授予的账户ID。', 'description' => 'Bucket所有者授予的账户ID。', 'type' => 'string', 'example' => '100000000000000'],
'RoleArn' => ['title' => '具有读取源Bucket所有文件和向目标Bucket写入文件权限的角色名,格式为acs:ram::uid:role/rolename。', 'description' => '具有读取源Bucket所有文件和向目标Bucket写入文件权限的角色名,格式为`acs:ram::uid:role/rolename`。', 'type' => 'string', 'example' => 'acs:ram::100000000000000:role/AliyunOSSRole'],
'Bucket' => ['title' => '存放导出的清单文件的Bucket。', 'description' => '存放导出的清单文件的Bucket。'."\n", 'type' => 'string', 'example' => 'acs:oss:::bucket_0001'],
'Prefix' => ['title' => '清单文件的存储路径前缀。', 'description' => '清单文件的存储路径前缀。', 'type' => 'string', 'example' => 'prefix1/'],
'Encryption' => ['title' => '清单文件的加密方式。有效值: SSE-OSS:使用OSS完全托管密钥进行加解密。 SSE-KMS:使用KMS托管的默认CMK(Customer Master Key)或指定CMK进行加解密。', 'description' => '清单文件的加密方式。', '$ref' => '#/components/schemas/InventoryEncryption'],
],
],
'InventorySchedule' => [
'title' => '存放清单导出周期信息的容器。',
'description' => 'Contains the frequency that inventory lists are exported',
'type' => 'object',
'properties' => [
'Frequency' => ['title' => '清单文件导出的周期。', 'description' => '清单文件导出的周期。'."\n"
."\n"
.'有效值:'."\n"
."\n"
.'Daily:按天导出清单文件。'."\n"
."\n"
.'Weekly:按周导出清单文件。', '$ref' => '#/components/schemas/InventoryFrequency'],
],
],
'JSONInput' => [
'title' => 'A short description of struct',
'description' => '保存Select请求的容器。',
'type' => 'object',
'properties' => [
'Type' => [
'description' => '指定输入JSON的类型。',
'enumValueTitles' => [' LINES' => ' LINES', 'DOCUMENT' => 'DOCUMENT'],
'example' => 'DOCUMENT',
'$ref' => '#/components/schemas/JSONType',
],
'Range' => [
'title' => 'description',
'description' => '指定查询文件的范围(可选)。支持两种格式:'."\n"
.'> 使用Range参数查询的文件需要有select meta。关于select meta的更多信息,请参见[CreateSelectObjectMeta](~~74054~~)。'."\n"
."\n"
.'- 按行查询:line-range=start-end。例如line-range=10-20表示扫描第10行到第20行。'."\n"
."\n"
.'- 按Split查询:split-range=start-end。例如split-range=10-20表示扫描第10到第20个split。'."\n"
."\n"
.'
其中start和end均为inclusive。其格式和range get中的range参数一致。'."\n"
.'
仅在文档是CSV或者JSON Type为LINES时使用。',
'type' => 'string',
'enumValueTitles' => ['line-range=start-end' => 'line-range=start-end', 'split-range=start-end' => 'split-range=start-end'],
'example' => 'line-range=start-end',
],
'ParseJsonNumberAsString' => [
'title' => 'description',
'description' => '将JSON中的数字(整数和浮点数)解析成字符串。目前JSON中的浮点数解析时会损失精度,如果要完整保留原始数据,则推荐用该选项。如果需要进行数值计算,则可以在SQL中cast成需要的格式,例如int、double、decimal。'."\n"
.'
默认值: false',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
],
],
'JSONOutput' => [
'title' => 'A short description of struct',
'description' => '保存Select请求的容器。',
'type' => 'object',
'properties' => [
'RecordDelimiter' => ['title' => 'description', 'description' => '指定换行符,以Base64编码。未编码前的值最多为两个字符,以字符的ANSI值表示,例如在Java中使用`\\n`表示换行。'."\n"
.'
默认值:`\\n`', 'type' => 'string', 'example' => '\\n'],
],
],
'JSONType' => [
'title' => 'A short description of struct',
'description' => '指定输入JSON的类型。'."\n"
.'取值:'."\n"
.'- DOCUMENT:输入数据中的单个JSON对象可以跨行。'."\n"
.'- LINES:输入数据中的每一行都包含一个JSON对象。',
'type' => 'string',
'enumValueTitles' => ['DOCUMENT' => 'DOCUMENT', 'LINES' => 'LINES'],
'example' => 'DOCUMENT',
'enum' => ['DOCUMENT', 'LINES'],
],
'LegalHold' => [
'title' => '保存对象合法持有的状态',
'description' => '保存对象合法持有的状态',
'type' => 'object',
'properties' => [
'Status' => ['title' => '合法值:ON和OFF,表示是否开启对象合法保留', 'description' => '合法值:ON和OFF,表示是否开启对象合法保留', 'type' => 'string', 'example' => 'ON'],
],
],
'LifecycleConfiguration' => [
'title' => 'A short description of struct',
'description' => 'Lifecycle配置的容器,最多可容纳1000条规则。',
'type' => 'object',
'properties' => [
'Rule' => [
'title' => 'description',
'description' => '生命周期规则的容器。Object设置过期时间必须大于转储为IA或者Archive存储类型的时间。'."\n",
'type' => 'array',
'items' => ['description' => '生命周期规则的容器。Object设置过期时间必须大于转储为IA或者Archive存储类型的时间。'."\n", '$ref' => '#/components/schemas/LifecycleRule'],
],
],
],
'LifecycleRule' => [
'title' => '保存存储空间生命周期规则的容器',
'description' => '生命周期规则的容器。'."\n"
.' - 不支持Archive Bucket创建转储规则。'."\n"
.' - Object设置过期时间必须大于转储为IA或者Archive存储类型的时间。'."\n"
."\n",
'type' => 'object',
'properties' => [
'ID' => ['title' => '标识规则的唯一ID,最多由255个字符组成。如果未指定或者指定该值为空时,OSS会自动生成一个唯一ID。', 'description' => '标识规则的唯一ID。最多由255个字节组成。如没有指定,或者该值为空时,OSS会自动生成一个唯一ID。'."\n", 'type' => 'string', 'required' => true, 'example' => 'rule1'],
'Prefix' => ['title' => '指定规则所适用的前缀(Prefix)。不支持设置相同的Prefix。 如果指定了Prefix,则表示此规则仅适用于Bucket中与Prefix匹配的Object。 如果Prefix置空,则表示此规则适用于Bucket中的所有Object。', 'description' => '指定规则所适用的前缀(Prefix)。Prefix不可重复。'."\n"
.' - 若指定了Prefix,则表示此规则仅适用于Bucket中与Prefix匹配的Object。'."\n"
.' - 若Prefix置空,则表示此规则适用于Bucket中的所有Object。', 'type' => 'string', 'required' => false, 'example' => 'tmp/'],
'Status' => [
'title' => '是否启用规则。取值如下: Enabled:表示启用规则,OSS会定期执行该规则。 Disabled:表示不启用规则,OSS会忽略该规则。',
'description' => '是否启用规则。取值范围如下:'."\n"
.'- Enabled:表示启用规则,OSS会定期执行该规则。'."\n"
.'- Disabled:表示不启用规则,OSS会忽略该规则。',
'type' => 'string',
'required' => true,
'enumValueTitles' => ['Enabled' => 'Enabled', 'Disabled' => 'Disabled'],
'example' => 'Enabled',
],
'Expiration' => [
'title' => '指定Object的过期属性。 对于已开启版本控制的Bucket,指定的过期时间只对Object当前版本生效。 Object的过期时间必须大于转储为IA或Archive类型的时间。',
'description' => '指定Object生命周期规则的过期属性。 对于受版本控制的Bucket,指定的过期属性只对Object的当前版本生效。'."\n"
.'
Object的过期时间必须大于转储为IA或Archive类型的时间。',
'type' => 'object',
'properties' => [
'CreatedBeforeDate' => ['title' => '指定一个日期,OSS会对最后更新时间早于该日期的数据执行生命周期规则。日期格式为yyyy-MM-ddT00:00:00.000Z。 日期需要按照ISO8601标准表示并使用UTC时间,且必须为UTC的零点。', 'description' => '指定一个日期,OSS会对最后更新时间早于该日期的数据执行生命周期规则。日期格式为yyyy-MM-ddT00:00:00.000Z。'."\n"
.'
日期需要按照ISO8601标准表示并使用UTC时间,且必须为UTC的零点。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2002-10-11T00:00:00.000Z'],
'Days' => ['title' => '指定生命周期规则在距离Object最后更新多少天后生效。 当请求中存在IsAccessTime参数且IsAccessTime取值为true时,此参数表示生命周期规则在距离Object最后访问多少天后生效。', 'description' => '指定生命周期规则在距离Object最后更新多少天后生效。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'ExpiredObjectDeleteMarker' => [
'title' => '指定是否自动移除过期删除标记。取值如下: true:表示自动移除过期删除标记。当取值为true时,不支持指定Days或CreatedBeforeDate。 false:表示不会自动移除过期删除标记。当取值为false时,必须指定Days或CreatedBeforeDate。',
'description' => '指定是否自动移除过期删除标记。'."\n"
."\n"
.'- true:表示自动移除过期删除标记。取值为true时,不支持指定Days或CreatedBeforeDate。'."\n"
."\n"
.'- false:表示不会自动移除过期删除标记。取值为false时,则必须指定Days或CreatedBeforeDate。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
],
],
'Transition' => [
'title' => '指定Object在有效生命周期中,OSS何时转换Object的存储类型。 Standard Bucket中Standard Object可以转储为IA、Archive或ColdArchive存储类型,但转储Archive存储类型的时间必须比转储IA存储类型的时间长。例如Transition IA设置Days为30,Transition Archive设置Days必须大于30。',
'description' => '指定Object在有效生命周期中,OSS何时将Object转储为IA、Archive和ColdArchive存储类型 。'."\n"
.'Standard Bucket中的Standard Object可以转储为IA、Archive或ColdArchive存储类型,但转储Archive存储类型的时间必须比转储IA存储类型的时间长。例如Transition'."\n"
.'IA设置Days为30,Transition Archive设置Days必须大于30。'."\n"
."\n"
.'> Days或CreatedBeforeDate只能二选一。'."\n"
."\n",
'type' => 'array',
'items' => [
'description' => '指定Object在有效生命周期中,OSS何时将Object转储为IA、Archive和ColdArchive存储类型 。'."\n"
.'Standard Bucket中的Standard Object可以转储为IA、Archive或ColdArchive存储类型,但转储Archive存储类型的时间必须比转储IA存储类型的时间长。例如Transition'."\n"
.'IA设置Days为30,Transition Archive设置Days必须大于30。'."\n"
."\n"
.'> Days或CreatedBeforeDate只能二选一。'."\n"
."\n",
'type' => 'object',
'properties' => [
'CreatedBeforeDate' => ['title' => '指定一个日期,OSS会对最后更新时间早于该日期的数据执行生命周期规则。日期格式为yyyy-MM-ddT00:00:00.000Z。 日期需要按照ISO8601标准表示并使用UTC时间,且必须为UTC的零点。', 'description' => '指定一个日期,OSS会对最后更新时间早于该日期的数据执行生命周期规则。日期必须服从ISO8601的格式,且要求是UTC的零点。'."\n", 'type' => 'string', 'format' => 'iso8601', 'example' => '2002-10-11T00:00:00.000Z'],
'Days' => ['title' => '指定生命周期规则在距离Object最后更新多少天后生效。 当请求中存在IsAccessTime参数且IsAccessTime取值为true时,此参数表示生命周期规则在距离Object最后访问多少天后生效。', 'description' => '指定生命周期规则在距离Object最后更新多少天后生效。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'StorageClass' => [
'title' => '指定Object转储的存储类型。取值如下: IA:低频访问 Archive:归档存储 ColdArchive:冷归档存储 DeepColdArchive:深度冷归档存储',
'description' => '指定Object转储的存储类型。'."\n"
."\n"
.'- IA:低频访问'."\n"
.'- Archive:归档存储'."\n"
.'- ColdArchive:冷归档存储'."\n"
."\n"
.'> IA Bucket中的Object可以转储为Archive或者ColdArchive存储类型,但不支持转储为Standard存储类型。'."\n",
'enumValueTitles' => [],
'$ref' => '#/components/schemas/StorageClass',
],
'IsAccessTime' => ['title' => '指定是否基于last access time匹配规则。取值如下: true:采用Object的last access time(最后一次访问时间)匹配规则。 false(默认值):采用Object的last modified time(最后一次修改时间)匹配规则。', 'description' => '指定是否基于last access time匹配规则。取值如下:'."\n"
."\n"
.'- true:采用Object的last access time(最后一次访问时间)匹配规则。'."\n"
."\n"
.'- false(默认值):采用Object的last modify time(最后一次修改时间)匹配规则。', 'type' => 'boolean', 'example' => 'true'],
'ReturnToStdWhenVisit' => ['title' => '指定Object转为非标准存储后,再次访问时是否将Object转为标准存储。只有当IsAccessTime设置为true时才有效。取值如下: true:Object由非标准存储转为标准存储。 false(默认值):Object仍为非标准存储。', 'description' => '指定Object转为非标准存储后,再次访问时是否将Object转为标准存储。只有当IsAccessTime设置为true时才有效。取值如下:'."\n"
."\n"
.'- true:Object由非标准存储转为标准存储。'."\n"
."\n"
.'- false(默认值):Object仍为非标准存储。', 'type' => 'boolean', 'example' => 'true'],
'AllowSmallFile' => ['title' => '基于最后一次访问时间设置生命周期规则时,指定是否将小于64 KB的Object转储为低频、归档、冷归档文件类型。取值如下: true(默认值):转储包含小于64 KB在内的所有Object。当Object小于64 KB时,按照64 KB计算。当Object大于或等于64 KB时,按照实际大小计算。设置为true时,可能会增加存储费用。 false:不转储小于64 KB的Object。', 'description' => '基于最后一次访问时间设置生命周期规则时,指定是否将小于64 KB的Object转储为低频、归档、冷归档文件类型。取值如下:'."\n"
."\n"
.'- true(默认值):转储包含小于64 KB在内的所有Object。当Object小于64 KB时,按照64 KB计算。当Object大于或等于64 KB时,按照实际大小计算。设置为true时,可能会增加存储费用。'."\n"
."\n"
.'- false:不转储小于64 KB的Object。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
'AbortMultipartUpload' => [
'title' => '指定未完成分片上传的过期属性。',
'description' => '指定未完成分片上传的过期属性。'."\n",
'type' => 'object',
'properties' => [
'Days' => ['title' => '指定生命周期规则在距离Object最后更新多少天后生效。 当请求中存在IsAccessTime参数且IsAccessTime取值为true时,此参数表示生命周期规则在距离Object最后访问多少天后生效。', 'description' => '指定生命周期规则在距离Object最后更新多少天后生效。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'CreatedBeforeDate' => ['title' => '指定一个日期,OSS会对最后更新时间早于该日期的数据执行生命周期规则。日期格式为yyyy-MM-ddT00:00:00.000Z。 日期需要按照ISO8601标准表示并使用UTC时间,且必须为UTC的零点。', 'description' => '指定一个日期,OSS会对最后更新时间早于该日期的数据执行生命周期规则。日期必须服从ISO8601的格式,且要求是UTC的零点。'."\n", 'type' => 'string', 'format' => 'iso8601', 'example' => '2002-10-11T00:00:00.000Z'],
],
],
'Tag' => [
'title' => '指定规则所适用的对象标签,可设置多个。',
'description' => '指定规则所适用的对象标签,可设置多个。'."\n",
'type' => 'array',
'items' => ['description' => '指定规则所适用的对象标签,可设置多个。'."\n", '$ref' => '#/components/schemas/Tag'],
],
'NoncurrentVersionExpiration' => [
'title' => '非当前版本生命周期规则的过期属性',
'description' => '指定Object非当前版本生命周期规则的过期属性。'."\n",
'type' => 'object',
'properties' => [
'NoncurrentDays' => ['title' => '指定生命周期规则在Object成为非当前版本多少天后生效。 当请求中存在IsAccessTime参数且IsAccessTime取值为true时,此参数表示生命周期规则在Object最后访问多少天后生效。', 'description' => '指定生命周期规则在Object成为非当前版本多少天后生效。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
'NoncurrentVersionTransition' => [
'title' => '非当前版本生命周期规则的转储属性',
'description' => '在有效的生命周期规则中,OSS何时将指定Object的非当前版本转储为IA或者Archive存储类型 。'."\n"
.'Standard类型的Object转储为Archive类型的时间必须大于转储为IA类型的时间。'."\n",
'type' => 'array',
'items' => [
'description' => '在有效的生命周期规则中,OSS何时将指定Object的非当前版本转储为IA或者Archive存储类型 。'."\n"
.'Standard类型的Object转储为Archive类型的时间必须大于转储为IA类型的时间。'."\n",
'type' => 'object',
'properties' => [
'NoncurrentDays' => ['title' => '指定生命周期规则在Object成为非当前版本多少天后生效。 当请求中存在IsAccessTime参数且IsAccessTime取值为true时,此参数表示生命周期规则在Object最后访问多少天后生效。', 'description' => '指定生命周期规则在Object成为非当前版本多少天后生效。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'StorageClass' => [
'title' => '目标存储类型',
'description' => '指定Object转储的存储类型。'."\n"
."\n"
.'- IA:低频访问'."\n"
.'- Archive:归档存储'."\n"
.'- ColdArchive:冷归档存储'."\n"
."\n"
.'> IA Bucket中的Object可以转储为Archive或者ColdArchive存储类型,但不支持转储为Standard存储类型。'."\n",
'enumValueTitles' => [],
'$ref' => '#/components/schemas/StorageClass',
],
'IsAccessTime' => ['title' => '指定是否基于last access time匹配规则。取值如下: true:采用Object的last access time(最后一次访问时间)匹配规则。 false(默认值):采用Object的last modified time(最后一次修改时间)匹配规则。', 'description' => '指定是否基于last access time匹配规则。取值如下:'."\n"
."\n"
.'- true:采用Object的last access time(最后一次访问时间)匹配规则。'."\n"
."\n"
.'- false(默认值):采用Object的last modify time(最后一次修改时间)匹配规则。', 'type' => 'boolean', 'example' => 'true'],
'ReturnToStdWhenVisit' => ['title' => '指定Object转为非标准存储后,再次访问时是否将Object转为标准存储。只有当IsAccessTime设置为true时才有效。取值如下: true:Object由非标准存储转为标准存储。 false(默认值):Object仍为非标准存储。', 'description' => '指定Object转为非标准存储后,再次访问时是否将Object转为标准存储。只有当IsAccessTime设置为true时才有效。取值如下:'."\n"
."\n"
.'- true:Object由非标准存储转为标准存储。'."\n"
."\n"
.'- false(默认值):Object仍为非标准存储。', 'type' => 'boolean', 'example' => 'true'],
'AllowSmallFile' => ['title' => '基于最后一次访问时间设置生命周期规则时,指定是否将小于64 KB的Object转储为低频、归档、冷归档文件类型。取值如下: true(默认值):转储包含小于64 KB在内的所有Object。当Object小于64 KB时,按照64 KB计算。当Object大于或等于64 KB时,按照实际大小计算。设置为true时,可能会增加存储费用。 false:不转储小于64 KB的Object。', 'description' => '基于最后一次访问时间设置生命周期规则时,指定是否将小于64 KB的Object转储为低频、归档、冷归档文件类型。取值如下:'."\n"
."\n"
.'- true(默认值):转储包含小于64 KB在内的所有Object。当Object小于64 KB时,按照64 KB计算。当Object大于或等于64 KB时,按照实际大小计算。设置为true时,可能会增加存储费用。'."\n"
."\n"
.'- false:不转储小于64 KB的Object。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
'Filter' => [
'title' => '本条排除规则的条件参数容器,至多一个,可置空。',
'description' => '本条规则的排除条件。',
'type' => 'object',
'properties' => [
'Not' => [
'title' => '如果Object满足该条件,则跳过本条规则的匹配。如果配置了Filter,则Filter下必须有且只有一个Not节点。',
'description' => '满足何种规则跳过。',
'type' => 'object',
'items' => [
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'Prefix' => ['title' => '本条排除规则所适用的Object前缀。不可为空。 如果Rule节点下配置了Prefix,则Not节点下的Prefix必须以Rule节点下的Prefix为前缀。例如,Rule节点下配置的Prefix为dir,则Not节点下的Prefix必须以dir开头,例如dir1、dir2等。 如果Not节点下未配置Tag,则Not节点下配置的Prefix不能和Rule节点下的Prefix相同。', 'description' => '本条排除规则所适用的Object前缀。不可为空。 如果Rule节点下配置了Prefix,则Not节点下的Prefix必须以Rule节点下的Prefix为前缀。例如,Rule节点下配置的Prefix为dir,则Not节点下的Prefix必须以dir开头,例如dir1、dir2等。 如果Not节点下未配置Tag,则Not节点下配置的Prefix不能和Rule节点下的Prefix相同。', 'visibility' => 'Public', 'type' => 'string', 'example' => 'logs/keep/'],
'Tag' => ['title' => '本条排除规则所适用的Object标签,至多一个,可置空。', 'description' => '本条排除规则所适用的Object标签,至多一个,可置空。', 'visibility' => 'Public', '$ref' => '#/components/schemas/Tag'],
],
'extendType' => 'true',
],
'properties' => [
'Prefix' => ['title' => '本条排除规则所适用的Object前缀。不可为空。 如果Rule节点下配置了Prefix,则Not节点下的Prefix必须以Rule节点下的Prefix为前缀。例如,Rule节点下配置的Prefix为dir,则Not节点下的Prefix必须以dir开头,例如dir1、dir2等。 如果Not节点下未配置Tag,则Not节点下配置的Prefix不能和Rule节点下的Prefix相同。', 'type' => 'string', 'example' => 'logs/keep/'],
'Tag' => ['title' => '本条排除规则所适用的Object标签,至多一个,可置空。', '$ref' => '#/components/schemas/Tag'],
],
],
'ObjectSizeGreaterThan' => ['title' => '本条生命周期规则只对文件大小大于该值的文件生效', 'description' => '本条生命周期规则只对文件大小大于该值的文件生效', 'type' => 'integer', 'format' => 'int64', 'example' => '10240'],
'ObjectSizeLessThan' => ['title' => '本条生命周期规则只对文件大小小于该值的文件生效', 'description' => '本条生命周期规则只对文件大小小于该值的文件生效', 'type' => 'integer', 'format' => 'int64', 'example' => '10240'],
],
],
'AtimeBase' => ['title' => '存储空间开启访问追踪的时间戳', 'description' => '存储空间开启访问追踪的时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1626158525'],
],
],
'ListAccessPointsResult' => [
'title' => '保存本次列举接入点信息结果的容器。',
'description' => '保存本次列举接入点信息结果的容器。',
'type' => 'object',
'properties' => [
'IsTruncated' => ['title' => '请求中返回的结果是否被截断。返回值如下: true:表示本次未返回全部结果。 false:表示本次已返回全部结果。', 'description' => '请求中返回的结果是否被截断。返回值如下: true:表示本次未返回全部结果。 false:表示本次已返回全部结果。', 'type' => 'string', 'example' => 'true'],
'NextContinuationToken' => ['title' => '表明本次ListAccessPoints请求包含后续结果,需要将NextContinuationToken指定为continuation-token继续获取结果。', 'description' => '表明本次ListAccessPoints请求包含后续结果,需要将NextContinuationToken指定为continuation-token继续获取结果。', 'type' => 'string', 'example' => 'abc**'],
'AccountId' => ['title' => '接入点所属的阿里云账号UID。', 'description' => '接入点所属的阿里云账号UID。', 'type' => 'string', 'example' => '10107***1448150'],
'AccessPoints' => [
'title' => '保存所有接入点信息的容器。',
'description' => '保存所有接入点信息的容器。',
'type' => 'object',
'properties' => [
'AccessPoint' => [
'title' => '保存接入点信息的列表。',
'description' => '保存接入点信息的列表。',
'type' => 'array',
'items' => ['description' => '保存接入点的详细信息。', '$ref' => '#/components/schemas/AccessPoint'],
],
],
],
'MaxKeys' => ['title' => '本次列举操作所设置的结果最大数量。', 'description' => '本次列举操作所设置的结果最大数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
'ListAllMyCacheResult' => [
'title' => '保存加速器列举结果的容器',
'description' => '加速器列举结果',
'type' => 'object',
'properties' => [
'Caches' => [
'title' => '保存加速器列表的容器',
'type' => 'object',
'properties' => [
'Cache' => [
'title' => '加速器结果列表',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/CacheBaseInfo'],
],
],
],
'Owner' => ['title' => '加速器所有者信息', '$ref' => '#/components/schemas/Owner'],
'Prefix' => ['title' => '列举前缀', 'type' => 'string', 'example' => 'abc'],
'Marker' => ['title' => '列举开始标记', 'type' => 'string', 'example' => 'abc'],
'MaxKeys' => ['title' => '列举最大结果数', 'type' => 'string', 'example' => '2'],
'IsTruncated' => ['title' => '是否截断', 'type' => 'boolean', 'example' => 'true'],
'NextMarker' => ['title' => '下一个列举标记', 'type' => 'string', 'example' => 'xyz'],
],
],
'ListBucketRequesterQoSInfosResult' => [
'title' => '列举存储空间级别请求者QoS配置信息的结果',
'description' => '列举Bucket级别请求者流控的结果',
'type' => 'object',
'properties' => [
'Bucket' => ['title' => '存储空间的名称', 'description' => '存储空间的名称', 'type' => 'string', 'example' => 'test-bucket'],
'ContinuationToken' => ['title' => '标识本次列举的起点', 'description' => '标识本次列举的起点', 'type' => 'string', 'example' => '29387293298'],
'NextContinuationToken' => ['title' => '标识下次列举的起点', 'description' => '标识下次列举的起点', 'type' => 'string', 'example' => '29387293298'],
'IsTruncated' => ['title' => '列举结果是否截断', 'description' => '列举结果是否截断', 'type' => 'boolean', 'example' => 'true'],
'RequesterQoSInfo' => [
'title' => '请求者QoS配置信息列表',
'description' => '请求者QoS配置信息列表',
'type' => 'array',
'items' => ['description' => '保存存储空间请求者QoS配置信息的容器', '$ref' => '#/components/schemas/RequesterQoSInfo'],
],
],
],
'ListDataLakeCachePrefetchJobHistory' => [
'title' => 'oss加速器异步预热任务执行记录列表',
'description' => 'oss加速器异步预热任务执行历史记录',
'type' => 'object',
'properties' => [
'DataLakeCachePrefetchJobHistory' => [
'title' => 'oss加速器异步预热任务执行记录列表',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/DataLakeCachePrefetchJobHistory'],
],
],
],
'ListDataLakeStorageTransferJobHistory' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'ListDataLakeStorageTransferJobHistory' => [
'title' => '数据湖元数据转换历史任务列表',
'description' => '数据湖元数据转换历史任务列表',
'type' => 'object',
'properties' => [
'DataLakeStorageTransferJobHistory' => [
'title' => '数据湖元数据转换历史任务列表',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/DataLakeStorageTransferJobHistory'],
],
],
],
],
],
],
'ListResourcePoolBucketsResult' => [
'title' => '列举资源池中存储空间列表的结果',
'description' => '列举资源池中Bucket列表的结果',
'type' => 'object',
'properties' => [
'ResourcePool' => ['title' => '目标资源池名称', 'description' => '目标资源池名称', 'type' => 'string', 'example' => 'rp-for-api'],
'ContionuationToken' => ['title' => '本次列举起点', 'description' => '本次列举起点', 'type' => 'string', 'example' => 'abcd'],
'NextContionuationToken' => ['title' => '下次列举起点', 'description' => '下次列举起点', 'type' => 'string', 'example' => 'defg'],
'IsTruncated' => ['title' => '列举结果是否截断', 'description' => '列举结果是否截断', 'type' => 'boolean', 'example' => 'true'],
'ResourcePoolBucket' => [
'title' => '资源池中的存储空间列表',
'description' => '资源池中的存储空间列表',
'type' => 'array',
'items' => ['description' => '保存资源池中的Bucket信息的容器', '$ref' => '#/components/schemas/ResourcePoolBucket'],
],
],
],
'ListResourcePoolRequesterQoSInfosResult' => [
'title' => '列举资源池级别请求者QoS配置信息的结果',
'description' => '列举资源池级别请求者流控的结果',
'type' => 'object',
'properties' => [
'ResourcePool' => ['title' => '资源池名称', 'description' => '资源池名称', 'type' => 'string', 'example' => 'rp-for-ai'],
'ContinuationToken' => ['title' => '标识本次列举的起点', 'description' => '标识本次列举的起点', 'type' => 'string', 'example' => '29387293298'],
'NextContinuationToken' => ['title' => '标识下次列举的起点', 'description' => '标识下次列举的起点', 'type' => 'string', 'example' => '29387293298'],
'IsTruncated' => ['title' => '列举结果是否截断', 'description' => '列举结果是否截断', 'type' => 'boolean', 'example' => 'true'],
'RequesterQoSInfo' => [
'title' => '请求者QoS配置信息列表',
'description' => '请求者QoS配置信息列表',
'type' => 'array',
'items' => ['description' => '保存请求者QoS配置信息的容器', '$ref' => '#/components/schemas/RequesterQoSInfo'],
],
],
],
'ListResourcePoolsResult' => [
'title' => '列举当前用户在特定地域中资源池的结果',
'description' => '列举当前用户在特定地域资源池的结果',
'type' => 'object',
'properties' => [
'Region' => ['title' => '目标地域', 'description' => '目标地域', 'type' => 'string', 'example' => 'oss-cn-shanghai'],
'Owner' => ['title' => '列举的资源池的所有者', 'description' => '列举的资源池的所有者', 'type' => 'string', 'example' => '1032307xxxx72056'],
'ContionuationToken' => ['title' => '本次列举的起点', 'description' => '本次列举的起点', 'type' => 'string', 'example' => 'abcd'],
'NextContionuationToken' => ['title' => '下次列举的起点', 'description' => '下次列举的起点', 'type' => 'string', 'example' => 'xyz'],
'IsTruncated' => ['title' => '本次列举结果是否截断', 'description' => '本次列举结果是否截断', 'type' => 'boolean', 'example' => 'true'],
'ResourcePool' => [
'title' => '资源池列表',
'description' => '资源池列表',
'type' => 'array',
'items' => ['description' => '资源池信息', '$ref' => '#/components/schemas/ResourcePoolSimpleInfo'],
],
],
],
'ListUserRegionsResult' => [
'title' => '用户存储空间所属的所有区域',
'description' => '列举用户 Bucket 所属的区域',
'type' => 'object',
'properties' => [
'Regions' => [
'title' => '保存所有区域列表的容器',
'type' => 'object',
'properties' => [
'Region' => [
'title' => '每个区域的名称',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'oss-cn-hangzhou'],
],
],
],
],
],
'ListVirtualBucketResult' => [
'title' => '保存虚拟存储空间配置列表的容器',
'description' => '列举的虚拟 Bucket 配置信息',
'type' => 'object',
'properties' => [
'VirtualBucket' => [
'title' => '用户名下配置的所有虚拟存储空间列表',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/VirtualBucket'],
],
],
],
'LiveChannel' => [
'title' => 'A short description of struct',
'description' => '保存返回每个LiveChannel信息的容器。',
'type' => 'object',
'properties' => [
'Name' => ['title' => 'description', 'description' => 'LiveChannel的名称。'."\n", 'type' => 'string', 'example' => 'channel-0'],
'Description' => ['title' => 'description', 'description' => 'LiveChannel的描述信息。'."\n", 'type' => 'string', 'example' => 'test'],
'Status' => ['title' => 'description', 'description' => 'LiveChannel的状态。'."\n"
.'有效值:'."\n"
.'- disabled:表示禁用LiveChannel。'."\n"
.'- enabled:表示启用LiveChannel。', 'type' => 'string', 'example' => 'enabled'],
'LastModified' => ['title' => 'description', 'description' => 'LiveChannel配置的最后修改时间。'."\n"
.'格式:ISO8601'."\n", 'type' => 'string', 'format' => 'iso8601', 'example' => 'ISO8601'],
'PublishUrls' => ['description' => '保存LiveChannel对应的推流地址的容器。'."\n", '$ref' => '#/components/schemas/LiveChannelPublishUrls'],
'PlayUrls' => ['description' => '保存LiveChannel对应的播放地址的容器。'."\n", '$ref' => '#/components/schemas/LiveChannelPlayUrls'],
],
],
'LiveChannelAudio' => [
'title' => 'A short description of struct',
'description' => '当Status为Live时,保存音频流信息的容器。'."\n"
.'> Video、Audio容器只有在Status为Live时才会返回,但Status为Live时不一定返回这两个容器。例如,客户端已经连接到LiveChannel,但尚未发送音视频数据,这种情况不会返回这两个容器。'."\n",
'type' => 'object',
'properties' => [
'Bandwidth' => ['title' => 'description', 'description' => '当前音频流的码率。'."\n"
.'> Bandwidth为音频流/视频流最近一段时间内的平均码率。LiveChannel刚切换到Live状态时,返回的Bandwidth值可能为0。'."\n"
.'单位:B/s'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'SampleRate' => ['title' => 'description', 'description' => '当前音频流的采样率。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '44100'],
'Codec' => ['title' => 'description', 'description' => '当前音频流的编码格式。'."\n", 'type' => 'string', 'example' => 'ADPCM'],
],
],
'LiveChannelConfiguration' => [
'title' => 'A short description of struct',
'description' => '保存LiveChannel配置的容器。',
'type' => 'object',
'properties' => [
'Description' => ['title' => 'description', 'description' => 'LiveChannel的描述信息,最长128字节。'."\n", 'type' => 'string', 'example' => 'test'],
'Status' => ['title' => 'description', 'description' => ' 指定LiveChannel的状态。'."\n"
."\n"
.'有效值:**enabled**、**disabled**'."\n"
.'默认值:**enabled**', 'type' => 'string', 'example' => 'enabled'],
'Target' => ['description' => '保存转储配置的容器。'."\n", '$ref' => '#/components/schemas/LiveChannelTarget'],
'Snapshot' => ['description' => '保存高频截图操作Snapshot选项的容器。'."\n", '$ref' => '#/components/schemas/LiveChannelSnapshot'],
],
],
'LiveChannelPlayUrls' => [
'title' => 'A short description of struct',
'description' => '保存播放地址的容器。'."\n",
'type' => 'object',
'properties' => [
'Url' => ['title' => 'description', 'description' => '播放地址。'."\n", 'type' => 'string', 'example' => 'http://test-bucket.oss-cn-hangzhou.aliyuncs.com/test-channel/playlist.m3u8'],
],
],
'LiveChannelPublishUrls' => [
'title' => 'A short description of struct',
'description' => '保存推流地址的容器。',
'type' => 'object',
'properties' => [
'Url' => ['title' => 'description', 'description' => '推流地址。'."\n"
."\n"
.'> - 推流地址是未加签名的URL,如Bucket ACL非public-read-write,则需先进行签名才可访问。'."\n"
.'> - 播放地址是未加签名的URL,如Bucket ACL为private,则需先进行签名才可访问。', 'type' => 'string', 'example' => 'rtmp://test-bucket.oss-cn-hangzhou.aliyuncs.com/live/test-channel'],
],
],
'LiveChannelSnapshot' => [
'title' => 'A short description of struct',
'description' => '保存高频截图操作Snapshot 选项的容器。',
'type' => 'object',
'properties' => [
'RoleName' => ['title' => 'description', 'description' => '用于高频截图操作的角色名称,要求有DestBucket的写权限和向NotifyTopic发消息的权限。'."\n", 'type' => 'string', 'example' => 'role_for_snapshot'],
'DestBucket' => ['title' => 'description', 'description' => '保存高频截图目标Bucket,要求与当前Bucket是同一个Owner。'."\n", 'type' => 'string', 'example' => 'snapshotdest'],
'NotifyTopic' => ['title' => 'description', 'description' => '用于通知用户高频截图操作结果的MNS的Topic。'."\n", 'type' => 'string', 'example' => 'snapshotnotify'],
'Interval' => ['title' => 'description', 'description' => '高频截图的间隔长度。如果该段间隔时间内没有关键帧(I 帧),那么该间隔时间不截图。'."\n"
.'单位:秒'."\n"
.'取值范围:[1, 100]', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
],
],
'LiveChannelTarget' => [
'title' => 'A short description of struct',
'description' => '保存转储配置的容器。'."\n"
."\n",
'type' => 'object',
'properties' => [
'Type' => ['title' => 'description', 'description' => '指定转储的类型。'."\n"
."\n"
.'有效值:**HLS**'."\n"
."\n"
.'> - 转储类型为HLS时,OSS会在生成每个ts文件后更新m3u8文件。m3u8文件中最多包含最近的FragCount个ts文件。'."\n"
.'> - 转储类型为HLS时,写入当前ts文件的音视频数据时长达到FragDuration指定的时长后,OSS会在收到下一个关键帧的时切换到下一个ts文件;如果max(2*FragDuration,'."\n"
.' 60s)后仍未收到下一个关键帧,OSS将强制切换文件,此时可能引起播放时卡顿。', 'type' => 'string', 'example' => 'HLS'],
'FragDuration' => ['title' => 'description', 'description' => '当Type为HLS时,指定每个ts文件的时长。'."\n"
.'单位:秒'."\n"
."\n"
.'取值范围:[1, 100]'."\n"
.'默认值:**5**'."\n"
.'> FragDuration和FragCount的默认值只有在两者都未指定时才会生效;指定了其中一个,则另一个的值也必须指定。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'FragCount' => ['title' => 'description', 'description' => '当Type为HLS时,指定m3u8文件中包含ts文件的个数。'."\n"
."\n"
.'取值范围:[1, 100]'."\n"
.'默认值:**3**'."\n"
.'> FragDuration和FragCount的默认值只有在两者都未指定时才会生效;指定了其中一个,则另一个的值也必须指定。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'PlaylistName' => ['title' => 'description', 'description' => '当Type为HLS时,指定生成的m3u8文件的名称。必须以”.m3u8”结尾,长度范围为[6, 128]。'."\n"
."\n"
.'默认值:**playlist.m3u8**'."\n"
.'取值范围:[6, 128]', 'type' => 'string', 'example' => 'playlist.m3u8'],
],
],
'LiveChannelVideo' => [
'title' => 'A short description of struct',
'description' => '当Status为Live时,保存视频流信息的容器。'."\n"
.'> **说明** Video、Audio容器只有在Status为Live时才会返回,但Status为Live时不一定返回这两个容器。例如,客户端已经连接到LiveChannel,但尚未发送音视频数据,这种情况不会返回这两个容器。'."\n",
'type' => 'object',
'properties' => [
'Width' => ['title' => 'description', 'description' => '当前视频流的画面宽度。'."\n"
.'单位:像素'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1280'],
'Height' => ['title' => 'description', 'description' => '当前视频流的画面高度。'."\n"
.'单位:像素'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '536'],
'FrameRate' => ['title' => 'description', 'description' => '当前视频流的帧率。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '24'],
'Bandwidth' => ['title' => 'description', 'description' => '当前视频流的码率。'."\n"
.'单位:B/s'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Codec' => ['title' => 'description', 'description' => '当前视频流的编码格式。'."\n", 'type' => 'string', 'example' => 'ADPCM'],
],
],
'LiveRecord' => [
'title' => 'A short description of struct',
'description' => '保存一次推流记录信息的容器。'."\n",
'type' => 'object',
'properties' => [
'StartTime' => ['title' => 'description', 'description' => '推流开始时间,使用ISO8601格式表示。'."\n", 'type' => 'string', 'example' => '2016-07-30T01:53:21.000Z'],
'EndTime' => ['title' => 'description', 'description' => '推流结束时间,使用ISO8601格式表示。'."\n", 'type' => 'string', 'example' => '2016-07-30T01:53:31.000Z'],
'RemoteAddr' => ['title' => 'description', 'description' => '推流客户端的IP地址。'."\n", 'type' => 'string', 'example' => '10.101.194.148:57632'],
],
],
'LocationTransferType' => [
'title' => 'The container that stores regions in which the destination bucket can be located with the TransferType information',
'description' => '包含TransferType的Location信息容器。'."\n"
."\n",
'type' => 'object',
'properties' => [
'Location' => ['title' => 'The region in which the destination bucket can be located', 'description' => '可复制到的目标Bucket所在的地域。', 'type' => 'string', 'example' => 'oss-cn-beijing'],
'TransferTypes' => [
'title' => 'The container that stores the transmission type',
'description' => '传输类型容器。',
'type' => 'object',
'properties' => [
'Type' => [
'title' => 'The transfer type should be used to transfer data in Cross-region replication',
'description' => '数据复制时使用的数据传输类型。'."\n"
.'取值:'."\n"
.' - internal(默认值):OSS默认传输链路。'."\n"
.' - oss_acc:传输加速链路。只有创建跨区域复制规则时才能使用传输加速链路。',
'type' => 'array',
'items' => ['description' => '数据复制时使用的数据传输类型。', 'type' => 'string', 'example' => 'oss_acc'],
'example' => 'oss_acc',
],
],
],
],
],
'LoggingEnabled' => [
'title' => '存储访问日志状态信息的容器',
'description' => '访问日志信息的容器。'."\n",
'type' => 'object',
'properties' => [
'TargetBucket' => ['title' => '存储访问日志的存储空间', 'description' => '指定存储访问日志的Bucket。'."\n", 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
'TargetPrefix' => ['title' => '保存的日志文件前缀', 'description' => '指定保存的日志文件前缀,可以为空。'."\n", 'type' => 'string', 'example' => 'MyLog-'],
'LoggingRole' => ['title' => '日志转存授权角色', 'description' => '日志转存授权角色', 'type' => 'string', 'example' => 'AliyunOSSLoggingDefaultRole'],
],
],
'MetaQuery' => [
'title' => '数据索引查询请求',
'description' => '查询条件的容器。',
'type' => 'object',
'properties' => [
'NextToken' => ['title' => '当Object总数大于设置的MaxResults时,用于翻页的token。 从NextToken开始按字典序返回Object信息列表。 第一次调用此接口时,设置此字段为空。', 'description' => '翻页的Token。从NextToken开始按字典序返回Object信息列表。', 'type' => 'string', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****'],
'MaxResults' => ['title' => '返回Object的最大个数,取值范围为0~100。 不设置此参数或者设置为0时,则默认值为100。', 'description' => '返回对象的最大个数,取值范围为0~100。'."\n"
.'不设置此参数或者设置为0时,则默认值为100。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'Query' => ['title' => '查询条件。包括如下选项: Operation:操作符。取值范围为eq(等于)、gt(大于)、gte(大于等于)、lt(小于)、 lte(小于等于)、match(模糊查询)、prefix(前缀查询)、and(逻辑与)、or(逻辑或)和not(逻辑非)。Field:字段名称。Value:字段值。 SubQueries:子查询条件,包括的选项与简单查询条件相同。只有当Operations为逻辑运算符(and、or和not)时,才需要设置子查询条件。', 'description' => '查询条件。包括如下选项:'."\n"
."\n"
.'- Operation:操作符。取值范围为eq(等于)、gt(大于)、gte(大于等于)、lt(小于)、 lte(小于等于)、match(模糊查询)、prefix(前缀查询)、and(逻辑与)、or(逻辑或)和not(逻辑非)。'."\n"
."\n"
.'- Field:字段名称。'."\n"
."\n"
.'- Value:字段值。'."\n"
."\n"
.'- SubQueries:子查询条件,包括的选项与简单查询条件相同。只有当Operations为逻辑运算符(and、or和not)时,才需要设置子查询条件。', 'type' => 'string', 'required' => false, 'example' => '{"Field": "Size","Value": "1048576","Operation": "gt"}'],
'Sort' => ['title' => '对指定字段排序', 'description' => '对指定字段排序。', 'type' => 'string', 'example' => 'Size'],
'Order' => ['title' => '排序方式', 'description' => '排序方式。', '$ref' => '#/components/schemas/MetaQueryOrder'],
'Aggregations' => [
'title' => '聚合操作信息',
'description' => '聚合操作信息的容器。',
'type' => 'object',
'properties' => [
'Aggregation' => [
'title' => '聚合操作信息',
'description' => '单个聚合操作信息的容器。',
'type' => 'array',
'items' => ['description' => '句号操作信息的容器。', '$ref' => '#/components/schemas/MetaQueryAggregation'],
],
],
],
'MediaTypes' => [
'title' => '多媒体元数据检索条件。仅用于向量检索',
'description' => '多媒体元数据检索条件。仅用于向量检索',
'type' => 'object',
'properties' => [
'MediaType' => [
'title' => '选择检索的多媒体类型。取值如下: image:图片 video:视频 audio:音频 document:文档',
'description' => '选择检索的多媒体类型。',
'type' => 'array',
'items' => ['description' => '取值如下: image:图片 video:视频 audio:音频 document:文档', 'type' => 'string', 'example' => 'image'],
],
],
],
'SimpleQuery' => ['title' => '查询条件,仅用于向量查询。', 'description' => '查询条件,仅用于向量查询。', 'type' => 'string', 'example' => '{"Operation":"gt", "Field": "Size", "Value": "30"}'],
],
],
'MetaQueryAggregation' => [
'title' => '聚合操作信息',
'description' => '聚合操作信息',
'type' => 'object',
'properties' => [
'Field' => ['title' => '字段名称', 'description' => '字段名称', 'type' => 'string', 'example' => 'Size'],
'Operation' => ['title' => '聚合操作中的操作符', 'description' => '聚合操作中的操作符。'."\n"
."\n"
.'- min:最小值'."\n"
.'- max:最大值'."\n"
.'- average:平均数'."\n"
.'- sum:求和'."\n"
.'- count:计数'."\n"
.'- distinct:去重统计'."\n"
.'- group:分组计数', 'type' => 'string', 'example' => 'sum'],
],
],
'MetaQueryAggregationsResult' => [
'title' => '保存数据索引聚合查询结果的容器',
'description' => '数据索引查询聚合结果',
'type' => 'object',
'properties' => [
'Field' => ['title' => '字段名称', 'description' => '字段名称', 'type' => 'string', 'example' => 'Size'],
'Operation' => ['title' => '聚合操作符', 'description' => '聚合操作符', 'type' => 'string', 'example' => 'sum'],
'Value' => ['title' => '符合操作的结果值', 'description' => '符合操作的结果值', 'type' => 'number', 'format' => 'double', 'example' => '200'],
'Groups' => [
'title' => '分组聚合的结果列表的容器',
'description' => '分组聚合的结果列表的容器',
'type' => 'object',
'properties' => [
'Group' => [
'title' => '分组聚合的结果列表',
'description' => '分组聚合的结果列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['title' => '分组聚合的值', 'description' => '分组聚合的值', 'type' => 'string', 'example' => '100'],
'Count' => ['title' => '分组聚合的总个数', 'description' => '分组聚合的总个数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
],
'description' => '',
],
],
],
],
],
],
'MetaQueryFile' => [
'title' => '数据索引检索结果中单个Object信息',
'description' => 'A short description of struct',
'type' => 'object',
'properties' => [
'Filename' => ['title' => '对象的名称', 'description' => '对象的完整路径', 'type' => 'string', 'example' => 'exampleobject.txt'],
'Size' => ['title' => '对象大小,单位为字节', 'description' => '对象大小', 'type' => 'integer', 'format' => 'int64', 'example' => '120'],
'FileModifiedTime' => ['title' => '最近一次修改时间,遵循RFC 3339标准格式', 'description' => '最近一次修改时间', 'type' => 'string', 'example' => '2021-06-29T15:04:05.000000000Z07:00'],
'OSSObjectType' => [
'title' => 'Object的类型。取值范围如下: Normal:通过PutObject接口上传的Object类型。 Appendable:通过AppendObject接口上传的Object类型。 Multipart:通过MultipartUpload接口上传的Object类型。 Symlink:通过PutSymlink接口创建的软链接。',
'description' => '对象的类型',
'type' => 'string',
'enumValueTitles' => ['Multipart' => 'MultipartUpload上传的文件', 'Symlink' => 'PutSymlink创建的软链接', 'Appendable' => 'AppendObject上传的文件', 'Normal' => 'PutObject上传的文件'],
'example' => 'Normal',
],
'OSSStorageClass' => [
'title' => 'Object的存储类型。取值范围如下: Standard:标准存储类型提供高可靠、高可用、高性能的对象存储服务,能够支持频繁的数据访问。 IA:低频访问存储类型适合需要长期存储但不经常被访问的数据(平均每月访问频率1到2次)。 Archive:归档存储类型适合需要长期存储(建议半年以上)的归档数据,在存储周期内极少被访问,数据进入到可读取状态需要1分钟的解冻时间。 ColdArchive:冷归档存储类型适用于需要长期保存且几乎不访问的数据。',
'description' => '对象的存储类型',
'type' => 'string',
'enumValueTitles' => ['Archive' => '归档存储类型', 'ColdArchive' => '冷归档存储类型文件', 'IA' => '低频文件', 'Standard' => '标准文件'],
'example' => 'Standard',
],
'ObjectACL' => [
'title' => 'Object的访问权限。取值范围如下: default:Object遵循所在存储空间的访问权限。 private:Object是私有资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户没有权限操作该Object。 public-read:Object是公共读资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户只有该Object的读权限。请谨慎使用该权限。 public-read-write:Object是公共读写资源。所有用户都有该Object的读写权限。请谨慎使用该权限。',
'description' => '对象的访问权限',
'type' => 'string',
'enumValueTitles' => ['default' => '遵循存储空间的访问权限', 'private' => '私有', 'public-read' => '公共读', 'public-read-write' => '公共读写'],
'example' => 'default',
],
'ETag' => ['title' => 'Object生成时会创建相应的ETag ,ETag用于标识一个Object的内容。 对于PutObject请求创建的Object,ETag值是其内容的MD5值。 对于其他方式创建的Object,ETag值是基于一定计算规则生成的唯一值,但不是其内容的MD5值。', 'description' => '对象的ETAG', 'type' => 'string', 'example' => '"fba9dede5f27731c9771645a3986****"'],
'OSSCRC64' => ['title' => 'Object的64位CRC值。该64位CRC根据ECMA-182标准计算得出。', 'description' => '对象的CRC64校验值', 'type' => 'string', 'example' => '4858A48BD1466884'],
'ServerSideEncryption' => ['title' => '创建对象时的服务端加密密钥', 'description' => '创建对象时的服务端加密密钥', 'type' => 'string', 'example' => 'AES256'],
'ServerSideEncryptionCustomerAlgorithm' => ['title' => '创建对象时的服务端加密算法', 'description' => '创建对象时的服务端加密算法', 'type' => 'string', 'example' => 'SM4'],
'OSSTaggingCount' => ['title' => '对象的标签个数', 'description' => '对象的标签个数', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
'OSSTagging' => [
'title' => '对象的标签列表',
'description' => '对象的标签列表',
'type' => 'object',
'properties' => [
'Tagging' => [
'title' => '对象的标签',
'description' => '对象的标签',
'type' => 'array',
'items' => ['description' => '对象的标签', '$ref' => '#/components/schemas/MetaQueryTagging'],
],
],
],
'OSSUserMeta' => [
'title' => '对象的自定义元数据列表',
'description' => '对象的自定义元数据列表',
'type' => 'object',
'properties' => [
'UserMeta' => [
'title' => '对象的自定义元数据',
'description' => '对象的自定义元数据',
'type' => 'array',
'items' => ['description' => '用户自定义元数据', '$ref' => '#/components/schemas/MetaQueryUserMeta'],
],
],
],
'URI' => ['title' => 'Object完整路径', 'description' => 'Object完整路径', 'type' => 'string', 'example' => 'oss://examplebucket/test-object.jpg'],
'ProduceTime' => ['title' => '设备记录的照片或视频的拍摄时间', 'description' => '设备记录的照片或视频的拍摄时间', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'ContentType' => ['title' => 'MIME类型', 'description' => 'MIME类型', 'type' => 'string', 'example' => 'image/jpeg'],
'MediaType' => ['title' => '多媒体类型', 'description' => '多媒体类型', 'type' => 'string', 'example' => 'image'],
'LatLong' => ['title' => '经纬度信息', 'description' => '经纬度信息', 'type' => 'string', 'example' => '30.134390,120.074997'],
'Title' => ['title' => '文件标题', 'description' => '文件标题', 'type' => 'string', 'example' => 'test'],
'OSSExpiration' => ['title' => '文件过期时间', 'description' => '文件过期时间', 'type' => 'string', 'example' => '2124-12-01T12:00:00.000Z'],
'AccessControlAllowOrigin' => ['title' => '允许的跨域请求的来源', 'description' => '允许的跨域请求的来源', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'AccessControlRequestMethod' => ['title' => '跨域请求中用到的方法', 'description' => '跨域请求中用到的方法', 'type' => 'string', 'example' => 'PUT'],
'ServerSideDataEncryption' => ['title' => 'Object的加密算法', 'description' => 'Object的加密算法', 'type' => 'string', 'example' => 'SM4'],
'ServerSideEncryptionKeyId' => ['title' => 'KMS托管的用户主密钥', 'description' => 'KMS托管的用户主密钥', 'type' => 'string', 'example' => '9468da86-3509-4f8d-a61e-6eab1eac****'],
'CacheControl' => ['title' => 'Object被下载时网页的缓存行为', 'description' => 'Object被下载时网页的缓存行为', 'type' => 'string', 'example' => 'no-cache'],
'ContentDisposition' => ['title' => 'Object被下载时的名称', 'description' => 'Object被下载时的名称', 'type' => 'string', 'example' => 'attachment; filename =test.jpg'],
'ContentEncoding' => ['title' => 'Object被下载时的内容编码格式', 'description' => 'Object被下载时的内容编码格式', 'type' => 'string', 'example' => 'UTF-8'],
'ContentLanguage' => ['title' => 'Object内容使用的语言', 'description' => 'Object内容使用的语言', 'type' => 'string', 'example' => 'zh-CN'],
'ImageHeight' => ['title' => '图片高度,单位为像素(px)', 'description' => '图片高度,单位为像素(px)', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
'ImageWidth' => ['title' => '图片宽度,单位为像素(px)', 'description' => '图片宽度,单位为像素(px)', 'type' => 'integer', 'format' => 'int64', 'example' => '270'],
'VideoWidth' => ['title' => '视频画面宽度,单位为像素(px)', 'description' => '视频画面宽度,单位为像素(px)', 'type' => 'integer', 'format' => 'int64', 'example' => '1080'],
'VideoHeight' => ['title' => '视频画面高度,单位为像素(px)', 'description' => '视频画面高度,单位为像素(px)', 'type' => 'integer', 'format' => 'int64', 'example' => '1920'],
'Bitrate' => ['title' => '码率,单位为比特每秒(bit/s)', 'description' => '码率,单位为比特每秒(bit/s)', 'type' => 'integer', 'format' => 'int64', 'example' => '13091201'],
'Artist' => ['title' => '艺术家', 'description' => '艺术家', 'type' => 'string', 'example' => 'Jane'],
'AlbumArtist' => ['title' => '演唱者', 'description' => '演唱者', 'type' => 'string', 'example' => 'Jenny'],
'Composer' => ['title' => '作曲家', 'description' => '作曲家', 'type' => 'string', 'example' => 'Jane'],
'Performer' => ['title' => '演奏者', 'description' => '演奏者', 'type' => 'string', 'example' => 'Jane'],
'Album' => ['title' => '专辑', 'description' => '专辑', 'type' => 'string', 'example' => 'FirstAlbum'],
'Duration' => ['title' => '视频的总时长。单位秒', 'description' => '视频的总时长。单位秒', 'type' => 'number', 'format' => 'double', 'example' => '15.263000'],
'VideoStreams' => [
'title' => '视频流列表',
'description' => '视频流列表',
'type' => 'object',
'properties' => [
'VideoStream' => ['title' => '视频流', 'description' => '视频流', '$ref' => '#/components/schemas/MetaQueryRespVideoStream'],
],
],
'AudioStreams' => [
'title' => '音频流列表',
'description' => '音频流列表',
'type' => 'object',
'properties' => [
'AudioStream' => ['title' => '音频流', 'description' => '音频流', '$ref' => '#/components/schemas/MetaQueryRespAudioStream'],
],
],
'Subtitles' => [
'title' => '字幕流列表',
'description' => '字幕流列表',
'type' => 'object',
'properties' => [
'Subtitle' => ['title' => '字幕流', 'description' => '字幕流', '$ref' => '#/components/schemas/MetaQueryRespSubtitle'],
],
],
'Addresses' => [
'title' => '地址信息列表',
'description' => '地址信息列表',
'type' => 'object',
'properties' => [
'Address' => ['title' => '地址信息', 'description' => '地址信息', '$ref' => '#/components/schemas/MetaQueryRespAddress'],
],
],
],
],
'MetaQueryOpenRequest' => [
'title' => '为Bucket开启元数据管理功能的请求体',
'description' => '为开启元数据管理功能的请求体',
'type' => 'object',
'properties' => [
'Filters' => [
'title' => '过滤条件的容器,支持逻辑运算 AND 和 OR 以及比较运算符。 每个Filter表达式之间为 OR 关系。 单个Filter表达式中多个条件之间使用英文逗号(,)分隔,表示 AND 关系。',
'type' => 'object',
'properties' => [
'Filter' => [
'title' => '过滤条件表达式,示例值表示:筛选出文件大小大于 1024 字节且修改时间晚于2025-06-03T09:20:47.999Z的文件。',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'Size > 1024,FileModifiedTime > 2025-06-03T09:20:47.999Z'],
],
],
],
],
],
'MetaQueryOrder' => [
'title' => 'A short description of struct',
'description' => '排序方式。取值范围如下:'."\n"
."\n"
.'- asc:升序。'."\n"
."\n"
.'- desc(默认值):降序。',
'type' => 'string',
'example' => 'asc',
'enum' => ['asc', 'desc'],
],
'MetaQueryResp' => [
'title' => '保存数据索引查询结果的容器。',
'description' => '数据索引查询响应体',
'type' => 'object',
'properties' => [
'NextToken' => ['title' => '当Object总数大于设置的MaxResults时,用于翻页的token。 下一次列出Object信息时以此值为NextToken,将未返回的结果返回。 当Object未全部返回时,此参数才有值。', 'description' => '当Object总数大于设置的MaxResults时,用于翻页的token。 下一次列出Object信息时以此值为NextToken,将未返回的结果返回。 当Object未全部返回时,此参数才有值。', 'type' => 'string', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****'],
'Files' => [
'title' => 'Object信息的容器。',
'description' => 'Object信息的容器。',
'type' => 'object',
'properties' => [
'File' => [
'title' => '保存单个Object信息的容器。',
'description' => '保存单个Object信息的容器。',
'type' => 'array',
'items' => ['description' => '满足查询条件的文件列表', '$ref' => '#/components/schemas/MetaQueryFile'],
],
],
],
'Aggregations' => [
'title' => '聚合操作结果信息的容器',
'description' => '聚合操作结果信息的容器',
'type' => 'object',
'properties' => [
'Aggregation' => [
'title' => '聚合操作结果列表',
'description' => '聚合操作结果列表',
'type' => 'array',
'items' => ['description' => '聚合操作结果', '$ref' => '#/components/schemas/MetaQueryAggregationsResult'],
],
],
],
],
],
'MetaQueryRespAddress' => [
'title' => '数据索引向量检索结果中的地址信息',
'description' => '数据索引向量检索结果中的地址信息',
'type' => 'object',
'properties' => [
'AddressLine' => ['title' => '完整地址', 'description' => '完整地址', 'type' => 'string', 'example' => '中国浙江省杭州市余杭区文一西路969号'],
'City' => ['title' => '城市', 'description' => '城市', 'type' => 'string', 'example' => '杭州市'],
'District' => ['title' => '区', 'description' => '区', 'type' => 'string', 'example' => '余杭区'],
'Language' => ['title' => '语言,格式为BCP 47', 'description' => '语言,格式为BCP 47', 'type' => 'string', 'example' => 'zh-Hans'],
'Province' => ['title' => '省份', 'description' => '省份', 'type' => 'string', 'example' => '浙江省'],
'Township' => ['title' => '街道', 'description' => '街道', 'type' => 'string', 'example' => '文一西路'],
],
],
'MetaQueryRespAudioStream' => [
'title' => '数据索引向量检索结果中的音频流信息',
'description' => '数据索引向量检索结果中的音频流信息',
'type' => 'object',
'properties' => [
'CodecName' => ['title' => '编码器名称', 'description' => '编码器名称', 'type' => 'string', 'example' => 'aac'],
'Bitrate' => ['title' => '码率,单位为比特每秒(bit/s)', 'description' => '码率,单位为比特每秒(bit/s)', 'type' => 'integer', 'format' => 'int64', 'example' => '320087'],
'SampleRate' => ['title' => '采样率,单位为赫兹(Hz)', 'description' => '采样率,单位为赫兹(Hz)', 'type' => 'integer', 'format' => 'int64', 'example' => '48000'],
'StartTime' => ['title' => '音频流起始时间,单位为秒(s)', 'description' => '音频流起始时间,单位为秒(s)', 'type' => 'number', 'format' => 'double', 'example' => '0.0235'],
'Duration' => ['title' => '音频流持续时长,单位为秒(s)', 'description' => '音频流持续时长,单位为秒(s)', 'type' => 'number', 'format' => 'double', 'example' => '3.690667'],
'Channels' => ['title' => '声道数量', 'description' => '声道数量', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'Language' => ['title' => '音频流中使用的语言,格式为BCP 47', 'description' => '音频流中使用的语言,格式为BCP 47', 'type' => 'string', 'example' => 'en'],
],
],
'MetaQueryRespFileInsights' => [
'title' => '视频与图片的描述信息。',
'type' => 'object',
'properties' => [
'Video' => ['title' => '保存视频文件描述信息的容器。', '$ref' => '#/components/schemas/MetaQueryRespFileInsightsVideo'],
'Image' => ['title' => '保存图片文件描述信息的容器。', '$ref' => '#/components/schemas/MetaQueryRespFileInsightsImage'],
],
],
'MetaQueryRespFileInsightsImage' => [
'title' => '图片文件描述信息',
'type' => 'object',
'properties' => [
'Caption' => ['title' => '简短描述信息', 'type' => 'string', 'example' => '站着一个人'],
'Description' => ['title' => '详细描述信息', 'type' => 'string', 'example' => '图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色'],
],
],
'MetaQueryRespFileInsightsVideo' => [
'title' => '视频文件的描述信息。',
'type' => 'object',
'properties' => [
'Caption' => ['title' => '简短描述信息。', 'type' => 'string', 'example' => '手拿洗发水'],
'Description' => ['title' => '详细描述信息。', 'type' => 'string', 'example' => '视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移'],
],
],
'MetaQueryRespSubtitle' => [
'title' => '数据索引向量检索结果中的字幕流信息',
'description' => '数据索引向量检索结果中的字幕流信息',
'type' => 'object',
'properties' => [
'CodecName' => ['title' => '编码器名称', 'description' => '编码器名称', 'type' => 'string', 'example' => 'mov_text'],
'Language' => ['title' => '字幕语言,格式为BCP 47', 'description' => '字幕语言,格式为BCP 47', 'type' => 'string', 'example' => 'en'],
'StartTime' => ['title' => '字幕流起始时间,单位为秒(s)', 'description' => '字幕流起始时间,单位为秒(s)', 'type' => 'number', 'format' => 'double', 'example' => '0.000000'],
'Duration' => ['title' => '字幕流持续时长,单位为秒(s)。', 'description' => '字幕流持续时长,单位为秒(s)。', 'type' => 'number', 'format' => 'double', 'example' => '71.378'],
],
],
'MetaQueryRespVideoStream' => [
'title' => '数据索引向量检索结果中的视频流信息',
'description' => '数据索引向量检索结果中的视频流信息',
'type' => 'object',
'properties' => [
'CodecName' => ['title' => '编码器名称', 'description' => '编码器名称', 'type' => 'string', 'example' => 'h264'],
'Language' => ['title' => '视频流中使用的语言,格式为BCP 47', 'description' => '视频流中使用的语言,格式为BCP 47', 'type' => 'string', 'example' => 'en'],
'Bitrate' => ['title' => '码率,单位为比特每秒(bit/s)', 'description' => '码率,单位为比特每秒(bit/s)', 'type' => 'integer', 'format' => 'int64', 'example' => '5407765'],
'FrameRate' => ['title' => '视频流帧率', 'description' => '视频流帧率', 'type' => 'string', 'example' => '25/1'],
'StartTime' => ['title' => '视频流起始时间,单位为秒(s)', 'description' => '视频流起始时间,单位为秒(s)', 'type' => 'number', 'format' => 'double', 'example' => '0.000000'],
'Duration' => ['title' => '视频流持续时长,单位为秒(s)', 'description' => '视频流持续时长,单位为秒(s)', 'type' => 'number', 'format' => 'double', 'example' => '22.88'],
'FrameCount' => ['title' => '视频帧数', 'description' => '视频帧数', 'type' => 'integer', 'format' => 'int64', 'example' => '572'],
'BitDepth' => ['title' => '像素位宽', 'description' => '像素位宽', 'type' => 'integer', 'format' => 'int64', 'example' => '8'],
'PixelFormat' => ['title' => '视频流像素格式', 'description' => '视频流像素格式', 'type' => 'string', 'example' => 'yuv420p'],
'ColorSpace' => ['title' => '色彩空间', 'description' => '色彩空间', 'type' => 'string', 'example' => 'bt709'],
'Height' => ['title' => '视频流画面高度,单位为像素(px)', 'description' => '视频流画面高度,单位为像素(px)', 'type' => 'integer', 'format' => 'int64', 'example' => '720'],
'Width' => ['title' => '视频流画面宽度,单位为像素(px)', 'description' => '视频流画面宽度,单位为像素(px)', 'type' => 'integer', 'format' => 'int64', 'example' => '1280'],
],
],
'MetaQueryTagging' => [
'title' => 'A short description of struct',
'description' => '对象所附标签',
'type' => 'object',
'properties' => [
'Key' => ['title' => 'key', 'description' => '对象标签键', 'type' => 'string', 'example' => 'abc'],
'Value' => ['title' => 'value', 'description' => '对象标签值', 'type' => 'string', 'example' => 'test'],
],
],
'MetaQueryUserMeta' => [
'title' => 'A short description of struct',
'description' => '用户自定义元数据',
'type' => 'object',
'properties' => [
'Key' => ['title' => 'key', 'description' => '用户自定义元数据键', 'type' => 'string', 'example' => 'abc'],
'Value' => ['title' => 'value', 'description' => '用户自定义元数据值', 'type' => 'string', 'example' => 'test'],
],
],
'NotificationConfiguration' => [
'title' => 'BucketNotifaction 配置信息',
'description' => 'BucketNotification 配置信息',
'type' => 'object',
'properties' => [
'TopicConfiguration' => [
'title' => 'Topic 配置信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Id' => ['title' => 'Topic 名称', 'type' => 'string', 'example' => 'test-topic-1'],
],
],
],
],
'required' => false,
],
'ObjectACL' => [
'description' => '指定OSS创建Object时的访问权限。'."\n"
.'取值:'."\n"
."\n"
.'- default(默认):Object遵循所在存储空间的访问权限。'."\n"
.'- private:Object是私有资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户没有权限操作该Object。'."\n"
.'- public-read:Object是公共读资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户只有该Object的读权限。请谨慎使用该权限。'."\n"
.'- public-read-write:Object是公共读写资源。所有用户都有该Object的读写权限。请谨慎使用该权限。'."\n"
."\n"
.'关于访问权限的更多信息,请参见**[读写权限ACL](~~100676~~)**。',
'type' => 'string',
'example' => 'public-read',
'default' => 'default',
'enum' => ['private', 'public-read', 'public-read-write', 'default'],
],
'ObjectHashConfiguration' => [
'title' => '对象哈希计算配置',
'description' => 'Object哈希算法配置',
'type' => 'object',
'properties' => [
'ObjectHashFunction' => ['title' => '对象哈希算法', 'description' => '对象哈希算法', 'type' => 'string', 'example' => 'SHA-256'],
'DisplayObjectHash' => ['title' => '访问对象时或是否在响应头显示对象哈希值', 'description' => '访问对象时或是否在响应头显示对象哈希值', 'type' => 'boolean', 'example' => 'true'],
],
],
'ObjectIdentifier' => [
'title' => 'A short description of struct',
'description' => '对象标识符。',
'type' => 'object',
'properties' => [
'Key' => ['title' => 'key', 'description' => '对象 Key。', 'type' => 'string', 'required' => true, 'example' => 'object_key'],
'VersionId' => ['title' => 'version id', 'description' => '版本ID。', 'type' => 'string', 'example' => 'version_20211101141621_d137'],
],
],
'ObjectLinkInfo' => [
'title' => '保存ObjectLink类型文件信息的容器',
'description' => 'ObjectLink类型文件信息',
'type' => 'object',
'properties' => [
'Part' => [
'title' => '保存文件每个Part的信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PartNumber' => ['title' => '该Part的序号', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'PartName' => ['title' => '该Part的文件名称', 'type' => 'string', 'example' => 'test.txt'],
],
],
],
],
],
'ObjectList' => [
'title' => 'A list of the objects.',
'description' => '文件信息的容器',
'type' => 'array',
'items' => ['description' => '返回的文件元信息。', '$ref' => '#/components/schemas/ObjectSummary'],
'enumValueTitles' => [],
],
'ObjectProcessConfiguration' => [
'title' => '保存对象FC接入点的配置',
'description' => '对象FC接入点的配置',
'type' => 'object',
'properties' => [
'AllowedFeatures' => [
'title' => '保存通过对象FC接入点发起请求信息的容器。',
'description' => '保存通过对象FC接入点发起请求信息的容器。',
'type' => 'object',
'properties' => [
'AllowedFeature' => [
'title' => '函数计算支持的功能特性',
'description' => '函数计算支持的功能特性列表',
'type' => 'array',
'items' => ['description' => '函数计算支持的功能特性', 'type' => 'string', 'example' => 'GetObject-Range'],
],
],
],
'TransformationConfigurations' => [
'title' => '保存转换配置信息的容器',
'description' => '保存转换配置信息的容器',
'type' => 'object',
'properties' => [
'TransformationConfiguration' => [
'title' => '保存转换配置信息的容器',
'description' => '保存转换配置信息的列表',
'type' => 'array',
'items' => [
'description' => '保存转换配置信息的容器',
'type' => 'object',
'properties' => [
'Actions' => [
'title' => '保存操作信息的容器',
'description' => '保存操作信息的容器',
'type' => 'object',
'properties' => [
'Action' => [
'title' => '保存操作信息的容器',
'description' => '保存操作信息的列表',
'type' => 'array',
'items' => ['description' => '具体的操作名称', 'type' => 'string', 'example' => 'OSS API操作,目前仅支持GetObject'],
],
],
],
'ContentTransformation' => [
'title' => '保存转换信息的容器',
'description' => '保存转换信息的容器',
'type' => 'object',
'properties' => [
'FunctionCompute' => [
'title' => '保存函数计算信息的容器',
'description' => '保存函数计算信息的容器',
'type' => 'object',
'properties' => [
'FunctionAssumeRoleArn' => ['title' => '函数计算用于访问您在其他云产品中的资源的角色ARN', 'description' => '函数计算用于访问您在其他云产品中的资源的角色ARN', 'type' => 'string', 'example' => 'acs:ram::111933544165****:role/aliyunfcdefaultrole'],
'FunctionArn' => ['title' => '函数ARN', 'description' => '函数ARN', 'type' => 'string', 'example' => 'acs:fc:cn-qingdao:111933544165****:services/test-oss-fc.LATEST/functions/fc-01'],
],
],
'AdditionalFeatures' => [
'title' => '保存额外特性配置',
'description' => '保存额外特性配置',
'type' => 'object',
'properties' => [
'CustomForwardHeaders' => [
'title' => '保存自定义转发请求头列表',
'description' => '保存自定义转发请求头列表',
'type' => 'object',
'properties' => [
'CustomForwardHeader' => [
'title' => '自定义转发请求头',
'description' => '自定义转发请求头',
'type' => 'array',
'items' => ['description' => '自定义转发请求头', 'type' => 'string', 'example' => 'test-header'],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
'ObjectSummary' => [
'title' => 'Object元信息',
'description' => '返回的文件元信息。',
'type' => 'object',
'properties' => [
'Key' => ['title' => 'Object名称', 'description' => 'Object的Key。', 'type' => 'string', 'example' => 'fun/test.jpg'],
'LastModified' => ['title' => 'Object最后被修改的时间', 'description' => 'Object最后被修改的时间。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2012-02-24T08:42:32.000Z'],
'ETag' => ['title' => '在每个Object生成时创建,用于标识一个Object的内容', 'description' => 'ETag (Entity Tag) 在每个Object生成时创建,用于标识一个Object的内容。'."\n"
."\n"
.'- 对于PutObject请求创建的Object,ETag值是其内容的MD5值。'."\n"
."\n"
.'- 对于其他方式创建的Object,ETag值是基于一定计算规则生成的唯一值,但不是其内容的MD5值。'."\n"
."\n"
.'- ETag值可以用于检查Object内容是否发生变化。不建议使用ETag值作为Object内容的MD5校验数据完整性的依据。', 'type' => 'string', 'example' => '5B3C1A2E053D763E1B002CC607C5A0FE1****'],
'Type' => ['title' => 'Object类型', 'description' => 'Object的类型,包含以下三种:'."\n"
."\n"
.'- 通过简单上传生成的Object类型为Normal。'."\n"
."\n"
.'- 通过分片上传生成的Object类型为Multipart。'."\n"
."\n"
.'- 通过追加上传生成的Object类型为Appendable,且仅支持在Appendable类型的Object后直接追加内容。', 'type' => 'string', 'example' => 'Normal'],
'Size' => ['title' => 'Object的大小,单位为字节', 'description' => '返回Object大小,单位为字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '344606'],
'StorageClass' => ['title' => 'Object的存储类型', 'description' => 'Object的存储类型。', '$ref' => '#/components/schemas/StorageClass'],
'Owner' => ['title' => 'Bucket拥有者信息', 'description' => '保存Bucket拥有者信息的容器。', '$ref' => '#/components/schemas/Owner'],
'ResoreInfo' => ['title' => 'Object的解冻状态', 'type' => 'string', 'example' => 'ongoing-request="true”'],
],
],
'ObjectVersion' => [
'title' => 'The version of an object',
'description' => '保存除删除标记以外的Object版本的容器。'."\n",
'type' => 'object',
'properties' => [
'Key' => ['title' => 'The name of the object', 'description' => 'Object的名称。'."\n", 'type' => 'string', 'example' => 'example'],
'VersionId' => ['title' => 'The version ID of the object', 'description' => 'Object的版本ID。', 'type' => 'string', 'example' => 'CAEQMxiBgMDNoP2D0BYiIDE3MWUxNzgxZDQxNTRiODI5OGYwZGMwNGY3MzZjN****'],
'IsLatest' => [
'title' => 'Indicates whether the version is the current version',
'description' => 'Object是否为当前版本。'."\n"
.'取值:'."\n"
."\n"
.'- true:Object为当前版本。'."\n"
."\n"
.'- false:Object为非当前版本。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
'default' => 'false',
],
'LastModified' => ['title' => 'The last modified time of the object', 'description' => 'Object最后被修改的时间。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2019-04-09T07:27:28.000Z'],
'ETag' => ['title' => 'The entity tag', 'description' => '每个Object生成时创建的ETag ,用于标识Object的内容。'."\n"
.' - 对于PutObject请求创建的Object,ETag值是其内容的MD5值。'."\n"
.' - 对于其他方式创建的Object,ETag值是基于一定计算规则生成的唯一值,但不是其内容的MD5值。'."\n"
."\n"
.'> ETag值仅用于检查Object内容是否发生变化。不建议使用ETag值作为Object内容的MD5数据完整性校验的依据。'."\n", 'type' => 'string', 'example' => '250F8A0AE989679A22926A875F0A2****'],
'Size' => ['title' => 'The size of the returned object', 'description' => 'Object的字节数。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '93731'],
'StorageClass' => ['title' => 'Object的存储类型', 'description' => 'Object的存储类型。'."\n", 'example' => 'Standard', '$ref' => '#/components/schemas/StorageClass'],
'Owner' => ['title' => 'The information about the bucket owner', 'description' => '保存Bucket拥有者信息的容器。'."\n", '$ref' => '#/components/schemas/Owner'],
],
],
'ObjectWormConfiguration' => [
'title' => '保存对象合规保留策略的容器',
'description' => '保存对象合规保留策略的容器',
'type' => 'object',
'properties' => [
'ObjectWormEnabled' => ['title' => '是否开启对象级别合规保留策略', 'description' => '是否开启对象级别合规保留策略', 'type' => 'string', 'example' => 'Enabled'],
'Rule' => [
'title' => '保存Bucket对象级别保留策略的容器。',
'description' => '保存Bucket对象级别保留策略的容器。',
'type' => 'object',
'properties' => [
'DefaultRetention' => [
'title' => 'Object级别合规保留策略的列表',
'description' => 'Object级别合规保留策略的列表',
'type' => 'array',
'items' => [
'title' => '保存合规保留策略规则的容器',
'description' => '保存合规保留策略规则的容器',
'type' => 'object',
'properties' => [
'Mode' => ['title' => 'Bucket对象级别保留策略模式。合法值:GOVERNANCE(治理模式)和COMPLIANCE(合规模式)', 'description' => 'Bucket对象级别保留策略模式。合法值:GOVERNANCE(治理模式)和COMPLIANCE(合规模式)', 'type' => 'string', 'example' => 'COMPLIANCE'],
'Days' => ['title' => 'Bucket对象级别保留策略天(最大36500),Days和Years只能出现一个', 'description' => 'Bucket对象级别保留策略天(最大36500),Days和Years只能出现一个', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Years' => ['title' => 'Bucket对象级别保留策略年(最大100),Days和Years只能出现一个', 'description' => 'Bucket对象级别保留策略年(最大100),Days和Years只能出现一个', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
],
],
],
],
'OutputSerialization' => [
'title' => 'A short description of struct',
'description' => '保存Select请求的容器。',
'type' => 'object',
'properties' => [
'CSV' => ['description' => '输出CSV的格式参数。', '$ref' => '#/components/schemas/CSVOutput'],
'JSON' => ['description' => '输出JSON的格式参数。', '$ref' => '#/components/schemas/JSONOutput'],
'KeepAllColumns' => [
'title' => 'description',
'description' => '指定返回结果中包含CSV所有列的位置(可选)。
默认值:false'."\n"
.'
仅在select语句里出现的列会有值,不出现的列则为空,返回结果中每一行的数据按照CSV列的顺序从低到高排列。'."\n"
.'例如以下语句:
'."\n"
.'`select _5, _1 from ossobject.`'."\n"
.'
如果KeepAllColumns = true,假设一共有6列数据,则返回以下数据:'."\n"
.'
`Value of 1st column,,,,Value of 5th column,\\n`',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
'OutputHeader' => [
'title' => 'description',
'description' => '在返回结果开头输出CSV头信息。'."\n"
.'
默认值:false',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
'OutputRawData' => [
'title' => 'description',
'description' => '指定输出数据为纯数据。'."\n"
."\n"
.'- 您在请求中指定OutputRawData值时,OSS服务端会按照请求中的要求返回数据。'."\n"
."\n"
.'- 您在请求中不指定OutputRawData值时,OSS服务端会自动选择一种格式返回。'."\n"
."\n"
.'- 当您显式地指定OutputRawData为True时,如果该SQL长时间内没有返回数据,则HTTP请求可能因没有数据返回而超时。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
'EnablePayloadCrc' => [
'title' => 'description',
'description' => '在每个Frame中会有一个32位的CRC32校验值。客户端可以计算相应payload的CRC32值进行数据完整性校验。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
],
],
'OverwriteConfiguration' => [
'title' => '保存禁止覆盖写配置列表的容器',
'description' => '禁止覆盖写的配置',
'type' => 'object',
'properties' => [
'Rule' => [
'title' => '保存单条禁止覆盖写规则的容器',
'description' => '保存单条禁止覆盖写规则的容器',
'type' => 'array',
'items' => [
'description' => '单个Bucket最多支持配置100条规则。',
'type' => 'object',
'properties' => [
'ID' => ['title' => '覆盖写规则ID', 'description' => '规则的唯一标识符。如果不填写,则会随机生成一个UUID来填充;如果填写,则必须为唯一值,即不同的Rule中不能设置相同的ID。', 'type' => 'string', 'example' => 'forbid-write-rule1'],
'Action' => ['title' => '覆盖写动作,当前只支持设置forbid', 'description' => '操作类型。当前只支持设置forbid(禁止覆盖写)。', 'type' => 'string', 'example' => 'forbid'],
'Prefix' => ['title' => '规则生效目录前缀', 'description' => 'Object名称的前缀,用于筛选需要处理的Object。最大长度为1023个字符。单个Rule中最多一个Prefix。前后缀不支持正则表达。', 'type' => 'string', 'example' => 'a/'],
'Suffix' => ['title' => '规则生效目录后缀', 'description' => 'Object名称的后缀,用于筛选需要处理的Object。最大长度为1023个字符。单个Rule中最多一个Suffix。前后缀不支持正则表达。', 'type' => 'string', 'example' => '.txt'],
'Principals' => [
'title' => '保存规则生效的账号与角色列表的容器',
'description' => '保存规则生效的账号与角色列表的容器',
'type' => 'object',
'properties' => [
'Principal' => [
'title' => '规则生效的账号与角色',
'description' => '规则生效的账号与角色列表。用法与Bucket Policy的Principal相仿,支持主账号、子账号或角色的输入。如果为空或不配置,则表明对于满足前后缀条件的Object,一律不允许覆盖写。',
'type' => 'array',
'items' => ['description' => '授权主体。支持主账号、子账号或角色的输入。如果值为空,则为无效设置。', 'type' => 'string', 'example' => '27737962156157xxxx'],
],
],
],
],
],
],
],
],
'Owner' => [
'title' => 'Container for the owner\'s display name and ID',
'description' => '保存Bucket拥有者信息的容器。'."\n",
'type' => 'object',
'properties' => [
'ID' => ['title' => 'The ID of the owner', 'description' => 'Bucket拥有者的用户ID。', 'type' => 'string', 'example' => 'ut_test_bucket'],
'DisplayName' => ['title' => 'The display name of the owner', 'description' => 'Bucket拥有者的名称 (目前和ID一致)。', 'type' => 'string', 'example' => 'ut_test_bucket'],
],
],
'Part' => [
'title' => 'A short description of struct',
'description' => '保存已上传Part信息的容器。'."\n",
'type' => 'object',
'properties' => [
'ETag' => ['title' => 'description', 'description' => 'Part成功上传后,OSS返回的ETag值。', 'type' => 'string', 'example' => '3349DC700140D7F86A0784842780****'],
'PartNumber' => ['title' => 'description', 'description' => 'Part数目。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Size' => ['title' => 'description', 'description' => '已上传Part大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '6291456'],
'LastModified' => ['title' => 'description', 'description' => 'Part上传的时间。'."\n", 'type' => 'string', 'format' => 'iso8601', 'example' => '2012-02-23T07:01:34.000Z'],
],
],
'PromoteDataLakeCacheReq' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'none', 'namespace' => 'Oss::2019-05-17', 'apiStyle' => 'restful'],
'components' => [
'schemas' => [
'PromoteDataLakeCacheReq' => [
'title' => '加速器缓存管理请求',
'description' => '加速器缓存管理请求',
'type' => 'object',
'properties' => [
'Object' => [
'title' => '要缓存的文件信息',
'type' => 'object',
'properties' => [
'ObjectName' => ['title' => '要缓存的文件名称', 'type' => 'string', 'example' => 'test.data'],
'Range' => ['title' => '要缓存的文件范围', 'type' => 'string', 'example' => '1024-2048'],
],
],
],
],
],
],
],
'PublicAccessBlockConfiguration' => [
'title' => '阻止公共访问的配置',
'description' => '阻止公共访问的配置。',
'type' => 'object',
'properties' => [
'BlockPublicAccess' => ['title' => '是否阻止公共访问', 'description' => '是否阻止公共访问。取值:'."\n"
.'- true:开启阻止公共访问。'."\n"
.'- false:关闭阻止公共访问。', 'type' => 'boolean', 'example' => 'true'],
],
],
'PutReplicationRule' => [
'title' => '保存数据复制规则的容器',
'description' => '数据复制规则',
'type' => 'object',
'properties' => [
'ID' => ['title' => '数据复制规则的唯一标识', 'description' => '数据复制规则的唯一标识', 'type' => 'string', 'example' => 'first-repl-rule'],
'PrefixSet' => ['title' => '要复制的目标Object名称前缀配置容器', 'description' => '要复制的目标Object名称前缀配置容器', '$ref' => '#/components/schemas/ReplicationPrefixSet'],
'Action' => ['title' => '指定可以被复制到目标Bucket的操作。如果配置了Action,则新写入的数据和历史数据的同步都会遵循Action指定的复制操作。 Action允许以下操作类型,您可以指定一项或多项。 取值: ALL(默认值):表示PUT、DELETE、ABORT操作均会被同步到目标Bucket。 PUT:表示被同步到目标Bucket的写入操作,包括PutObject、PostObject、AppendObject、CopyObject、PutObjectACL、InitiateMultipartUpload、UploadPart、UploadPartCopy、CompleteMultipartUpload。', 'description' => '指定可以被复制到目标Bucket的操作。如果配置了Action,则新写入的数据和历史数据的同步都会遵循Action指定的复制操作。 Action允许以下操作类型,您可以指定一项或多项。 取值: ALL(默认值):表示PUT、DELETE、ABORT操作均会被同步到目标Bucket。 PUT:表示被同步到目标Bucket的写入操作,包括PutObject、PostObject、AppendObject、CopyObject、PutObjectACL、InitiateMultipartUpload、UploadPart、UploadPartCopy、CompleteMultipartUpload。', 'type' => 'string', 'example' => 'ALL'],
'Destination' => ['title' => '保存目的Bucket信息的容器', 'description' => '保存目的Bucket信息的容器', '$ref' => '#/components/schemas/ReplicationDestination'],
'HistoricalObjectReplication' => [
'title' => '是否复制历史数据',
'description' => '是否复制历史数据',
'type' => 'string',
'example' => 'disabled',
'enum' => ['enabled', 'disabled'],
],
'SyncRole' => ['title' => '授权OSS使用哪个角色来进行数据复制。', 'description' => '授权OSS使用哪个角色来进行数据复制。', 'type' => 'string', 'example' => 'aliyunramrole'],
'SourceSelectionCriteria' => ['title' => '用于标识要复制的源对象的其他筛选条件的容器。', 'description' => '用于标识要复制的源对象的其他筛选条件的容器。', '$ref' => '#/components/schemas/ReplicationSourceSelectionCriteria'],
'EncryptionConfiguration' => ['title' => '目标对象加密配置。', 'description' => '目标对象加密配置。', '$ref' => '#/components/schemas/ReplicationEncryptionConfiguration'],
'RTC' => ['description' => '保存RTC配置规则的容器。', '$ref' => '#/components/schemas/RTC'],
],
],
'QoSConfiguration' => [
'title' => 'QoS配置信息',
'description' => '流控配额信息',
'type' => 'object',
'properties' => [
'TotalUploadBandwidth' => ['title' => '总上行带宽,单位Gbps', 'description' => '总上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'IntranetUploadBandwidth' => ['title' => '内网上行带宽,单位Gbps', 'description' => '内网上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ExtranetUploadBandwidth' => ['title' => '公网上行带宽,单位Gbps', 'description' => '公网上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'TotalDownloadBandwidth' => ['title' => '总下行带宽,单位Gbps', 'description' => '总下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'IntranetDownloadBandwidth' => ['title' => '内网下行带宽,单位Gbps', 'description' => '内网下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'ExtranetDownloadBandwidth' => ['title' => '公网下行带宽,单位Gbps', 'description' => '公网下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'TotalQps' => ['title' => '总QPS', 'description' => '总QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'IntranetQps' => ['title' => '内网QPS', 'description' => '内网QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'ExtranetQps' => ['title' => '公网QPS', 'description' => '公网QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
],
],
'QoSConfigurationWithRemark' => [
'title' => '带有备注信息的QoS配置信息',
'description' => '带有备注信息的QoS配置',
'type' => 'object',
'properties' => [
'TotalUploadBandwidth' => ['title' => '总上行带宽,单位Gbps', 'description' => '总上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'IntranetUploadBandwidth' => ['title' => '内网上行带宽,单位Gbps', 'description' => '内网上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ExtranetUploadBandwidth' => ['title' => '公网上行带宽,单位Gbps', 'description' => '公网上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'TotalDownloadBandwidth' => ['title' => '总下行带宽,单位Gbps', 'description' => '总下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'IntranetDownloadBandwidth' => ['title' => '内网下行带宽,单位Gbps', 'description' => '内网下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'ExtranetDownloadBandwidth' => ['title' => '公网下行带宽,单位Gbps', 'description' => '公网下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'TotalQps' => ['title' => '总QPS', 'description' => '总QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'IntranetQps' => ['title' => '内网QPS', 'description' => '内网QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'ExtranetQps' => ['title' => '公网QPS', 'description' => '公网QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'Remark' => ['title' => '备注', 'description' => '备注', 'type' => 'integer', 'format' => 'int64', 'example' => '备注'],
],
],
'RefererConfiguration' => [
'title' => '保存防盗链配置的容器',
'description' => '保存Referer配置内容的容器。',
'type' => 'object',
'properties' => [
'AllowEmptyReferer' => [
'title' => '是否允许Referer字段为空的请求访问',
'description' => '指定是否允许Referer字段为空的请求访问OSS。取值如下:'."\n"
."\n"
.'- true(默认值):允许Referer字段为空的请求访问OSS。'."\n"
.'- false:不允许Referer字段为空的请求访问OSS。',
'type' => 'boolean',
'required' => true,
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
'default' => 'true',
],
'AllowTruncateQueryString' => [
'title' => '匹配时是否截断请求参数',
'description' => '是否截断QueryString。'."\n"
."\n"
.'- true(默认值):截断QueryString。'."\n"
."\n"
.'- false:不截断QueryString。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
'TruncatePath' => [
'title' => '匹配时是否截断路径部分(即只匹配protocol://host/部分)',
'description' => '匹配时是否截断路径部分(即只匹配protocol://host/部分)。取值:'."\n"
."\n"
.'- true:截断URL中包括Path在内的后续所有部分。'."\n"
."\n"
.'- false:不截断URL中包括Path在内的后续所有部分。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
'RefererList' => [
'title' => '保存Referer访问白名单',
'description' => '保存Referer访问白名单的容器。'."\n"
.'> **说明**PutBucketReferer为覆盖语义,即RefererList中的新指定的白名单列表将覆盖已配置的白名单列表。当您上传的RefererList为空时(即不包含Referer请求元素),此操作将清空RefererList中已配置的白名单列表。'."\n",
'type' => 'object',
'properties' => [
'Referer' => [
'title' => '指定一条Referer访问白名单',
'description' => '指定一条Referer访问白名单。'."\n",
'type' => 'array',
'items' => ['description' => '指定一条Referer访问白名单。', 'type' => 'string', 'example' => 'http://www.aliyun.com'],
],
],
'required' => true,
],
'RefererBlacklist' => [
'title' => '保存Referer访问黑名单',
'description' => '保存Referer访问黑名单',
'type' => 'object',
'properties' => [
'Referer' => [
'title' => '指定一条Referer访问黑名单',
'description' => '指定一条Referer访问黑名单',
'type' => 'array',
'items' => ['description' => '指定一条Referer访问黑名单', 'type' => 'string', 'example' => 'https://www.abc.com'],
],
],
],
],
],
'RegionInfo' => [
'title' => 'A short description of struct',
'description' => '地域信息。',
'type' => 'object',
'properties' => [
'Region' => ['title' => 'region', 'description' => '地域ID。', 'type' => 'string', 'example' => 'oss-cn-hangzhou'],
'InternetEndpoint' => ['title' => 'internet endpoint', 'description' => '地域对应的外网Endpoint。', 'type' => 'string', 'example' => 'oss-cn-hangzhou.aliyuncs.com'],
'InternalEndpoint' => ['title' => 'internal endpoint', 'description' => '地域对应的内网Endpoint。', 'type' => 'string', 'example' => 'oss-cn-hangzhou-internal.aliyuncs.com'],
'AccelerateEndpoint' => ['title' => 'accelerate endpoint', 'description' => '地域对应的传输加速Endpoint。取值固定为oss-accelerate.aliyuncs.com。', 'type' => 'string', 'example' => 'oss-accelerate.aliyuncs.com'],
],
],
'ReplicationConfiguration' => [
'title' => '配置Bucket数据复制规则的容器。',
'description' => '数据复制配置信息。',
'type' => 'object',
'properties' => [
'Rule' => ['title' => '保存数据复制规则的容器。', 'description' => '保存数据复制规则的容器。', '$ref' => '#/components/schemas/PutReplicationRule'],
],
],
'ReplicationDestination' => [
'title' => '保存目标Bucket信息的容器。',
'description' => '保存目标Bucket信息的容器。',
'type' => 'object',
'properties' => [
'Bucket' => ['title' => '指定数据要复制到的目标Bucket。', 'description' => '指定数据要复制到的目标Bucket。'."\n", 'type' => 'string', 'example' => 'target-bucket'],
'Location' => [
'title' => '目标Bucket所处的地域。',
'description' => '目标Bucket所处的地域。'."\n",
'type' => 'string',
'enumValueTitles' => [],
'example' => 'oss-cn-beijing',
],
'TransferType' => [
'title' => '指定数据复制时使用的数据传输链路。 取值: internal(默认值):OSS默认传输链路。 oss_acc:传输加速链路。只有创建跨区域复制规则时才能使用传输加速链路。',
'description' => '指定数据复制时使用的数据传输链路。'."\n"
.'取值:'."\n"
.' - internal(默认值):OSS默认传输链路。'."\n"
.' - oss_acc:传输加速链路。只有创建跨区域复制规则时才能使用传输加速链路。'."\n",
'type' => 'string',
'enumValueTitles' => [],
'example' => 'oss_acc',
'enum' => ['internal', 'oss_acc'],
],
],
],
'ReplicationEncryptionConfiguration' => [
'title' => '目标对象加密配置。',
'description' => '目标对象加密配置。',
'type' => 'object',
'properties' => [
'ReplicaKmsKeyID' => ['title' => '指定SSE-KMS密钥ID。如果指定复制通过SSE-KMS加密创建的对象,则必须指定该元素。', 'description' => '指定SSE-KMS密钥ID。如果指定复制通过SSE-KMS加密创建的对象,则必须指定该元素。', 'type' => 'string', 'example' => 'c4d49f85-ee30-426b-a5ed-95e9139dxxxxx'],
],
],
'ReplicationPrefixSet' => [
'title' => '保存前缀(Prefix)的容器。每条数据复制规则中,最多可指定10条Prefix。',
'description' => '保存Prefix的容器,每个复制规则中,最多能指定10个Prefix。',
'type' => 'object',
'properties' => [
'Prefix' => [
'title' => '设置待复制Object的Prefix。只有匹配该Prefix的Object才被复制到目标Bucket。 Prefix最大长度为1023个字符。 如果配置了Prefix,则新写入的数据和历史数据的同步都会遵循Prefix指定的规则。',
'description' => '设置待复制Object的Prefix。只有匹配该Prefix的Object才被复制到目标Bucket。'."\n"
.' - Prefix最大长度为1023个字符。'."\n"
.' - 如果配置了Prefix,则新写入的数据和历史数据的同步都会遵循Prefix指定的规则。'."\n"
."\n",
'type' => 'array',
'items' => ['description' => '设置待复制Object的Prefix。只有匹配该Prefix的Object才被复制到目标Bucket。'."\n"
.' - Prefix最大长度为1023个字符。'."\n"
.' - 如果配置了Prefix,则新写入的数据和历史数据的同步都会遵循Prefix指定的规则。'."\n"
."\n", 'type' => 'string', 'example' => 'video'],
],
],
],
'ReplicationProgressRule' => [
'title' => '保存每个复制规则进度条目的容器。',
'description' => '数据复制进度信息',
'type' => 'object',
'properties' => [
'ID' => ['title' => '复制规则对应的ID。', 'description' => 'rule id', 'type' => 'string', 'example' => 'rep01'],
'PrefixSet' => ['title' => '保存Prefix 的容器,只有匹配该Prefix的Object才会被复制到目标Bucket。', 'description' => '保存Prefix 的容器,每个复制规则中,最多能指定10个Prefix。', '$ref' => '#/components/schemas/ReplicationPrefixSet'],
'Action' => [
'title' => '表示被同步到目标Bucket的操作。 Action允许以下操作类型,您可以指定一项或者多项。 ALL(默认操作):表示PUT、DELETE、ABORT操作均会被同步到目标Bucket。 PUT:表示被同步到目标Bucket的写入操作,包括PutObject、PostObject、AppendObject、CopyObject、PutObjectACL、 InitiateMultipartUpload 、 UploadPart、UploadPartCopy和CompleteMultipartUpload。',
'description' => '表示被同步到目标Bucket的操作。'."\n"
."\n"
.'Action允许以下操作类型,您可以指定一项或者多项。'."\n"
."\n"
.'ALL(默认操作):表示PUT、DELETE、ABORT操作均会被同步到目标Bucket。'."\n"
."\n"
.'PUT:表示被同步到目标Bucket的写入操作,包括PutObject、PostObject、AppendObject、CopyObject、PutObjectACL、 InitiateMultipartUpload 、 UploadPart、UploadPartCopy和CompleteMultipartUpload。',
'type' => 'string',
'enumValueTitles' => ['ALL' => 'PUT/DELETE/ABORT操作都会同步', 'PUT' => '仅同步写入类操作'],
'example' => 'PUT',
],
'Destination' => ['title' => '保存目标Bucket信息的容器。', 'description' => '保存目标Bucket信息的容器。', '$ref' => '#/components/schemas/ReplicationDestination'],
'Status' => ['title' => '表示复制状态。 取值: starting:设置数据复制规则后,OSS会为Bucket准备复制任务,此时的复制状态为starting。 doing:当数据复制规则生效后,即数据处于同步状态时,此时的复制状态为doing。 closing:删除数据复制规则后,OSS会自动完成清理工作,此时的复制状态为closing。', 'description' => '复制状态。', 'type' => 'string', 'example' => 'doing'],
'HistoricalObjectReplication' => [
'title' => '是否复制历史数据。即开启数据复制前,是否将源Bucket中的数据复制到目标Bucket。 取值: enabled(默认值):表示复制历史数据。 disabled:表示不复制历史数据,仅复制跨区域复制规则生效后新写入的数据。',
'description' => '是否复制历史数据。即开启数据复制前,是否将源Bucket中的数据复制到目标Bucket。'."\n"
."\n"
.'取值:'."\n"
."\n"
.'enabled(默认值):表示复制历史数据。'."\n"
."\n"
.'disabled:表示不复制历史数据,仅复制跨区域复制规则生效后新写入的数据。',
'type' => 'string',
'enumValueTitles' => ['disabled' => '不复制历史数据', 'enabled' => '复制历史数据'],
'example' => 'enabled',
],
'Progress' => [
'title' => '保存复制进度的容器,仅当数据处于同步状态(doing)时才返回此元素。',
'description' => '保存复制进度的容器,仅当数据处于同步状态(doing)时才返回此元素。',
'type' => 'object',
'properties' => [
'HistoricalObject' => ['title' => '显示已复制历史数据的百分比。仅对开启了历史数据复制的Bucket有效。', 'description' => '显示已复制历史数据的百分比。仅对开启了历史数据复制的Bucket有效。', 'type' => 'string', 'example' => '0.86'],
'NewObject' => ['title' => '显示数据复制到目标Bucket的时间点(GMT格式)。 例如Thu, 24 Sep 2015 15:39:18 GMT,表示早于该时间点写入的数据都已复制到目标Bucket。', 'description' => '显示数据复制到目标Bucket的时间点(GMT格式)。'."\n"
."\n"
.'例如Thu, 24 Sep 2015 15:39:18 GMT,表示早于该时间点写入的数据都已复制到目标Bucket。', 'type' => 'string', 'example' => 'Thu, 24 Sep 2015 15:39:18 GMT'],
],
],
],
],
'ReplicationRule' => [
'title' => '保存数据复制规则的容器',
'description' => '数据复制规则。',
'type' => 'object',
'properties' => [
'ID' => ['title' => '数据复制规则的唯一标识', 'description' => '请求规则对应的ID。', 'type' => 'string', 'example' => 'test_replication_1'],
'PrefixSet' => ['title' => '要复制的目标Object名称前缀配置容器', 'description' => '保存前缀(Prefix)的容器。每条数据复制规则中,最多可指定10条Prefix。'."\n", '$ref' => '#/components/schemas/ReplicationPrefixSet'],
'Action' => ['title' => '指定可以被复制到目标Bucket的操作。如果配置了Action,则新写入的数据和历史数据的同步都会遵循Action指定的复制操作。 Action允许以下操作类型,您可以指定一项或多项。 取值: ALL(默认值):表示PUT、DELETE、ABORT操作均会被同步到目标Bucket。 PUT:表示被同步到目标Bucket的写入操作,包括PutObject、PostObject、AppendObject、CopyObject、PutObjectACL、InitiateMultipartUpload、UploadPart、UploadPartCopy、CompleteMultipartUpload。', 'description' => '指定可以被复制到目标Bucket的操作。如果配置了Action,则新写入的数据和历史数据的同步都会遵循Action指定的复制操作。'."\n"
.'Action允许以下操作类型,您可以指定一项或多项。'."\n"
.'取值:'."\n"
.' - ALL(默认值):表示PUT、DELETE、ABORT操作均会被同步到目标Bucket。'."\n"
.' - PUT:表示被同步到目标Bucket的写入操作,包括PutObject、PostObject、AppendObject、CopyObject、PutObjectACL、InitiateMultipartUpload、UploadPart、UploadPartCopy、CompleteMultipartUpload。'."\n"
."\n", 'type' => 'string', 'example' => 'PUT'],
'Destination' => ['title' => '保存目的Bucket信息的容器', 'description' => '保存目标Bucket信息的容器。', '$ref' => '#/components/schemas/ReplicationDestination'],
'Status' => ['title' => '表示复制状态。 取值: starting:设置数据复制规则后,OSS会为Bucket准备复制任务,此时的复制状态为starting。 doing:当数据复制规则生效后,即数据处于同步状态时,此时的复制状态为doing。 closing:删除数据复制规则后,OSS会自动完成清理工作,此时的复制状态为closing。', 'description' => '表示复制状态。'."\n"
.'取值:'."\n"
.' - starting:设置数据复制规则后,OSS会为Bucket准备复制任务,此时的复制状态为starting。'."\n"
.' - doing:当数据复制规则生效后,即数据处于同步状态时,此时的复制状态为doing。'."\n"
.' - closing:删除数据复制规则后,OSS会自动完成清理工作,此时的复制状态为closing。'."\n", 'type' => 'string', 'example' => 'starting'],
'HistoricalObjectReplication' => [
'title' => '是否复制历史数据',
'description' => '指定是否复制历史数据。即开启数据复制前,是否将源Bucket中的数据复制到目标Bucket。'."\n"
.'取值:'."\n"
.' - enabled(默认值):表示复制历史数据。'."\n"
.' - disabled:表示不复制历史数据。即仅复制创建数据复制规则后新写入的数据。'."\n"
."\n",
'type' => 'string',
'example' => 'enabled',
'enum' => ['enabled', 'disabled'],
],
'SyncRole' => ['title' => '授权OSS使用哪个角色来进行数据复制。', 'description' => '授权OSS使用哪个角色来进行数据复制。如果指定使用SSE-KMS加密目标对象,则必须指定该元素。', 'type' => 'string', 'example' => 'aliyunramrole'],
'SourceSelectionCriteria' => ['title' => '用于标识要复制的源对象的其他筛选条件的容器。', 'description' => '用于标识要复制的源对象的其他筛选条件的容器。当前OSS仅支持针对SSE-KMS加密的源对象指定筛选条件。', '$ref' => '#/components/schemas/ReplicationSourceSelectionCriteria'],
'EncryptionConfiguration' => ['title' => '目标对象加密配置。', 'description' => '目标对象加密配置。如果指定Status为Enabled,则必须指定该元素。', '$ref' => '#/components/schemas/ReplicationEncryptionConfiguration'],
'RTC' => ['description' => '保存RTC配置规则的容器。', '$ref' => '#/components/schemas/RTC'],
],
],
'ReplicationRuleProgress' => [
'title' => 'A short description of struct',
'description' => '数据复制规则进度信息。',
'type' => 'object',
'properties' => [
'ID' => ['title' => 'id', 'description' => '复制规则对应的ID。', 'type' => 'string', 'example' => 'test_replication_rule_1'],
'PrefixSet' => ['description' => '保存Prefix 的容器,每个复制规则中,最多能指定10个Prefix。', '$ref' => '#/components/schemas/ReplicationPrefixSet'],
'Action' => ['title' => 'action', 'description' => '表示被同步到目标Bucket的操作。'."\n"
.'Action允许以下操作类型,您可以指定一项或者多项。'."\n"
."\n"
.'- ALL(默认操作):表示PUT、DELETE、ABORT操作均会被同步到目标Bucket。'."\n"
."\n"
.'- PUT:表示被同步到目标Bucket的写入操作,包括PutObject、PostObject、AppendObject、CopyObject、PutObjectACL、InitiateMultipartUpload 、 UploadPart、UploadPartCopy和CompleteMultipartUpload。', 'type' => 'string', 'example' => 'ALL'],
],
],
'ReplicationRules' => [
'title' => 'A short description of struct',
'description' => '保存需要删除的数据复制规则的容器。',
'type' => 'object',
'properties' => [
'ID' => [
'title' => 'the container of id',
'description' => '需要删除的复制规则对应的ID。规则ID可从GetBucketReplication中获取。',
'type' => 'array',
'items' => ['description' => '需要删除的复制规则对应的ID。规则ID可从GetBucketReplication中获取。', 'type' => 'string', 'example' => 'test_replication_1'],
],
],
],
'ReplicationSourceSelectionCriteria' => [
'title' => '用于标识要复制的源对象的其他筛选条件的容器。当前OSS仅支持针对SSE-KMS加密的源对象指定筛选条件。',
'description' => '用于标识要复制的源对象的其他筛选条件的容器。当前OSS仅支持针对SSE-KMS加密的源对象指定筛选条件。',
'type' => 'object',
'properties' => [
'SseKmsEncryptedObjects' => [
'title' => '用于筛选使用SSE-KMS加密对象的容器。如果在数据复制规则中指定了SourceSelectionCriteria,则必须指定该元素。',
'description' => '用于筛选使用SSE-KMS加密对象的容器。如果在数据复制规则中指定了SourceSelectionCriteria,则必须指定该元素。',
'type' => 'object',
'properties' => [
'Status' => [
'title' => '指定OSS是否复制通过SSE-KMS加密创建的对象。取值范围如下: Enabled:表示复制通过SSE-KMS加密创建的对象。 Disabled(默认值):表示不复制通过SSE-KMS加密创建的对象。',
'description' => '指定OSS是否复制通过SSE-KMS加密创建的对象。取值范围如下:'."\n"
.' - Enabled:表示复制通过SSE-KMS加密创建的对象。'."\n"
.' - Disabled:表示不复制通过SSE-KMS加密创建的对象。',
'type' => 'string',
'example' => 'Enabled',
'enum' => ['Enabled', 'Disabled'],
],
],
],
],
],
'RequesterQoSInfo' => [
'title' => '请求者QoS配置信息',
'description' => '保存请求者QoS配置信息的容器',
'type' => 'object',
'properties' => [
'Requester' => ['title' => '请求者ID', 'description' => '请求者ID', 'type' => 'string', 'example' => '21234567890090'],
'QoSConfiguration' => ['title' => '请求者QoS配置', 'description' => '请求者QoS配置', '$ref' => '#/components/schemas/QoSConfiguration'],
],
],
'RequestPaymentConfiguration' => [
'title' => 'A short description of struct',
'description' => '请求付费配置的容器。'."\n",
'type' => 'object',
'properties' => [
'Payer' => ['title' => 'description', 'description' => '指定Bucket付费类型。'."\n"
.'取值:'."\n"
."\n"
.'- BucketOwner:由Bucket拥有者付费。'."\n"
."\n"
.'- Requester:由请求者付费。', 'type' => 'string', 'example' => 'Requester'],
],
],
'ReservedCapacityCreateConfiguration' => [
'title' => '创建预留空间的配置',
'description' => '创建预留空间的配置',
'type' => 'object',
'properties' => [
'Name' => ['title' => '预留空间实例的名称', 'type' => 'string', 'example' => 'test-rc-01'],
'Region' => ['title' => '预留空间所属地域', 'type' => 'string', 'example' => 'oss-cn-hangzhou'],
'Capacity' => ['title' => '预留空间大小', 'type' => 'integer', 'format' => 'int64', 'example' => '11258999068426240'],
'DataRedundancyType' => ['title' => '预留空间冗余类型', 'type' => 'string', 'example' => 'LRS'],
'Years' => ['title' => '预留空间有效时长', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'ReservedCapacityRecord' => [
'title' => '保存预留空间信息的容器',
'description' => '创建预留空间的信息',
'type' => 'object',
'properties' => [
'Owner' => ['title' => '预留空间的所有者', '$ref' => '#/components/schemas/Owner'],
'ID' => ['title' => '预留空间的ID', 'type' => 'string', 'example' => 'c99797e7-510d-41e3-ac82-e851c17e1f5c'],
'Name' => ['title' => '预留空间的名称', 'type' => 'string', 'example' => 'test-rc-01'],
'Region' => ['title' => '预留空间所属地域', 'type' => 'string', 'example' => 'oss-cn-hangzhou'],
'Version' => ['title' => '预留空间版本', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Capacity' => ['title' => '预留空间容量', 'type' => 'integer', 'format' => 'int64', 'example' => '11258999068426240'],
'CreateTime' => ['title' => '创建时间时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1733822455'],
'LastModifyTime' => ['title' => '最后一次修改时间时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1733822455'],
'LastExpansionCapacity' => ['title' => '最后一次扩展容量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'ExpansionTime' => ['title' => '最后一次扩展时间', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'DueTime' => ['title' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Years' => ['title' => '有效时长', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'FirstTimeEnabled' => ['title' => '最后一次生效时间', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Status' => ['title' => '当前状态', 'type' => 'string', 'example' => 'Init'],
'DataRedundancyType' => ['title' => '冗余类型', 'type' => 'string', 'example' => 'LRS'],
],
],
'ReservedCapacityRecordList' => [
'title' => '预留空间列表',
'description' => '创建预留空间的信息',
'type' => 'object',
'properties' => [
'ReservedCapacityRecord' => [
'title' => '保存预留空间列表的容器',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/ReservedCapacityRecord'],
],
],
],
'ReservedCapacityUpdateConfiguration' => [
'title' => '修改预留空间配置信息的请求内容',
'description' => '修改预留空间配置的请求',
'type' => 'object',
'properties' => [
'Capacity' => ['title' => '预留空间大小', 'type' => 'integer', 'format' => 'int64', 'example' => '11258999068426240'],
'Years' => ['title' => '预留空间有效市场', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Status' => ['title' => '预留空间状态', 'type' => 'string', 'example' => 'Init'],
],
],
'ResourceGroupId' => ['title' => 'Bucket所属的资源组ID', 'description' => '指定资源组ID。'."\n"
."\n"
.'- 如果在请求中携带该请求头并指定资源组ID,则OSS会返回属于该资源组的所有Bucket。当指定的资源组ID为rg-default-id时,OSS会返回属于默认资源组的所有Bucket。'."\n"
.'- 如果在请求中携带了该请求头但未指定资源组ID,则OSS会返回属于默认资源组的所有Bucket。'."\n"
.'- 如果在请求中未携带该请求头,则OSS会返回请求者拥有的所有Bucket。您可以通过资源管理的控制台或ListResourceGroups接口获取资源组ID。'."\n"
."\n"
.'您可以通过资源管理的控制台或ListResourceGroups接口获取资源组ID。具体操作,请分别参见[查看资源组基本信息](~~151181~~)和[ListResourceGroups](~~158855~~)。', 'type' => 'string', 'example' => 'rg-aekz****'],
'ResourcePoolBucket' => [
'title' => '资源池中存储空间的信息',
'description' => '资源池中Bucket的信息',
'type' => 'object',
'properties' => [
'Name' => ['title' => '存储空间的名称', 'description' => '存储空间的名称', 'type' => 'string', 'example' => 'test-bucket'],
'JoinTime' => ['title' => '存储空间加入到资源池的时间', 'description' => '存储空间加入到资源池的时间', 'type' => 'string', 'format' => 'iso8601', 'example' => '2024-07-24T08:42:32.000Z'],
],
],
'ResourcePoolSimpleInfo' => [
'title' => '用户资源池简略信息',
'description' => '用户资源池简略信息',
'type' => 'object',
'properties' => [
'Name' => ['title' => '资源池名称', 'description' => '资源池名称', 'type' => 'string', 'example' => 'rp-for-api'],
'CreateTime' => ['title' => '资源池创建时间', 'description' => '资源池创建时间', 'type' => 'string', 'example' => '2024-07-24T08:42:32.000Z'],
],
],
'ResponseHeaderConfiguration' => [
'title' => '保存响应头规则的容器',
'description' => '保存响应头规则的容器',
'type' => 'object',
'properties' => [
'Rule' => [
'title' => '响应头规则',
'description' => '响应头规则列表',
'type' => 'array',
'items' => [
'description' => '保存响应头规则的容器',
'type' => 'object',
'properties' => [
'Name' => ['title' => '规则名称', 'description' => '规则名称', 'type' => 'string', 'example' => 'hiddenHeader'],
'Filters' => [
'title' => '指定规则适应的操作的容器',
'description' => '指定规则适应的操作的容器',
'type' => 'object',
'properties' => [
'Operation' => [
'title' => '适用于哪些操作',
'description' => '适用操作列表',
'type' => 'array',
'items' => ['description' => '适用操作名称', 'type' => 'string', 'example' => 'GetObject'],
],
],
],
'HideHeaders' => [
'title' => '指定隐藏哪些响应头的容器',
'description' => '指定隐藏哪些响应头的容器',
'type' => 'object',
'properties' => [
'Header' => [
'title' => '隐藏的响应头',
'description' => '隐藏的响应头列表',
'type' => 'array',
'items' => ['description' => '隐藏的响应头名称', 'type' => 'string', 'example' => 'LastModifiedTime'],
],
],
],
],
],
],
],
],
'RestoreRequest' => [
'title' => 'A short description of struct',
'description' => '解冻请求信息。',
'type' => 'object',
'properties' => [
'Days' => ['title' => 'description', 'description' => '解冻的天数。取值范围为1~7天。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'JobParameters' => [
'title' => 'description',
'description' => '解冻优先级的容器。只有解冻冷归档类型的Object时才生效。'."\n"
.'如果不传入JobParameters节点,则解冻优先级默认为Standard。'."\n",
'type' => 'object',
'properties' => [
'Tier' => ['title' => 'description', 'description' => '解冻优先级。取值范围如下:'."\n"
.' - 高优先级(Expedited):表示1小时内完成解冻。'."\n"
.' - 标准(Standard):表示2~5小时内完成解冻。'."\n"
.' - 批量(Bulk):表示5~12小时内完成解冻。'."\n", 'type' => 'string', 'example' => 'Standard'],
],
],
],
],
'Retention' => [
'title' => '保存Object对象级别保留策略的容器。',
'description' => '保存Object对象级别保留策略的容器。',
'type' => 'object',
'properties' => [
'Mode' => ['title' => 'Object对象级别保留策略模式', 'description' => 'Object对象级别保留策略模式', 'type' => 'string', 'example' => 'COMPLIANCE'],
'RetainUntilDate' => ['title' => 'Object对象级别保留策略绝对日期,时间要大于当前时间。', 'description' => 'Object对象级别保留策略绝对日期,时间要大于当前时间。', 'type' => 'string', 'example' => '2026-10-11T00:00:00.000Z'],
],
],
'RoutingRule' => [
'title' => 'A short description of struct',
'description' => '指定跳转规则或者镜像回源规则,最多指定20个RoutingRule。'."\n",
'type' => 'object',
'properties' => [
'RuleNumber' => ['title' => 'description', 'description' => '匹配和执行RoutingRule的序号,OSS将按照此序号依次匹配规则。如果匹配成功,则执行此规则,后续的规则不再执行。'."\n"
."\n"
.'>如果指定了父节点RoutingRule,则必须指定此项。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Condition' => ['title' => 'description', 'description' => '匹配的条件。'."\n"
.'如果指定的项都满足,则执行此规则。只有满足此容器下的各个节点的所有条件才算匹配。'."\n"
.'>如果指定了父节点RoutingRule,则必须指定此项。', '$ref' => '#/components/schemas/RoutingRuleCondition'],
'Redirect' => ['title' => 'description', 'description' => '指定匹配此规则后执行的动作。'."\n"
.'>如果指定了父节点RoutingRule,则必须指定此项。', '$ref' => '#/components/schemas/RoutingRuleRedirect'],
],
],
'RoutingRuleCondition' => [
'title' => '保存该规则需要匹配的条件。',
'description' => '匹配的条件。'."\n"
.'如果指定的项都满足,则执行此规则。只有满足此容器下的各个节点的所有条件才算匹配。'."\n"
.'>如果指定了父节点RoutingRule,则必须指定此项。',
'type' => 'object',
'properties' => [
'KeyPrefixEquals' => ['title' => '只有匹配此前缀的Object才能匹配此规则。', 'description' => '只有匹配此前缀的Object才能匹配此规则。'."\n", 'type' => 'string', 'example' => 'abc'],
'KeySuffixEquals' => ['title' => '只有匹配此后缀的Object才能匹配此规则。', 'description' => '只有匹配此后缀的Object才能匹配此规则。', 'type' => 'string', 'example' => '.txt'],
'HttpErrorCodeReturnedEquals' => ['title' => '访问指定Object时,返回此status才能匹配此规则。当跳转规则是镜像回源类型时,此字段必须为404。', 'description' => '访问指定Object时,返回此status才能匹配此规则。当跳转规则是镜像回源类型时,此字段必须为404。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '404'],
'IncludeHeader' => [
'title' => '只有请求中包含了指定Header且值为指定值时,才能匹配此规则。该容器最多可指定10个。',
'description' => '只有请求中包含了指定Header且值为指定值时,才能匹配此规则。该容器最多可指定10个。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['title' => '只有请求中包含了此Header且值为Equals的指定值时,才能匹配此规则。', 'description' => '只有请求中包含了此Header且值满足条件,才能匹配此规则。', 'type' => 'string', 'example' => 'test-header'],
'Equals' => ['title' => '只有请求中包含了Key指定的Header且值为指定值时,才能匹配此规则。', 'description' => '只有请求中包含了Key指定的Header且值为指定值时,才能匹配此规则。', 'type' => 'string', 'example' => 'test-value'],
],
'description' => '',
],
],
],
],
'RoutingRuleLuaConfig' => [
'title' => '需要执行的Lua脚本配置。',
'description' => '需要执行的Lua脚本配置。',
'type' => 'object',
'properties' => [
'Script' => ['title' => 'Lua脚本名称。', 'description' => 'Lua脚本名称。', 'type' => 'string', 'example' => 'test.lua'],
],
],
'RoutingRuleRedirect' => [
'title' => 'A short description of struct',
'description' => '指定匹配此规则后执行的动作。'."\n"
.'>如果指定了父节点RoutingRule,则必须指定此项。',
'type' => 'object',
'properties' => [
'RedirectType' => ['title' => '指定跳转的类型。', 'description' => '指定跳转的类型。取值范围如下:'."\n"
.' - **Mirror**:镜像回源。'."\n"
.' - **External**:外部跳转,即OSS会返回一个3xx请求,指定跳转到另外一个地址。'."\n"
.' - **AliCDN**:阿里云CDN跳转,主要用于阿里云的CDN。与External不同的是,OSS会额外添加一个Header。阿里云CDN识别到此Header后会主动跳转到指定的地址,返回给用户获取到的数据,而不是将3xx跳转请求返回给用户。'."\n"
."\n"
.'>如果指定了父节点Redirect,则必须指定此项。', 'type' => 'string', 'example' => 'Mirror'],
'PassQueryString' => [
'title' => '执行跳转或者镜像回源规则时,是否携带请求参数。',
'description' => '执行跳转或者镜像回源规则时,是否携带请求参数。'."\n"
.'用户请求OSS时携带了请求参数`?a=b&c=d`,并且设置**PassQueryString**为true,如果规则为302跳转,则跳转的Location头中会添加此请求参数。例如`Location:example.com?a=b&c=d`,跳转类型为镜像回源,则在发起的回源请求中也会携带此请求参数。'."\n"
.'取值:true、false(默认)'."\n",
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
'MirrorURL' => [
'title' => '镜像回源的源站地址。只有设置RedirectType为Mirror时才生效。 源站地址必须以http://或者https://开头,并且以正斜线(/)结尾,OSS会在此地址后带上Object名称组成回源URL。',
'description' => '镜像回源的源站地址。只有设置RedirectType为Mirror时才生效。'."\n"
.'源站地址必须以**http://**或者**https://**开头,并且以正斜线(/)结尾,OSS会在此地址后带上Object名称组成回源URL。'."\n"
.'例如要访问的Object名称为myobject,如果指定此项为`http://example.com/`,则回源URL为`http://example.com/myobject`,如果指定此项为`http://example.com/dir1/`,则回源URL为`http://example.com/dir1/myobject`。'."\n"
.'>如果RedirectType指定为Mirror,则必须指定此项。',
'type' => 'string',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'http://example.com',
],
'MirrorSNI' => ['title' => '是否透传SNI', 'description' => '是否透传SNI', 'type' => 'boolean', 'example' => 'true'],
'MirrorPassQueryString' => [
'title' => '与PassQueryString作用相同,优先级高于PassQueryString。只有设置RedirectType为Mirror时才生效。',
'description' => '与PassQueryString作用相同,优先级高于PassQueryString。只有设置RedirectType为Mirror时才生效。'."\n"
.'默认值:false'."\n",
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
'MirrorFollowRedirect' => [
'title' => '如果镜像回源获取的结果为3xx,是否继续跳转到指定的Location获取数据。 只有设置RedirectType为Mirror时才生效。',
'description' => '如果镜像回源获取的结果为3xx,是否继续跳转到指定的Location获取数据。 只有设置RedirectType为Mirror时才生效。'."\n"
.'例如发起镜像回源请求时,源站返回了302,并且指定了Location。'."\n"
.' - 如果设置此项为true,则OSS会继续请求Location对应的地址。'."\n"
.'最多能跳转10次,如果跳转超过10次,则返回镜像回源失败。'."\n"
.' - 如果设置此项为false,则OSS会返回302,并透传Location。'."\n"
."\n"
.'默认值:true'."\n",
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
'MirrorCheckMd5' => [
'title' => '是否检查回源body的MD5。 只有设置RedirectType为Mirror时才生效。',
'description' => '是否检查回源body的MD5。 只有设置RedirectType为Mirror时才生效。'."\n"
.'当设置**MirrorCheckMd5**为true,并且源站返回的response中含有Content-Md5头时,OSS检查拉取的数据MD5是否与此Header匹配,如果不匹配,则不保存在OSS上。'."\n"
.'默认值:false',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
'MirrorHeaders' => [
'title' => '指定镜像回源时携带的Header。只有设置RedirectType为Mirror时才生效。',
'description' => '指定镜像回源时携带的Header。只有设置RedirectType为Mirror时才生效。'."\n",
'type' => 'object',
'properties' => [
'PassAll' => [
'title' => '是否透传除以下Header之外的其他Header到源站。只有设置RedirectType为Mirror时才生效。 content-length、authorization2、authorization、range、date等Header 以oss-/x-oss-/x-drs-开头的Header',
'description' => ' 是否透传除以下Header之外的其他Header到源站。只有设置RedirectType为Mirror时才生效。'."\n"
.' - content-length、authorization2、authorization、range、date等Header'."\n"
.' - 以oss-/x-oss-/x-drs-开头的Header'."\n"
."\n"
.'默认值:false'."\n",
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
'Pass' => [
'title' => '透传指定的Header到源站。只有设置RedirectType为Mirror时才生效。每个Header长度最多为1024个字节,字符集为0~9、A~Z、a~z以及短划线(-)。',
'description' => '透传指定的Header到源站。只有设置RedirectType为Mirror时才生效。'."\n"
.'每个Header长度最多为1024个字节,字符集为0~9、A~Z、a~z以及短划线(-)。'."\n"
.'此字段最多可指定10个。'."\n",
'type' => 'array',
'items' => ['description' => '透传指定的Header到源站。只有设置RedirectType为Mirror时才生效。'."\n"
.'每个Header长度最多为1024个字节,字符集为0~9、A~Z、a~z以及短划线(-)。'."\n"
.'此字段最多可指定10个。'."\n", 'type' => 'string', 'example' => 'myheader-key1'],
],
'Remove' => [
'title' => '禁止透传指定的Header到源站。只有设置RedirectType为Mirror时才生效。每个Header长度最多为1024个字节,字符集为0~9、A~Z、a~z以及短划线(-)。',
'description' => '禁止透传指定的Header到源站。只有设置RedirectType为Mirror时才生效。'."\n"
.'每个Header长度最多为1024个字节,字符集与Pass相同。'."\n"
.'此字段最多可指定10个,通常与PassAll一起使用。'."\n",
'type' => 'array',
'items' => ['description' => '禁止透传指定的Header到源站。只有设置RedirectType为Mirror时才生效。'."\n"
.'每个Header长度最多为1024个字节,字符集与Pass相同。'."\n"
.'此字段最多可指定10个,通常与PassAll一起使用。'."\n", 'type' => 'string', 'example' => 'myheader-key3'],
],
'Set' => [
'title' => '设置一个Header传到源站,不管请求中是否携带这些指定的Header,回源时都会设置这些Header。只有设置RedirectType为Mirror时才生效。',
'description' => '设置一个Header传到源站,不管请求中是否携带这些指定的Header,回源时都会设置这些Header。只有设置RedirectType为Mirror时才生效。'."\n"
.'此容器最多可指定10组。'."\n",
'type' => 'array',
'items' => [
'description' => '设置一个Header传到源站,不管请求中是否携带这些指定的Header,回源时都会设置这些Header。只有设置RedirectType为Mirror时才生效。'."\n"
.'此容器最多可指定10组。'."\n",
'type' => 'object',
'properties' => [
'Key' => ['title' => '设置Header的key,最多1024个字节,字符集与Pass相同。只有设置RedirectType为Mirror时才生效。', 'description' => '设置Header的key,最多1024个字节,字符集与Pass相同。只有设置RedirectType为Mirror时才生效。'."\n"
.'>若指定了父节点Set,则必须指定此项。', 'type' => 'string', 'example' => 'myheader-key5'],
'Value' => ['title' => '设置Header的value,最多1024个字节,不能出现\\r\\n。只有设置RedirectType为Mirror时才生效。', 'description' => '设置Header的value,最多1024个字节,不能出现`\\r\\n`。只有设置RedirectType为Mirror时才生效。'."\n"
.'>若指定了父节点Set,则必须指定此项。', 'type' => 'string', 'example' => 'myheader-value5'],
],
],
],
],
],
'Protocol' => ['title' => '跳转时的协议。只有设置RedirectType为External或者AliCDN时才生效。', 'description' => '跳转时的协议。只有设置RedirectType为External或者AliCDN时才生效。'."\n"
.'如果要访问的文件为test,设置跳转到`example.com`,并且设置Protocol为https,则Location头为`https://example.com/test`。'."\n"
.'取值:**http**、**https**。'."\n", 'type' => 'string', 'example' => 'http'],
'HostName' => ['title' => '跳转时的域名,域名需符合域名规范。', 'description' => '跳转时的域名,域名需符合域名规范。'."\n"
.'如果要访问的文件为test,设置Protocol为https,并且设置Hostname为`example.com`,则Location头为`https://example.com/test`。'."\n", 'type' => 'string', 'example' => 'example.com'],
'ReplaceKeyPrefixWith' => ['title' => 'Redirect时Object名称的前缀将替换成该值。如果前缀为空,则将这个字符串插入Object名称的前面。', 'description' => 'Redirect时Object名称的前缀将替换成该值。如果前缀为空,则将这个字符串插入Object名称的前面。'."\n"
.'> 仅允许存在ReplaceKeyWith或ReplaceKeyPrefixWith节点。'."\n"
.'假设要访问的Object为abc/test.txt,如果设置KeyPrefixEquals为abc/,ReplaceKeyPrefixWith为def/,则Location头为`http://example.com/def/test.txt`。'."\n", 'type' => 'string', 'example' => 'def/'],
'EnableReplacePrefix' => [
'title' => '如果设置此字段为true,则Object的前缀将被替换为ReplaceKeyPrefixWith指定的值。如果未指定此字段或为空,则表示截断Object前缀。',
'description' => '如果设置此字段为true,则Object的前缀将被替换为ReplaceKeyPrefixWith指定的值。如果未指定此字段或为空,则表示截断Object前缀。'."\n"
.'> 当ReplaceKeyWith字段不为空时,不能设置此字段为true。'."\n"
."\n"
.'默认值:false'."\n",
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
'ReplaceKeyWith' => ['title' => 'Redirect时Object名称将替换成ReplaceKeyWith指定的值,ReplaceKeyWith支持设置变量。目前支持的变量为${key},表示该请求中的Object名称。', 'description' => 'Redirect时Object名称将替换成ReplaceKeyWith指定的值,ReplaceKeyWith支持设置变量。目前支持的变量为${key},表示该请求中的Object名称。'."\n"
.'假设要访问的Object为test,如果设置ReplaceKeyWith为`prefix/${key}.suffix`,则Location头为`http://example.com/prefix/test.suffix`。'."\n", 'type' => 'string', 'example' => 'prefix/${key}.suffix'],
'HttpRedirectCode' => ['title' => '跳转时返回的状态码。只有设置RedirectType为External或者AliCDN时才生效。', 'description' => '跳转时返回的状态码。只有设置RedirectType为External或者AliCDN时才生效。'."\n"
.'取值:301(默认)、302、307。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '301'],
'MirrorPassOriginalSlashes' => ['title' => '是否透传/到源站', 'description' => '是否透传/到源站', 'type' => 'boolean', 'example' => 'false'],
],
],
'RTC' => [
'title' => '数据复制时间控制功能的状态',
'description' => '数据复制时间控制功能的状态',
'type' => 'object',
'properties' => [
'Status' => [
'title' => '是否开启复制时间控制(RTC)功能',
'description' => '是否开启复制时间控制(RTC)功能',
'type' => 'string',
'enumValueTitles' => ['disabled' => '关闭RTC功能', 'enabled' => '开启RTC功能'],
'example' => 'Enabled',
],
],
],
'RtcConfiguration' => [
'title' => '数据复制时间控制配置容器。',
'description' => '数据复制时间控制配置容器。',
'type' => 'object',
'properties' => [
'RTC' => ['description' => '保存RTC状态规则的容器。', '$ref' => '#/components/schemas/RTC'],
'ID' => ['title' => '需要设置RTC状态的复制规则ID。', 'description' => '需要设置RTC状态的复制规则ID。', 'type' => 'string', 'example' => 'test_replication_rule_1'],
],
],
'SelectMetaRequest' => [
'title' => 'A short description of struct',
'description' => '保存SelectMetaRequest信息的容器。',
'type' => 'object',
'properties' => [
'InputSerialization' => ['description' => '输入序列化参数(可选)。', '$ref' => '#/components/schemas/InputSerialization'],
'OverwriteIfExists' => [
'title' => 'description',
'description' => '重新计算SelectMeta,覆盖已有数据。'."\n"
.'
默认值:false(即如果Select Meta已存在则直接返回)。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
],
],
'SelectMetaStatus' => [
'title' => 'A short description of struct',
'description' => '保存CreateSelectObjectMeta信息的容器。',
'type' => 'object',
'properties' => [
'Offset' => ['title' => 'description', 'description' => '8位整数,扫描结束时的文件偏移。', 'type' => 'integer', 'format' => 'int64', 'example' => '0x0000000000000065'],
'TotalScannedBytes' => ['title' => 'description', 'description' => '8位整数,最终扫描过的数据大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '0x0000000000000065'],
'Status' => ['title' => 'description', 'description' => '4位整数,最终的status。', 'type' => 'integer', 'format' => 'int64', 'example' => '0x000000c8'],
'SplitsCount' => ['title' => 'description', 'description' => '4位整数,总split个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0x00000001'],
'RowsCount' => ['title' => 'description', 'description' => '8位整数,总行数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0x0000000000000003'],
'ColsCount' => ['title' => 'description', 'description' => '4位整数,总列数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0x00000004'],
'ErrorMessage' => ['title' => 'description', 'description' => '详细的错误信息。如果无错误,则error_message为空。', 'type' => 'string', 'example' => 'The body size in select request exceeds the max allowed size.'],
],
],
'SelectProcess' => ['description' => 'SelectObject可选的x-oss-process参数', 'type' => 'string', 'example' => 'csv/select'],
'SelectRequest' => [
'title' => 'A short description of struct',
'description' => '保存Select请求的容器。',
'type' => 'object',
'properties' => [
'Expression' => ['title' => 'description', 'description' => '以Base64 编码的SQL语句。', 'type' => 'string', 'example' => 'c2VsZWN0IGNvdW50KCopIGZyb20gb3Nzb2JqZWN0IHdoZXJlIF80ID4gNDU='],
'InputSerialization' => ['description' => '输入序列化参数。', '$ref' => '#/components/schemas/InputSerialization'],
'OutputSerialization' => ['description' => '输出序列化参数。', '$ref' => '#/components/schemas/OutputSerialization'],
'Options' => ['description' => '其他可选参数。', '$ref' => '#/components/schemas/SelectRequestOptions'],
],
],
'SelectRequestOptions' => [
'title' => 'A short description of struct',
'description' => '保存Select请求的容器。',
'type' => 'object',
'properties' => [
'SkipPartialDataRecord' => [
'title' => 'description',
'description' => '忽略缺失数据的行。'."\n"
."\n"
.'- 当该参数为false时,OSS会忽略缺失某些列(该列值当做null)而不报错。'."\n"
."\n"
.'- 当该参数为true时,该行数据因为不完整而被整体跳过。当跳过的行数超过指定的最大跳过行数时OSS会报错并停止处理。',
'type' => 'boolean',
'enumValueTitles' => ['false' => 'false', 'true' => 'true'],
'example' => 'false',
],
'MaxSkippedRecordsAllowed' => ['title' => 'description', 'description' => '指定最大能容忍的跳过的行数。当某一行数据因为不匹配SQL中期望的类型、或者某一列或者多列数据缺失且SkipPartialDataRecord为True时,该行数据会被跳过。如果跳过的行数超过该参数的值,OSS会停止处理并报错。'."\n"
.'
默认值:0'."\n"
."\n"
.'> 如果某一行是非法CSV行,例如在一列中间连续含有奇数个quote字符,则OSS会马上停止处理并报错,因为该错误很可能会影响对整个CSV文件的解析。即该参数用来调整对非整齐数据的容忍度,但不应用于非法的CSV文件。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'ServerSideEncryptionRule' => [
'title' => 'A short description of struct',
'description' => '服务器端加密规则的容器。'."\n",
'type' => 'object',
'properties' => [
'ApplyServerSideEncryptionByDefault' => ['description' => '服务器端默认加密方式的容器。'."\n", '$ref' => '#/components/schemas/ApplyServerSideEncryptionByDefault'],
],
],
'SSEKMS' => [
'title' => '保存SSE-KMS加密密钥的容器。',
'description' => '保存SSE-KMS加密密钥的容器。'."\n"
."\n",
'type' => 'object',
'properties' => [
'KeyId' => ['title' => 'KMS密钥ID。', 'description' => 'KMS密钥ID。', 'type' => 'string', 'example' => '9468da86-3509-4f8d-a61e-6eab1eac****'],
],
],
'SSEOSS' => ['title' => '使用OSS完全托管密钥进行加解密,则需要有该字段,并将值设置为空字符串。', 'description' => '使用OSS完全托管密钥进行加解密。', 'type' => 'string', 'example' => 'SSE-OSS'],
'StorageClass' => [
'title' => 'The storage class of a bucket.',
'description' => 'Bucket的存储类型。 取值范围如下:'."\n"
."\n"
.'- Standard(默认):标准存储'."\n"
.'- IA:低频访问'."\n"
.'- Archive:归档存储'."\n"
.'- ColdArchive:冷归档存储'."\n"
.'- DeepColdArchive:深度冷归档存储',
'type' => 'string',
'enumValueTitles' => ['Archive' => 'Archive', 'ColdArchive' => 'ColdArchive', 'IA' => 'IA', 'Standard' => 'Standard'],
'example' => 'Standard',
'default' => 'Standard',
'enum' => ['Standard', 'IA', 'Archive', 'ColdArchive', 'DeepColdArchive'],
],
'Style' => [
'title' => 'A short description of struct',
'description' => '保存Content信息列表的容器。',
'type' => 'object',
'properties' => [
'Content' => ['title' => '样式内容', 'description' => '图片样式内容,图片样式可以包含一个或多个图片处理操作。'."\n"
."\n"
.'- 包含单个图片处理操作的图片样式,例如image/resize,p_50,表示将原图缩放50%。'."\n"
."\n"
.'- 包含多个图片处理操作的图片样式,例如image/resize,p_63/quality,q_90,表示先将图片缩放到原图的63%,再设置图片相对质量为90%。', 'type' => 'string', 'example' => 'image/resize,p_50'],
],
],
'StyleInfo' => [
'title' => '保存单个样式信息的容器。',
'description' => '包含存储空间图片处理样式信息的结构体',
'type' => 'object',
'properties' => [
'Name' => ['title' => '样式名称', 'description' => '样式名称', 'type' => 'string', 'example' => 'imagestyle'],
'Content' => ['title' => '图片样式内容', 'description' => '样式内容', 'type' => 'string', 'example' => 'image/resize,p_50'],
'CreateTime' => ['title' => '样式创建时间', 'description' => '样式创建时间', 'type' => 'string', 'example' => 'Wed, 20 May 2020 12:07:15 GMT'],
'LastModifyTime' => ['title' => '样式创建时间', 'description' => '样式创建时间', 'type' => 'string', 'example' => 'Wed, 21 May 2020 12:07:15 GMT'],
'Category' => ['title' => '样式分类。 取值:image、document、video。', 'description' => '样式分类。 取值:image、document、video。', 'type' => 'string', 'example' => 'image'],
],
],
'Tag' => [
'title' => '标签键值对',
'description' => '设置Bucket Tag的容器。'."\n",
'type' => 'object',
'properties' => [
'Key' => ['title' => 'key', 'description' => '指定Bucket Tag的Key。'."\n"
."\n"
.'> - 最大长度为64字节。'."\n"
.'> - 不能以`http ://`、`https://`、`Aliyun`为前缀。'."\n"
.'> - 必须为UTF-8编码。'."\n"
.'> - 不能为空。', 'type' => 'string', 'required' => true, 'example' => 'testb'],
'Value' => ['title' => 'value', 'description' => '指定Bucket Tag的Value。'."\n"
.' > - 最大长度为128字节。'."\n"
.' > - 必须为UTF-8编码。'."\n"
.' > - 可以为空。', 'type' => 'string', 'example' => 'testv2'],
],
],
'Tagging' => [
'title' => 'A short description of struct',
'description' => '设置Bucket TagSet的容器。'."\n",
'type' => 'object',
'properties' => [
'TagSet' => ['title' => 'the container of tags', 'description' => '包含一系列Bucket Tag的容器。'."\n", 'required' => false, '$ref' => '#/components/schemas/TagSet'],
],
],
'TagSet' => [
'title' => 'A short description of struct',
'description' => '标签集合。',
'type' => 'object',
'properties' => [
'Tag' => [
'title' => 'A short description of struct',
'description' => '标签集合。',
'type' => 'array',
'items' => ['description' => '标签集合。', '$ref' => '#/components/schemas/Tag'],
],
],
],
'TransferAccelerationConfiguration' => [
'title' => 'A short description of struct',
'description' => '传输加速配置的容器。',
'type' => 'object',
'properties' => [
'Enabled' => [
'title' => '是否开启传输加速',
'description' => '目标Bucket是否开启传输加速。取值如下:'."\n"
.' - **true**:开启传输加速。'."\n"
.' - **false**:关闭传输加速。'."\n"
."\n"
.'> 传输加速开启及关闭操作在30分钟内生效。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
],
],
'Upload' => [
'title' => 'A short description of struct',
'description' => '保存Multipart Upload事件信息的容器。',
'type' => 'object',
'properties' => [
'Key' => ['title' => 'description', 'description' => '初始化Multipart Upload事件的Object名称。'."\n"
."\n\n"
."\n"
.'> OSS的返回结果按照Object名称字典序升序排列,对于同一个Object,则按照UploadId的字典序升序排列。', 'type' => 'string', 'example' => 'multipart.data'],
'UploadId' => ['title' => 'description', 'description' => 'Multipart Upload事件的ID。'."\n", 'type' => 'string', 'example' => '0004B999EF5A239BB9138C6227D6****'],
'Initiated' => ['title' => 'description', 'description' => 'Multipart Upload事件初始化的时间。'."\n", 'type' => 'string', 'format' => 'iso8601', 'example' => '2012-02-23T04:18:23.000Z'],
],
],
'UserAntiDDOSInfo' => [
'title' => 'A short description of struct',
'description' => '高防实例信息。',
'type' => 'object',
'properties' => [
'InstanceId' => ['title' => '拥有者的UID', 'description' => '高防实例ID。', 'type' => 'string', 'example' => 'cbcac8d2-4f75-4d6d-9f2e-c3447f73****'],
'Owner' => ['title' => '拥有者的UID', 'description' => '高防实例拥有者的UID。', 'type' => 'string', 'example' => '114893010724****'],
'Ctime' => ['title' => '高防实例创建时间', 'description' => '高防实例创建时间,格式为时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1626769503'],
'Mtime' => ['title' => '高防实例更新时间', 'description' => '高防实例更新时间,格式为时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1626769840'],
'ActiveTime' => ['title' => '高防实例激活时间', 'description' => '高防实例激活时间,格式为时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1626769845'],
'Status' => ['title' => '高防实的状态', 'description' => '高防实例所处状态。'."\n"
."\n"
.'- Init:初始化防护状态。'."\n"
."\n"
.'- Defending:防护中状态。'."\n"
."\n"
.'- HaltDefending:解除防护状态。', 'type' => 'string', 'example' => 'Defending'],
],
],
'UserDefinedLogFieldsConfiguration' => [
'title' => '用户自定义日志配置信息的容器。',
'description' => '存储空间实时日志中用户自定义字段配置。',
'type' => 'object',
'properties' => [
'HeaderSet' => [
'title' => '自定义请求头配置信息的容器。',
'description' => '自定义请求头配置信息的容器。',
'type' => 'object',
'properties' => [
'header' => [
'title' => '自定义请求头列表',
'description' => '自定义请求头列表。',
'type' => 'array',
'items' => ['description' => '自定义请求头信息。', 'type' => 'string', 'example' => 'header1'],
],
],
],
'ParamSet' => [
'title' => '自定义URL参数配置信息的容器。',
'description' => '自定义查询参数配置信息的容器。',
'type' => 'object',
'properties' => [
'parameter' => [
'title' => '自定义URL参数列表',
'description' => '自定义查询参数列表。',
'type' => 'array',
'items' => ['description' => '自定义查询参数信息。', 'type' => 'string', 'example' => 'param1'],
'example' => 'my-param',
],
],
],
],
],
'UserQosConfiguration' => [
'title' => '用户级别QoS配置信息',
'description' => '用户级别流控配额',
'type' => 'object',
'properties' => [
'TotalUploadBandwidth' => ['title' => '总上行带宽,单位Gbps', 'description' => '总上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'IntranetUploadBandwidth' => ['title' => '内网上行带宽,单位Gbps', 'description' => '内网上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ExtranetUploadBandwidth' => ['title' => '公网上行带宽,单位Gbps', 'description' => '公网上行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'TotalDownloadBandwidth' => ['title' => '总下行带宽,单位Gbps', 'description' => '总下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'IntranetDownloadBandwidth' => ['title' => '内网下行带宽,单位Gbps', 'description' => '内网下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'ExtranetDownloadBandwidth' => ['title' => '公网下行带宽,单位Gbps', 'description' => '公网下行带宽,单位Gbps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'TotalQps' => ['title' => '总QPS', 'description' => '总QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'IntranetQps' => ['title' => '内网QPS', 'description' => '内网QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'ExtranetQps' => ['title' => '公网QPS', 'description' => '公网QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '20000'],
'Remark' => ['title' => '备注', 'description' => '备注', 'type' => 'integer', 'format' => 'int64', 'example' => '备注'],
'Region' => ['title' => '所在区域', 'description' => '所在区域', 'type' => 'string', 'example' => 'oss-cn-shanghai'],
'DefaultQoSConfiguration' => ['title' => '用户级别默认QoS配置信息', 'description' => '用户级别默认QoS配置信息', '$ref' => '#/components/schemas/QoSConfigurationWithRemark'],
],
],
'VersioningConfiguration' => [
'title' => 'Describes the versioning state of a OSS bucket',
'description' => '保存版本控制状态的容器。',
'type' => 'object',
'properties' => [
'Status' => [
'description' => '版本控制状态。取值如下:'."\n"
."\n"
.'- Enabled:开启版本控制状态。'."\n"
."\n"
.'- Suspended:暂停版本控制状态。',
'enumValueTitles' => ['Enabled' => 'Enabled', 'Suspended' => 'Suspended'],
'example' => 'Enabled',
'$ref' => '#/components/schemas/BucketVersioningStatus',
],
],
],
'VirtualBucket' => [
'title' => '存储空间配置信息',
'type' => 'object',
'properties' => [
'Name' => ['title' => '虚拟存储空间的名称', 'type' => 'string', 'example' => 'virtual-bucket'],
'RealBucket' => [
'title' => '虚拟存储空间关联的真实存储空间列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['title' => '关联的真实存储空间名称', 'type' => 'string', 'example' => 'real-bucket'],
'Status' => ['title' => '关联的真实存储空间状态', 'type' => 'string', 'example' => 'ok'],
],
],
],
],
],
'VirtualBucketConfiguration' => [
'title' => '保存虚拟存储空间配置信息的容器',
'description' => '虚拟Bucket配置',
'type' => 'object',
'properties' => [
'RealBucket' => [
'title' => '关联的真实的存储空间列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['title' => '关联的真实存储空间名称', 'type' => 'string', 'example' => 'realbucket-1'],
],
],
],
],
],
'VpcId' => ['title' => 'VPC ID', 'description' => 'VPC ID', 'type' => 'string', 'example' => 'vpc-t4nlw426y44rd3iq4****'],
'WebsiteConfiguration' => [
'title' => '静态网站托管配置与跳转规则。',
'description' => '根节点。',
'type' => 'object',
'properties' => [
'IndexDocument' => ['title' => '保存默认主页配置的容器。', 'description' => '默认主页的容器。'."\n"
."\n"
.'>至少指定IndexDocument、ErrorDocument、RoutingRules三个容器中的一个。', '$ref' => '#/components/schemas/IndexDocument'],
'ErrorDocument' => ['title' => '保存错误页面配置的容器。', 'description' => '404页面的容器。'."\n"
."\n"
.'>至少指定IndexDocument、ErrorDocument、RoutingRules三个容器中的一个。', '$ref' => '#/components/schemas/ErrorDocument'],
'RoutingRules' => [
'title' => '保存跳转规则或镜像回源规则的容器。',
'description' => 'RoutingRule的容器。'."\n"
."\n"
.'>至少指定IndexDocument、ErrorDocument、RoutingRules三个容器中的一个。',
'type' => 'object',
'properties' => [
'RoutingRule' => [
'title' => '指定跳转规则或者镜像回源规则,最多指定20个RoutingRule。',
'description' => '指定跳转规则或者镜像回源规则,最多指定20个RoutingRule。'."\n",
'type' => 'array',
'items' => ['description' => '指定跳转规则或者镜像回源规则,最多指定20个RoutingRule。'."\n", '$ref' => '#/components/schemas/RoutingRule'],
],
],
],
],
],
],
],
'apis' => [
'AbortBucketWorm' => [
'summary' => '删除指定存储空间(Bucket)未锁定的合规保留策略。',
'path' => '/?worm',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [],
'4xx' => [],
'5xx' => [],
],
'title' => '删除未锁定的合规保留策略',
'description' => '当基于时间的合规保留策略创建后,该策略默认处于InProgress状态,且该状态的有效期为24小时。在有效期24小时内,此策略对应的Bucket数据处于保护状态。'."\n"
."\n"
.'- 启动合规保留策略24小时内:若此策略未提交锁定,则Bucket所有者以及授权用户可以删除此策略;若该保留策略已提交锁定,则不允许删除此策略,且无法缩短策略保护周期,仅可以延长保护周期。'."\n"
."\n"
.'- 启动合规保留策略24小时后:若超过24小时该保留策略未提交锁定,则该策略自动失效。'."\n"
."\n"
.'
如果Bucket内有文件处于保护周期内,那么您将无法删除合规保留策略,同时也无法删除Bucket。当Bucket为空时,Bucket的所有者可以删除该Bucket,从而间接删除该Bucket的保留策略。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:AbortBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'AbortMultipartUpload' => [
'path' => '/{key}',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'oss-example'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject.txt'],
],
[
'name' => 'uploadId',
'in' => 'query',
'schema' => ['description' => '此次MultipartUpload事件的唯一标识。', 'type' => 'string', 'required' => true, 'example' => '0004B9895DBBB6E****'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '取消分片上传事件并删除数据块数据',
'summary' => '用于取消MultipartUpload事件并删除对应的Part数据。',
'description' => '**注意事项**'."\n"
."\n"
.'- 您需要提供MultipartUpload事件相应的uploadId。'."\n"
.'- 取消一个MultipartUpload事件过程中,如果所属的某些Part仍然在上传,那么此次取消操作将无法删除这些Part。'."\n"
.'- 取消一个MultipartUpload事件后,您无法再使用此uploadId做任何操作,已经上传的Part数据也会被删除。'."\n"
.'- 建议您及时完成分片上传或者取消分片上传,因为已上传但是未完成或未取消的分片会占用存储空间进而产生存储费用。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:AbortMultipartUpload',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'AppendObject' => [
'path' => '/{key}?append',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/octet-stream'],
'produces' => ['application/xml'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'position',
'in' => 'query',
'schema' => ['description' => '用于指定从何处进行追加。 每次操作成功后,响应消息头x-oss-next-append-position会标明下一次追加的position。首次追加操作的position必须为0,后续追加操作的position是Object的当前大小。例如,第一次AppendObject请求指定position值为0,content-length是65536,则第二次AppendObject需要指定position为65536。'."\n"
."\n"
.'- 当position值为0,且不存在同名Object时,则AppendObject与PutObject请求类似,即允许设置x-oss-server-side-encryption等请求头。如果加入了正确的x-oss-server-side-encryption头,那么后续的AppendObject响应头部也会包含x-oss-server-side-encryption头。后续如需更改元数据,可以使用CopyObject接口。'."\n"
.'- 在position值正确的情况下,对已存在的Appendable Object追加一个大小为0的内容,该操作不会改变Object的状态。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '0'],
],
[
'name' => 'x-oss-server-side-encryption',
'in' => 'header',
'schema' => ['description' => '指定服务器端加密方式。'."\n"
.'合法值:'."\n"
."\n"
.'- AES256:使用OSS完全托管密钥进行加解密(SSE-OSS)。'."\n"
.'- KMS:使用KMS托管密钥进行加解密。'."\n"
.'- SM4:国密SM4算法。', 'type' => 'string', 'required' => false, 'example' => 'AES256'],
],
[
'name' => 'x-oss-object-acl',
'in' => 'header',
'schema' => ['description' => '指定Object的访问权限。 取值范围如下:'."\n"
."\n"
.'- default(默认):Object遵循所在存储空间的访问权限。'."\n"
.'- private:Object是私有资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户没有权限操作该Object。'."\n"
.'- public-read:Object是公共读资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户只有该Object的读权限。请谨慎使用该权限。'."\n"
.'- public-read-write:Object是公共读写资源。所有用户都有该Object的读写权限。请谨慎使用该权限。'."\n"
."\n"
.'关于访问权限的更多信息,请参见[读写权限ACL](~~100676~~)。', 'required' => false, '$ref' => '#/components/schemas/ObjectACL'],
],
[
'name' => 'x-oss-storage-class',
'in' => 'header',
'schema' => ['description' => '指定Object的存储类型。取值范围如下:'."\n"
."\n"
.'- Standard:标准存储'."\n"
.'- IA:低频访问'."\n"
.'- Archive:归档存储'."\n"
.'对于任意存储类型的Bucket,如果上传Object时指定此参数,则此次上传的Object将存储为指定的类型。例如在IA类型的Bucket中上传Object时,如果指定x-oss-storage-class为Standard,则该Object直接存储为Standard。'."\n"
.'关于存储类型的更多信息,请参见存储类型介绍。'."\n"
."\n"
.'> 该值仅在首次执行AppendObject操作时有效,后续追加时不生效。', 'required' => false, '$ref' => '#/components/schemas/StorageClass'],
],
[
'name' => 'x-oss-meta-*',
'in' => 'header',
'schema' => [
'description' => '创建AppendObject时可以添加x-oss-meta-*,继续追加时不可以携带此参数。如果配置以x-oss-meta-*为前缀的参数,则该参数视为元数据。'."\n"
.'元数据大小限制:一个Object可以包含多个元数据,但所有的元数据总大小不能超过8 KB。'."\n"
.'元数据命名规则:支持短划线(-)、数字、英文字母(a~z)。英文字符的大写字母会被转成小写字母,不支持下划线(_)在内的其他字符。',
'type' => 'object',
'required' => false,
'additionalProperties' => ['type' => 'string', 'example' => 'x-oss-meta-location', 'description' => '创建AppendObject时可以添加x-oss-meta-*,继续追加时不可以携带此参数。如果配置以x-oss-meta-*为前缀的参数,则该参数视为元数据。'."\n"
.'元数据大小限制:一个Object可以包含多个元数据,但所有的元数据总大小不能超过8 KB。'."\n"
.'元数据命名规则:支持短划线(-)、数字、英文字母(a~z)。英文字符的大写字母会被转成小写字母,不支持下划线(_)在内的其他字符。'],
'example' => 'x-oss-meta-location',
],
],
[
'name' => 'Cache-Control',
'in' => 'header',
'schema' => ['description' => '指定该Object的网页缓存行为。更多信息,请参见**[RFC2616](https://www.ietf.org/rfc/rfc2616.txt)**。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'no-cache'],
],
[
'name' => 'Content-Disposition',
'in' => 'header',
'schema' => ['description' => '指定该Object被下载时的名称。更多信息,请参见**[RFC2616](https://www.ietf.org/rfc/rfc2616.txt)**。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'attachment;filename=oss_download.jpg'],
],
[
'name' => 'Content-Encoding',
'in' => 'header',
'schema' => ['description' => '指定该Object的内容编码格式。更多信息,请参见**[RFC2616](https://www.ietf.org/rfc/rfc2616.txt)**。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'utf-8'],
],
[
'name' => 'Content-MD5',
'in' => 'header',
'schema' => ['description' => '是一串由MD5算法生成的值,该请求头用于检查消息内容是否与发送时一致。'."\n"
.'获取Content-MD5值:对消息内容(不包括头部)执行MD5算法,获得128比特位数字,然后对该数字进行base64编码。'."\n"
.'默认值:无'."\n"
.'限制:无', 'type' => 'string', 'required' => false, 'example' => 'ohhnqLBJFiKkPSBO1eNaUA=='],
],
[
'name' => 'Expires',
'in' => 'header',
'schema' => ['description' => '过期时间。更多信息,请参见**[RFC2616](https://www.ietf.org/rfc/rfc2616.txt)**。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'Wed, 08 Jul 2015 16:57:01 GMT'],
],
[
'name' => 'body',
'in' => 'body',
'schema' => ['description' => '请求体。', 'type' => 'string', 'format' => 'binary', 'required' => false, 'example' => '二进制内容'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-next-append-position' => [
'schema' => ['sdkPropertyName' => 'nextAppendPosition', 'type' => 'integer', 'format' => 'int64'],
],
'x-oss-hash-crc64ecma' => [
'schema' => ['sdkPropertyName' => 'crc64', 'type' => 'string'],
],
],
],
'5XX' => [],
],
'title' => '以追加写的方式上传文件',
'summary' => '以追加写的方式上传文件(Object)。',
'description' => '**版本控制**'."\n"
."\n"
.'在目标Bucket处于开启或暂停版本控制状态下,对Appendable类型Object执行相关操作时,有如下注意事项:'."\n"
.'- 仅允许对当前版本为Appendable类型的Object执行追加上传(AppendObject)操作,且OSS不会为该Appendable类型的Object生成历史版本。'."\n"
.'- 对当前版本为Appendable类型的Object执行PutObject或DeleteObject操作时,OSS会将该Appendable类型的Object保留为历史版本,但该Object不允许继续追加。'."\n"
.'- 不支持对Appendable类型Object执行拷贝操作。'."\n"
.'- 不支持对非Appendable类型的Object,包括Normal Object、删除标记(Delete Marker)等执行AppendObject操作。'."\n"
."\n"
.'**使用限制**'."\n"
."\n"
.'- 通过AppendObject方式最后生成的Object大小不得超过5 GB。'."\n"
.'- 处于[合规保留策略](~~90564~~)保护期的Object不支持AppendObject操作。'."\n"
.'- AppendableObject不支持指定CMK ID进行服务端KMS加密。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:PutObjectTagging'],
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'CloseMetaQuery' => [
'path' => '/?metaQuery&comp=delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '关闭存储空间元数据管理',
'summary' => '关闭存储空间(Bucket)的元数据管理功能。OSS会自动删除Bucket的元数据索引库,将无法进行元数据索引。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:CloseMetaQuery',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'CompleteBucketWorm' => [
'path' => '/',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'wormId',
'in' => 'query',
'schema' => ['title' => 'The ID of the retention policy', 'description' => '合规保留策略的ID。', 'type' => 'string', 'required' => true, 'example' => '1666E2CFB2B3418****'],
],
],
'responses' => [
200 => [],
'4xx' => [],
'5xx' => [],
],
'title' => '锁定合规保留策略',
'summary' => '调用CompleteBucketWorm接口锁定合规保留策略。',
'description' => '当基于时间的合规保留策略创建后,此策略默认处于InProgress状态,且该状态的有效期为24小时。在有效期24小时内,此策略对应的Bucket数据处于保护状态。'."\n"
."\n"
.'- 启动合规保留策略24小时内:若此策略未提交锁定,则Bucket所有者以及授权用户可以删除此策略;若此保留策略已提交锁定,则不允许删除此策略,且无法缩短策略保护周期,仅可以延长保护周期。'."\n"
."\n"
.'- 启动合规保留策略24小时后:若超过24小时此保留策略未提交锁定,则此策略自动失效。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:CompleteBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'CompleteMultipartUpload' => [
'path' => '/{key}',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject.txt'],
],
[
'name' => 'uploadId',
'in' => 'query',
'schema' => ['description' => '此次MultipartUpload事件的唯一标识。', 'type' => 'string', 'required' => true, 'example' => '0004B9895DBBB6E****'],
],
[
'name' => 'encoding-type',
'in' => 'query',
'schema' => ['description' => '指定对返回的Key进行编码,目前只支持URL编码。'."\n"
."\n\n"
.'Key使用UTF-8字符,但XML 1.0标准不支持解析一些控制字符,例如ASCII码值从0到10的字符。当Key中包含XML 1.0标准不支持的控制字符时,您可以通过指定Encoding-type对返回的Key进行编码。'."\n"
."\n"
.'默认值:无'."\n"
."\n"
.'有效值:url', 'required' => false, '$ref' => '#/components/schemas/EncodeType'],
],
[
'name' => 'x-oss-forbid-overwrite',
'in' => 'header',
'schema' => ['description' => '指定CompleteMultipartUpload操作时是否覆盖同名Object。'."\n"
."\n"
.'- 不指定x-oss-forbid-overwrite或者指定x-oss-forbid-overwrite为false时,表示允许覆盖同名Object。'."\n"
.'- 指定x-oss-forbid-overwrite为true时,表示禁止覆盖同名Object。'."\n"
."\n"
.'> '."\n"
.'- 当目标Bucket的版本控制状态为“开启”或“暂停”时,x-oss-forbid-overwrite请求Header设置无效,即允许覆盖同名Object。'."\n"
.'- 设置x-oss-forbid-overwrite请求Header会导致QPS处理性能下降,如果您有大量的操作需要使用x-oss-forbid-overwrite请求Header(QPS > 1000),请工单联系我们进行确认,避免影响您的业务。', 'type' => 'string', 'required' => false, 'example' => 'true'],
],
[
'name' => 'x-oss-complete-all',
'in' => 'header',
'schema' => ['description' => '指定是否列举当前UploadId已上传的所有Part。'."\n"
."\n"
.'- 如果指定了x-oss-complete-all:yes,则OSS会列举当前UploadId已上传的所有Part,然后按照PartNumber的序号排序并执行CompleteMultipartUpload操作。执行CompleteMultipartUpload过程中无法检测正在上传或者漏传的Part,因此用户需要自己确保Part的完整性。'."\n"
.'- 如果指定了x-oss-complete-all:yes,则不允许继续指定body,否则报错。'."\n"
.'- 如果指定了x-oss-complete-all:yes,response的格式保持不变。', 'type' => 'string', 'required' => false, 'example' => 'yes'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存CompleteMultipartUpload请求内容的请求体。',
'type' => 'object',
'properties' => [
'CompleteMultipartUpload' => ['description' => '保存CompleteMultipartUpload请求内容的容器。', 'required' => false, '$ref' => '#/components/schemas/CompleteMultipartUpload'],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-version-id' => [
'schema' => ['title' => '文件版本id', 'type' => 'string'],
],
],
'schema' => [
'description' => '保存CompleteMultipartUpload请求结果的响应体。',
'type' => 'object',
'properties' => [
'CompleteMultipartUploadResult' => [
'description' => '保存CompleteMultipartUpload请求响应内容的容器。',
'type' => 'object',
'properties' => [
'EncodingType' => ['description' => '是否对返回的key进行编码。', 'type' => 'string', 'example' => 'url'],
'Location' => ['description' => '新创建Object的URL。', 'type' => 'string', 'example' => 'http://oss-example.oss-cn-hangzhou.aliyuncs.com/multipart.data'],
'Bucket' => ['description' => 'Bucket名称。', 'type' => 'string', 'example' => 'example-bucket'],
'Key' => ['description' => '新创建Object的名字。', 'type' => 'string', 'example' => 'multipart.data'],
'ETag' => ['description' => 'Object生成时会创建相应的ETag ,ETag用于标识一个Object的内容。'."\n"
."\n"
.'通过CompleteMultipartUpload请求创建的Object,ETag值是基于一定计算规则生成的唯一值,但不是其内容的MD5值。'."\n"
."\n"
.'>ETag值可以用于检查Object内容是否发生变化。不建议使用ETag作为Object内容的MD5来校验数据完整性。', 'type' => 'string', 'example' => '"B864DB6A936D376F9F8D3ED3BBE540****"'],
],
],
],
],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '完成整个文件的分片上传',
'summary' => '来完成整个文件的分片上传。',
'description' => '**注意事项**'."\n"
."\n\n"
.'调用CompleteMultipartUpload操作时,用户必须提供所有有效的Part列表(包括PartNumber和ETag)。OSS收到用户提交的Part列表后,会逐一验证每个Part的有效性。当所有的Part验证通过后,OSS将把这些Part组合成一个完整的Object。'."\n"
.'- 确认Part的大小:CompleteMultipartUpload时会确认除最后一个Part以外所有Part的大小是否都大于或等于100 KB,并检查用户提交的Part列表中的每一个PartNumber和ETag。所以在上传Part时,客户端除了需要记录Part号码外,还需要记录每次上传Part成功后服务器返回的ETag值。'."\n"
."\n"
.'- 处理请求:由于OSS处理CompleteMultipartUpload请求时会持续一定的时间。在这段时间内,如果客户端与OSS之间连接中断,OSS仍会继续该请求。'."\n"
."\n"
.'- PartNumber:服务端在调用CompleteMultipartUpload接口时会对PartNumber做校验。'."\n"
.'PartNumber取值为1~10000。PartNumber可以不连续,但必须升序排列。例如第一个Part的PartNumber是1,第二个Part的PartNumber可以是5。'."\n"
."\n"
.'- UploadId:同一个Object可以同时拥有不同的UploadId,当Complete一个UploadId后,此UploadId将无效,但该Object的其他UploadId不受影响。'."\n"
."\n"
.'- x-oss-server-side-encryption请求头:如果调用InitiateMultipartUpload接口时,指定了x-oss-server-side-encryption请求头,则在CompleteMultipartUpload的响应头中返回x-oss-server-side-encryption,其值表示该Object的服务器端加密算法。'."\n"
."\n"
.'**版本控制**'."\n"
."\n"
.'在开启版本控制的情况下,调用CompleteMultipartUpload接口来完成整个文件的MultipartUpload,OSS会为整个文件生成唯一的版本ID,并在响应header中以x-oss-version-id的形式返回。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:34.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n url\\n http://oss-example.oss-cn-hangzhou.aliyuncs.com/multipart.data\\n example-bucket\\n multipart.data\\n \\"B864DB6A936D376F9F8D3ED3BBE540****\\"\\n","type":"xml"}]',
],
'CopyObject' => [
'path' => '/{key}',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'oss-example'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject.txt'],
],
[
'name' => 'x-oss-copy-source',
'in' => 'header',
'schema' => ['description' => '指定拷贝的源地址。'."\n"
.'默认值:无', 'type' => 'string', 'required' => true, 'example' => '/oss-example/oss.jpg'],
],
[
'name' => 'x-oss-forbid-overwrite',
'in' => 'header',
'schema' => ['description' => '指定CopyObject操作时是否覆盖同名目标Object。当目标Bucket处于已开启或已暂停版本控制状态时,**x-oss-forbid-overwrite**请求Header设置无效,即允许覆盖同名Object。'."\n"
.' - 未指定**x-oss-forbid-overwrite**或者指定**x-oss-forbid-overwrite**为**false**时,表示允许覆盖同名目标Object。'."\n"
.' - 指定**x-oss-forbid-overwrite**为**true**时,表示禁止覆盖同名Object。'."\n"
."\n"
.'设置**x-oss-forbid-overwrite**请求Header会导致QPS处理性能下降,如果您有大量的操作需要使用x-**x-oss-forbid-overwrite**请求Header(QPS>1000),请联系技术支持,避免影响您的业务。'."\n"
.'默认值:false', 'type' => 'string', 'required' => false, 'example' => 'true'],
],
[
'name' => 'x-oss-copy-source-if-match',
'in' => 'header',
'schema' => ['description' => '如果源Object的ETag值和您提供的ETag相等,则执行拷贝操作,并返回200 OK。'."\n"
.'默认值:无'."\n", 'type' => 'string', 'required' => false, 'example' => '5B3C1A2E053D763E1B002CC607C5****'],
],
[
'name' => 'x-oss-copy-source-if-none-match',
'in' => 'header',
'schema' => ['description' => '如果源Object的ETag值和您提供的ETag不相等,则执行拷贝操作,并返回200 OK。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => '5B3C1A2E053D763E1B002CC607C5****'],
],
[
'name' => 'x-oss-copy-source-if-unmodified-since',
'in' => 'header',
'schema' => ['description' => '如果指定的时间等于或者晚于文件实际修改时间,则正常拷贝文件,并返回200 OK。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => '2019-04-09T07:01:56.000Z'],
],
[
'name' => 'x-oss-copy-source-if-modified-since',
'in' => 'header',
'schema' => ['description' => '如果源Object在用户指定的时间以后被修改过,则执行拷贝操作。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => '2019-04-09T07:01:56.000Z'],
],
[
'name' => 'x-oss-metadata-directive',
'in' => 'header',
'schema' => ['description' => '指定如何设置目标Object的元信息。'."\n"
.' - **COPY**(默认值):复制源Object的元数据到目标Object。'."\n"
.'OSS不会复制源Object的**x-oss-server-side-encryption**属性配置到目标Object。目标Object的服务器端加密编码方式取决于当前拷贝操作是否指定了**x-oss-server-side-encryption**。'."\n"
.' - **REPLACE**:忽略源Object的元数据,直接采用请求中指定的元数据。'."\n"
."\n"
.'> 如果拷贝操作的源Object地址和目标Object地址相同,且未开启版本控制时,则无论x-oss-metadata-directive为何值,都会忽略源Object的元数据,目标Object将直接采用请求中指定的元数据。', 'type' => 'string', 'required' => false, 'example' => 'COPY'],
],
[
'name' => 'x-oss-server-side-encryption',
'in' => 'header',
'schema' => ['description' => '指定OSS创建目标Object时,服务器端熵编码加密算法 。'."\n"
.'取值:**AES256**、**KMS**'."\n"
.'您只有购买了KMS套件,才能使用KMS加密算法,否则OSS会返回KmsServiceNotEnabled错误。'."\n"
.' - 如果拷贝操作中未指定**x-oss-server-side-encryption**,则无论源Object是否进行过服务器端加密编码,拷贝后的目标Object均不进行服务器端加密编码。'."\n"
.' - 如果拷贝操作中指定了**x-oss-server-side-encryption**,则无论源Object是否进行过服务器端加密编码,拷贝后的目标Object均会进行服务器端加密编码。并且拷贝操作的响应头中会包含**x-oss-server-side-encryption**,值为目标Object的加密算法。'."\n"
.'在目标Object被下载时,响应头中也会包含**x-oss-server-side-encryption**,值为该Object的加密算法。', 'type' => 'string', 'required' => false, 'example' => 'AES256'],
],
[
'name' => 'x-oss-server-side-data-encryption',
'in' => 'header',
'schema' => ['description' => '指定Object的加密算法。如果未指定此选项,表明Object使用AES256加密算法。此选项仅当x-oss-server-side-encryption为KMS时有效。', 'type' => 'string', 'required' => false, 'example' => 'SM4'],
],
[
'name' => 'x-oss-server-side-encryption-key-id',
'in' => 'header',
'schema' => ['description' => '表示KMS托管的用户主密钥。'."\n"
.'该参数仅在**x-oss-server-side-encryption**为KMS时有效。', 'type' => 'string', 'required' => false, 'example' => '9468da86-3509-4f8d-a61e-6eab1eac****'],
],
[
'name' => 'x-oss-object-acl',
'in' => 'header',
'schema' => ['description' => '指定OSS创建目标Object时的访问权限。'."\n"
."\n"
.'取值:'."\n"
."\n"
.'- default(默认):Object遵循所在存储空间的访问权限。'."\n"
.'- private:Object是私有资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户没有权限操作该Object。'."\n"
.'- public-read:Object是公共读资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户只有该Object的读权限。请谨慎使用该权限。'."\n"
.'- public-read-write:Object是公共读写资源。所有用户都有该Object的读写权限。请谨慎使用该权限。'."\n"
."\n"
.'关于访问权限的更多信息,请参见**[读写权限ACL](~~100676~~)**。', 'required' => false, '$ref' => '#/components/schemas/ObjectACL'],
],
[
'name' => 'x-oss-storage-class',
'in' => 'header',
'schema' => ['description' => '指定Object的存储类型。'."\n"
.'对于任意存储类型Bucket,如果上传Object时指定该值,则此次上传的Object将存储为指定的类型。例如在IA类型的Bucket中上传Object时,如果指定**x-oss-storage-class**为Standard,则该Object直接存储为Standard类型。'."\n"
."\n"
.'取值:'."\n"
.'- Standard:标准存储'."\n"
.'- IA:低频访问'."\n"
.'- Archive:归档存储'."\n"
.'- ColdArchive:冷归档存储'."\n"
."\n"
.'关于存储类型的更多信息,请参见**[存储类型介绍](~~51374~~)**。', 'required' => false, '$ref' => '#/components/schemas/StorageClass'],
],
[
'name' => 'x-oss-tagging',
'in' => 'header',
'schema' => ['description' => '指定Object的对象标签,可同时设置多个标签,例如TagA=A&TagB=B。'."\n"
.'> Key和Value需要先进行URL编码,如果某项没有“=”,则看作Value为空字符串。', 'type' => 'string', 'required' => false, 'example' => 'a:1'],
],
[
'name' => 'x-oss-tagging-directive',
'in' => 'header',
'schema' => ['description' => '指定如何设置目标Object的对象标签。取值如下:'."\n"
.' - **Copy**(默认值):复制源Object的对象标签到目标 Object。'."\n"
.' - **Replace**:忽略源Object的对象标签,直接采用请求中指定的对象标签。', 'type' => 'string', 'required' => false, 'example' => 'Copy'],
],
[
'name' => 'x-oss-meta-*',
'in' => 'header',
'schema' => [
'description' => '如果配置以x-oss-meta-*为前缀的参数,则该参数视为元数据。'."\n"
.'元数据大小限制:一个Object可以包含多个元数据,但所有的元数据总大小不能超过8 KB。'."\n"
.'元数据命名规则:支持短划线(-)、数字、英文字母(a~z)。英文字符的大写字母会被转成小写字母,不支持下划线(_)在内的其他字符。',
'type' => 'object',
'required' => false,
'additionalProperties' => ['type' => 'string', 'description' => '元数据命名规则:支持短划线(-)、数字、英文字母(a~z)。英文字符的大写字母会被转成小写字母,不支持下划线(_)在内的其他字符。', 'example' => 'mx-oss-meta-owner'],
],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-copy-source-version-id' => [
'schema' => ['type' => 'string'],
],
'x-oss-version-id' => [
'schema' => ['type' => 'string'],
],
],
'schema' => [
'description' => '保存CopyObject结果的响应体。',
'type' => 'object',
'properties' => [
'CopyObjectResult' => [
'description' => '保存CopyObject结果的容器。',
'type' => 'object',
'properties' => [
'ETag' => ['description' => '目标Object的ETag值。', 'type' => 'string', 'example' => '5B3C1A2E053D763E1B002CC607C5****'],
'LastModified' => ['description' => '目标Object最后更新时间。', 'type' => 'string', 'example' => 'Fri, 24 Feb 2012 07:18:48 GMT'],
],
],
],
],
],
'5XX' => [],
],
'title' => '拷贝文件',
'summary' => '拷贝同一地域下相同或不同存储空间(Bucket)之间的文件(Object)。',
'description' => '**版本控制**'."\n"
."\n"
.'- `x-oss-copy-source`默认拷贝Object的当前版本,您可以在x-oss-copy-source中加入versionId来拷贝指定的Object版本。拷贝Object时,如果源Object的对应版本为删除标记,则返回404表示该Object不存在。'."\n"
.'- 如果需要恢复Object的早期版本为当前版本,您只需将Object的早期版本拷贝到同一个Bucket中,OSS会将该Object对应早期版本置为当前版本。'."\n"
.'- 如果目标Bucket已开启版本控制,OSS将会为新拷贝的Object自动生成唯一的版本ID,此版本ID将会在响应Header中的x-oss-version-id返回。如果目标Bucket未开启或者暂停了版本控制,OSS将会为新拷贝的Object自动生成version ID为null的版本,且会覆盖原有versionId为null的版本。'."\n"
."\n"
.'**使用限制**'."\n"
."\n"
.'- 使用CopyObject接口时,Object的大小限制说明如下:'."\n"
."\n"
.' - 如果源Bucket和目标Bucket相同,则Object的大小无限制。'."\n"
."\n"
.' - 如果源Bucket和目标Bucket不同,则建议拷贝小于1 GB的Object。当您需要拷贝大于1 GB的Object时,请使用[UploadPartCopy](~~31994~~)接口。'."\n"
.' '."\n"
.' 使用CopyObject或UploadPartCopy接口均要求对源Object有读权限。'."\n"
."\n"
.'- 在非版本控制的Bucket中,当调用CopyObject接口拷贝文件时,如果源Object与目标Object为同一个Object,则OSS只修改源Object的元数据,不拷贝源Object的内容。'."\n"
.'- 在版本控制的Bucket中,不支持拷贝通过追加上传方式生成的Object。'."\n"
.'- 如果源Object为软链接,则只拷贝软链接,无法拷贝软链接指向的文件内容。'."\n"
."\n"
.'**计量计费**'."\n"
."\n"
.'- 调用一次CopyObject接口会对源Object和目标Object所在的Bucket各增加一次Get请求次数。'."\n"
.'- 调用CopyObject接口会对目标Object所在的Bucket增加相应的存储量。'."\n"
.'- 调用CopyObject接口更改Object存储类型会涉及数据覆盖。例如低频访问IA创建后10天内被覆盖为标准存储Standard,则会产生20天的低频访问不足规定时长容量费用。关于存储费用的更多信息,请参见**[存储费用](~~173534~~)**。',
'changeSet' => [
['createdAt' => '2024-03-07T07:13:54.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T14:29:26.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject', 'validationType' => 'always'],
['action' => 'oss:GetObjectVersion'],
['action' => 'oss:GetObjectTagging'],
['action' => 'oss:PutObjectTagging'],
['action' => 'oss:GetObjectVersionTagging'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n 5B3C1A2E053D763E1B002CC607C5****\\n Fri, 24 Feb 2012 07:18:48 GMT\\n","type":"xml"}]',
],
'CreateAccessPoint' => [
'path' => '/?accessPoint',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存接入点信息的容器。',
'type' => 'object',
'properties' => [
'CreateAccessPointConfiguration' => ['description' => '保存接入点配置的容器。', 'required' => false, '$ref' => '#/components/schemas/CreateAccessPointConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'CreateAccessPointResult' => ['description' => '保存接入点信息的容器。', '$ref' => '#/components/schemas/CreateAccessPointResult'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建接入点',
'summary' => '创建接入点。',
'description' => '- 单个阿里云账号支持创建1000个接入点。'."\n"
.'- 单个Bucket支持创建100个接入点。',
'changeSet' => [
['createdAt' => '2024-02-22T01:54:48.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T14:29:34.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:CreateAccessPoint',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'CreateBucketDataRedundancyTransition' => [
'path' => '/?redundancyTransition',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '207235',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => '要创建存储冗余类型转换任务的Bucket。', 'type' => 'string', 'required' => true, 'example' => 'example-bucket'."\n"],
],
[
'name' => 'x-oss-target-redundancy-type',
'in' => 'query',
'schema' => ['description' => '目标存储冗余类型。OSS仅支持将LRS(本地冗余存储)转换为ZRS(同城冗余存储)。', 'type' => 'string', 'required' => true, 'example' => 'ZRS'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => '返回响应。',
'type' => 'object',
'properties' => [
'BucketDataRedundancyTransition' => [
'description' => '存储冗余转换任务的容器。',
'type' => 'object',
'properties' => [
'TaskId' => ['description' => '存储冗余转换任务的ID。该ID可以用于后续查看、删除存储冗余转换任务。', 'type' => 'string', 'example' => ' '."\n"
.'4be5beb0f74f490186311b268bf6****'],
],
],
],
],
'xml' => [],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建存储冗余类型转换任务',
'summary' => '为Bucket创建存储冗余转换任务。',
'description' => '- Bucket所属地域支持转换存储冗余类型。支持转换存储冗余类型的地域:华东1(杭州)、华东2(上海)、华北2(北京)、华北3(张家口)、华北6(乌兰察布)、华南1(深圳)、中国香港、日本(东京)、新加坡、印度尼西亚(雅加达)、德国(法兰克福)'."\n"
.'- Bucket的存储冗余类型必须为本地冗余存储。OSS仅支持将本地冗余存储转换为同城冗余存储。'."\n"
.'- Bucket的存储类型必须为标准存储、低频访问存储或归档存储,但Bucket中的文件的存储类型可以为冷归档存储和深度冷归档存储。冷归档存储和深度冷归档存储的文件转换后依然为本地冗余存储。冷归档存储和深度冷归档存储的Bucket不支持转换存储冗余类型。'."\n"
.'- 要创建存储冗余转换任务,您必须具有oss:CreateBucketDataRedundancyTransition权限。具体操作,请参见为[RAM用户授权自定义的权限策略](~~199058~~)。'."\n"
.'- 每个地域都有对应的访问域名(Endpoint)。关于地域与访问域名对应关系的更多信息,请参见[访问域名和数据中心](~~31837~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:CreateBucketDataRedundancyTransition',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\t\\n4be5beb0f74f490186311b268bf6****\\n","type":"xml"}]',
],
'CreateCnameToken' => [
'path' => '/?cname&comp=token',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '创建CnameToken的请求体。',
'type' => 'object',
'properties' => [
'BucketCnameConfiguration' => [
'description' => '保存Cname配置的容器。',
'type' => 'object',
'properties' => [
'Cname' => [
'description' => '保存要生成Token的Cname域名。',
'type' => 'object',
'properties' => [
'Domain' => ['description' => '目标Cname域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
'required' => false,
],
],
'required' => false,
],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存CnameToken的相应。',
'type' => 'object',
'properties' => [
'CnameToken' => ['description' => '保存CnameToken的容器。', '$ref' => '#/components/schemas/CnameToken'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建CnameToken',
'summary' => '创建域名所有权验证所需的CnameToken。',
'changeSet' => [
['createdAt' => '2024-03-07T06:07:26.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T14:29:34.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:CreateCnameToken',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n examplebucket\\n example.com\\n be1d49d863dea9ffeff3df7d6455****\\n Wed, 23 Feb 2022 21:16:37 GMT\\n","type":"xml"}]',
],
'CreateSelectObjectMeta' => [
'path' => '/{key}',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '122930',
'abilityTreeNodes' => ['FEATUREossXWZUYL'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject.png'],
],
[
'name' => 'x-oss-process',
'in' => 'query',
'schema' => ['description' => '如果是csv文件,该值需要设置为csv/meta;如果是json文件,则需要设置为json/meta。', 'type' => 'string', 'required' => true, 'example' => 'csv/meta'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存CreateSelectObjectMeta请求的容器。',
'type' => 'object',
'properties' => [
'CsvMetaRequest' => ['description' => '保存SelectMetaRequest信息的容器。', 'required' => false, '$ref' => '#/components/schemas/SelectMetaRequest'],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => ['description' => '保存CreateSelectObjectMeta信息的容器。', '$ref' => '#/components/schemas/SelectMetaStatus'],
],
],
'title' => '获取目标文件总行数、总列数以及Splits个数',
'summary' => '获取目标文件总的行数,总的列数(对于CSV文件),以及Splits个数。如果该信息不存在,则会扫描整个文件,分析并记录下CSV文件的上述信息。重复调用该API则会保存上述信息而不必重新扫描整个文件。',
'description' => '- `CreateSelectObjectMeta`操作要求您对该Object有写权限。'."\n"
."\n"
.'- 如果该API执行正确,返回200。如果目标文件不是合法CSV或者JSON LINES文件,或者指定的CSV分隔符和目标CSV不匹配,则返回400。',
'changeSet' => [
['createdAt' => '2025-03-04T06:20:03.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n 101\\n 101\\n 200\\n 1\\n 3\\n 4\\n The body size in select request exceeds the max allowed size.\\n","type":"xml"}]',
],
'DeleteAccessPoint' => [
'path' => '/?accessPoint',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'x-oss-access-point-name',
'in' => 'header',
'schema' => ['description' => '接入点名称。', 'type' => 'string', 'required' => true, 'example' => ' '."\n"
.'ap-01'],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除接入点',
'summary' => '删除接入点。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:35.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteAccessPoint',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteAccessPointPolicy' => [
'path' => '/?accessPointPolicy',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'x-oss-access-point-name',
'in' => 'header',
'schema' => ['title' => 'A short description of struct', 'description' => '接入点名称。', 'type' => 'string', 'required' => true, 'example' => 'ap-01'],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除接入点策略',
'summary' => '删除接入点策略。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:35.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteAccessPointPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]',
],
'DeleteBucket' => [
'path' => '/',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除存储空间',
'summary' => '删除存储空间(Bucket)。',
'description' => '- 只有Bucket的拥有者才有权限删除该Bucket。'."\n"
.'- 为了防止误删除的发生,OSS不支持删除一个非空的Bucket。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucket',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketCommonHeader' => [
'path' => '/?x-oss-common-header',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '245751',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'test-bucket'],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除存储空间的用户自定义响应头配置',
'summary' => '删除存储空间的用户自定义响应头配置',
'changeSet' => [
['createdAt' => '2025-03-07T07:20:26.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketCommonHeader',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketCors' => [
'path' => '/?cors',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '关闭存储空间跨域资源共享功能',
'summary' => '调用DeleteBucketCors接口关闭指定存储空间(Bucket)的跨域资源共享CORS(Cross-Origin Resource Sharing)功能并清空所有规则。',
'description' => '### 注意事项'."\n"
.'要关闭CORS功能,您必须有`oss:DeleteBucketCors`权限。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketCors',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketEncryption' => [
'path' => '/?encryption',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '删除存储空间的加密规则',
'summary' => '删除指定存储空间(Bucket)的加密规则。',
'description' => '只有Bucket的拥有者及授权的RAM用户才能删除Bucket的加密规则,否则返回403错误。有关Bucket加密的更多信息,请参见[服务器端加密](~~31871~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketEncryption',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketInventory' => [
'path' => '/?inventory',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '9326',
'abilityTreeNodes' => ['FEATUREossB6HKQU'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'inventoryId',
'in' => 'query',
'schema' => ['title' => 'The ID of the inventory task to delete', 'description' => '删除的清单任务Id。', 'type' => 'string', 'required' => true, 'example' => 'list1'],
],
],
'responses' => [
200 => [],
'4xx' => [],
],
'title' => '删除存储空间的指定清单任务',
'summary' => '删除某个存储空间(Bucket)中指定的清单(Inventory)任务。',
'description' => '- 调用该请求时,请确保您有足够的权限对存储空间的清单任务进行操作。存储空间所有者默认拥有该权限,若您无该项权限,请先向存储空间所有者申请该项操作的权限。'."\n"
.'- 请求成功将返回HTTP状态码204。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketInventory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketLifecycle' => [
'path' => '/?lifecycle',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '9024',
'abilityTreeNodes' => ['FEATUREoss20S3WM'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '删除存储空间的生命周期规则',
'summary' => '调用DeleteBucketLifecycle接口删除指定存储空间(Bucket)的生命周期规则。',
'description' => '- 只有Bucket的拥有者才能删除该Bucket的生命周期规则。'."\n"
."\n"
.'- 调用DeleteBucketLifecycle接口删除指定Bucket所有的生命周期规则后,该Bucket中的文件(Object)不会被自动删除。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketLifecycle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketLogging' => [
'path' => '/?logging',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '关闭存储空间的访问日志记录功能',
'summary' => '关闭存储空间(Bucket)的访问日志记录功能。',
'description' => '- 只有Bucket的拥有者才有权限关闭Bucket访问日志记录功能。'."\n"
.'- 如果目标Bucket没有开启访问日志记录功能,则返回参数显示204状态码。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketLogging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketPolicy' => [
'path' => '/?policy',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [],
'4xx' => [],
],
'title' => '删除存储空间的权限策略',
'summary' => '删除指定存储空间(Bucket)的权限策略(Policy)。',
'description' => '- 向其他账号的RAM用户授权访问。'."\n"
."\n"
.'您可以授予其他账号的RAM用户访问您的OSS资源的权限。'."\n"
."\n"
.'- 向匿名用户授予带特定IP条件限制的访问权限。'."\n"
."\n"
.'某些场景下,您需要向匿名用户授予带IP限制的访问策略。例如,企业内部的机密文档,只允许在企业内部访问,不允许在其他区域访问。由于企业内部人员较多,如果针对每个人配置RAM Policy,工作量非常大。此时,您可以基于Bucket Policy设置带IP限制的访问策略,从而高效方便地进行授权。'."\n"
."\n"
.'有关Bucket Policy的配置详情及场景案例,请参见[使用Bucket Policy授权其他用户访问OSS资源](~~85111~~)。有关Policy语法,请参见[权限策略语法和结构](~~93739~~)。'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketReplication' => [
'path' => '/?replication&comp=delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '9463',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存需要删除的数据复制规则的请求体。',
'type' => 'object',
'properties' => [
'ReplicationRules' => [
'description' => '保存需要删除的数据复制规则的容器。',
'type' => 'object',
'properties' => [
'ID' => ['description' => '需要删除的数据复制规则的名称。', 'type' => 'string', 'required' => false, 'example' => 'first-rule'],
],
'required' => false,
],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5xx' => [],
],
'title' => '停止存储空间的数据复制并删除其复制配置',
'summary' => '停止某个存储空间(Bucket)的数据复制并删除Bucket的复制配置,此时源Bucket中的任何操作都不会被同步到目标Bucket。',
'description' => '- 当请求的Bucket没有配置数据复制规则时,调用此接口将返回200 HTTP OK。'."\n"
."\n"
.'- 调用此接口删除某个数据复制规则时,该复制规则不会立刻被删除。OSS需要一定的时间来执行清理操作,此时复制规则的状态为closing。当清理工作完成后,该复制规则才被删除。'."\n"
."\n"
.'- 当请求的Bucket的数据复制规则处于closing状态时,调用此接口将返回204 NoContent。',
'changeSet' => [
['createdAt' => '2024-03-05T07:48:30.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T14:29:34.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketReplication',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketTags' => [
'path' => '/?tagging',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '删除存储空间的标签',
'summary' => '删除存储空间(Bucket)标签。',
'description' => '如果目标Bucket没有任何标签或指定标签的Key不存在,则返回HTTP状态码204。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteBucketWebsite' => [
'path' => '/?website',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '9027',
'abilityTreeNodes' => ['FEATUREossLM29D7', 'FEATUREossIW6LY5'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '关闭存储空间的静态网站托管模式以及跳转规则',
'summary' => '关闭存储空间(Bucket)的静态网站托管模式以及跳转规则。',
'description' => '只有Bucket的拥有者才能关闭Bucket的静态网站托管模式。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketWebsite',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteCname' => [
'path' => '/?cname&comp=delete',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '删除Cname配置信息的请求体。',
'type' => 'object',
'properties' => [
'BucketCnameConfiguration' => [
'description' => '保存Cname配置的容器。',
'type' => 'object',
'properties' => [
'Cname' => [
'description' => '保存目标Cname域名的容器。',
'type' => 'object',
'properties' => [
'Domain' => ['description' => '要删除的Cname。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
'required' => false,
],
],
'required' => false,
],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除Cname',
'summary' => '删除某个存储空间(Bucket)已绑定的Cname。',
'changeSet' => [
['createdAt' => '2024-03-05T12:07:24.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T14:29:34.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteCname',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteLiveChannel' => [
'path' => '/{channel}?live',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'channel',
'in' => 'path',
'schema' => ['description' => '指定LiveChannel名称,该LiveChannel必须存在。', 'type' => 'string', 'required' => true, 'example' => 'examplechannel'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '删除指定的直播推流',
'summary' => '删除指定的LiveChannel。',
'description' => '>- 当有客户端正在向LiveChannel推流时,删除请求会失败。'."\n"
.'- 本接口只会删除LiveChannel本身,不会删除推流生成的文件。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteLiveChannel',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteObject' => [
'path' => '/{key}',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => [],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket信息。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => 'Object对应的版本ID。', 'type' => 'string', 'required' => false, 'example' => 'CAEQMxiBgIDh3ZCB0BYiIGE4YjIyMjExZDhhYjQxNzZiNGUyZTI4ZjljZDcz****'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-delete-marker' => [
'schema' => ['type' => 'boolean'],
],
'x-oss-version-id' => [
'schema' => ['type' => 'string'],
],
],
],
'5XX' => [],
],
'title' => '删除文件',
'summary' => '删除文件(object)。',
'description' => '**注意事项**'."\n"
."\n"
.'- 要删除文件,您必须有Object的写权限。'."\n"
.'- 无论要删除的Object是否存在,删除成功后均会返回204状态码。'."\n"
.'- 如果Object类型为软链接,使用DeleteObject接口只会删除该软链接。'."\n"
."\n"
.'**版本控制**'."\n"
."\n"
.'版本控制状态下的删除行为说明如下:'."\n"
."\n"
.'- 未指定versionId(临时删除):'."\n"
.'如果在未指定versionId的情况下执行删除操作时,默认不会删除Object的当前版本,而是对当前版本插入删除标记(Delete Marker)。此时,在未指定versionId的情况下执行GetObject操作,OSS会检测到当前版本为删除标记,并返回`404 Not Found`。此外,响应中还会返回header:`x-oss-delete-marker = true`以及新生成的删除标记的版本号`x-oss-version-id`。'."\n"
.'`x-oss-delete-marker`的值为true,表示与返回的`x-oss-version-id`对应的版本为删除标记。'."\n"
."\n"
.'- 指定versionId(永久删除):'."\n"
.'如果在指定versionId的情况下执行删除操作时,OSS会根据`params`中指定的`versionId`参数永久删除该版本。如果要删除ID为“null”的版本,请在`params`参数中添加`params[\'versionId\'] = “null”`,OSS将“null”字符串当成“null”的versionId,从而删除versionId为“null”的Object。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:DeleteObjectVersion'],
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]',
],
'DeleteObjectTagging' => [
'path' => '/{key}?tagging',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => '删除的Object的版本号。', 'type' => 'string', 'required' => false, 'example' => 'CAEQExiBgID.jImWlxciIDQ2ZjgwODIyNDk5MTRhNzBiYmQwYTZkMTYzZjM0****'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '删除对象的标签信息',
'summary' => '删除指定对象(Object)的标签(Tagging)信息。',
'description' => '**版本控制**'."\n"
."\n"
.'调用DeleteObjectTagging接口时,默认只能删除Object当前版本的标签信息。您可以通过指定versionId参数来删除指定Object版本的标签信息。如果Object的对应版本为删除标记(Delete Marker),则OSS将返回404 Not Found。'."\n"
."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteObjectTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:DeleteObjectVersionTagging'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeletePublicAccessBlock' => [
'summary' => '删除用户级别的阻止公共访问配置。',
'path' => '/?publicAccessBlock',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '207984',
'abilityTreeNodes' => ['FEATUREoss4PB2DT'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
'responses' => [
200 => [],
],
'title' => '删除用户级别的阻止公共访问配置',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeletePublicAccessBlock',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DeleteStyle' => [
'path' => '/?style',
'methods' => ['delete'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '169385',
'abilityTreeNodes' => ['FEATUREossEPZCYR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'styleName',
'in' => 'query',
'schema' => ['description' => '图片样式名称。', 'type' => 'string', 'required' => true, 'example' => 'imagestyle'],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除图片样式',
'summary' => '删除某个Bucket下指定的图片样式。',
'changeSet' => [
['createdAt' => '2024-02-21T07:26:17.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteStyle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'DescribeRegions' => [
'path' => '/?regions',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '118528',
'abilityTreeNodes' => ['FEATUREoss4T9JVQ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'regions',
'in' => 'query',
'schema' => ['description' => '请求的地域ID。', 'type' => 'string', 'required' => false, 'example' => 'oss-cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'DescribeRegions接口的响应体结构。',
'type' => 'object',
'properties' => [
'RegionInfoList' => [
'description' => '地域信息列表。',
'type' => 'object',
'properties' => [
'RegionInfo' => [
'description' => '保存多个地域信息的容器。',
'type' => 'array',
'items' => ['description' => '地域信息。', '$ref' => '#/components/schemas/RegionInfo'],
],
],
],
],
],
],
],
'title' => '查询地域',
'summary' => '查询所有支持地域或者指定地域对应的Endpoint信息,包括外网Endpoint、内网Endpoint和传输加速Endpoint。',
'description' => '只支持在二级域名(例如oss-cn-hangzhou.aliyuncs.com)上调用DescribeRegions接口。',
'extraInfo' => ''."\n"
.'查询所有支持地域的描述信息
'."\n"
.'请求示例'."\n"
."\n"
.'```http'."\n"
.'GET /?regions HTTP/1.1'."\n"
.'Host: oss-cn-hangzhou.aliyuncs.com'."\n"
.'Date: Fri, 20 Aug 2021 06:38:30 GMT'."\n"
.'Authorization: SignatureValue'."\n"
.'```'."\n"
.'返回示例'."\n"
.'```http'."\n"
.'HTTP/1.1 200 OK'."\n"
.'x-oss-request-id: 3a8f-2e2d-7965-3ff9-51c875b*****'."\n"
.'Date: Fri, 20 Aug 2021 06:38:30 GMT'."\n"
.'Content-Type: application/xml'."\n"
.'Content-Length: 344606'."\n"
.'Server: AliyunOSS'."\n"
.'```'."\n"
.'```xml'."\n"
.''."\n"
.''."\n"
.' '."\n"
.' oss-cn-hangzhou'."\n"
.' oss-cn-hangzhou.aliyuncs.com'."\n"
.' oss-cn-hangzhou-internal.aliyuncs.com'."\n"
.' oss-accelerate.aliyuncs.com '."\n"
.' '."\n"
.' '."\n"
.' oss-cn-shanghai'."\n"
.' oss-cn-shanghai.aliyuncs.com'."\n"
.' oss-cn-shanghai-internal.aliyuncs.com'."\n"
.' oss-accelerate.aliyuncs.com '."\n"
.' '."\n"
.''."\n"
.'```'."\n"
.' '."\n"
.''."\n"
.'查询指定地域的描述信息
'."\n"
.'请求示例'."\n"
."\n"
.'```http'."\n"
.'GET /?regions=oss-cn-hangzhou HTTP/1.1'."\n"
.'Host: oss-cn-hangzhou.aliyuncs.com'."\n"
.'Date: Fri, 20 Aug 2021 06:40:30 GMT'."\n"
.'Authorization: SignatureValue'."\n"
.'```'."\n"
.'返回示例'."\n"
.'```http'."\n"
.'HTTP/1.1 200 OK'."\n"
.'x-oss-request-id: 3a8f-2e2d-7965-3ff9-51c875b*****'."\n"
.'Date: Fri, 20 Aug 2021 06:40:30 GMT'."\n"
.'Content-Type: application/xml'."\n"
.'Content-Length: 3446'."\n"
.'Server: AliyunOSS'."\n"
.'```'."\n"
.'```xml'."\n"
.''."\n"
.''."\n"
.' '."\n"
.' oss-cn-hangzhou'."\n"
.' oss-cn-hangzhou.aliyuncs.com'."\n"
.' oss-cn-hangzhou-internal.aliyuncs.com'."\n"
.' oss-accelerate.aliyuncs.com '."\n"
.' '."\n"
.''."\n"
.'```'."\n"
.' ',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:34.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:DescribeRegions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n oss-cn-hangzhou\\n oss-cn-hangzhou.aliyuncs.com\\n oss-cn-hangzhou-internal.aliyuncs.com\\n oss-accelerate.aliyuncs.com\\n \\n","type":"xml"}]',
],
'DoMetaQuery' => [
'path' => '/?metaQuery&comp=query',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '169403',
'abilityTreeNodes' => ['FEATUREossNCEJ8M'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'mode',
'in' => 'query',
'schema' => ['title' => '指定检索模式。'."\n"
.'- basic:标量检索(默认)'."\n"
.'- semantic:向量检索', 'description' => '指定检索模式。'."\n"
.'- basic:标量检索(默认)'."\n"
.'- semantic:向量检索', 'type' => 'string', 'required' => false, 'example' => 'semantic'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'title' => '接口请求体结构',
'description' => '保存查询条件的请求体。',
'type' => 'object',
'properties' => [
'MetaQuery' => ['title' => '数据索引查询参数', 'description' => '保存查询条件的容器。', 'required' => false, '$ref' => '#/components/schemas/MetaQuery'],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '接口响应体结构',
'description' => '保存查询结果的响应体。',
'type' => 'object',
'properties' => [
'MetaQuery' => ['description' => '保存查询结果的容器。', '$ref' => '#/components/schemas/MetaQueryResp'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询满足条件的文件',
'summary' => '通过存储空间(Bucket)的元数据索引功能,查询满足指定条件的文件(Object),并按照字段和排序方式列出文件信息。',
'changeSet' => [
['createdAt' => '2025-03-31T01:55:22.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:34.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:DoMetaQuery',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****\\n \\n \\n exampleobject.txt\\n 120\\n 2021-06-29T15:04:05.000000000Z07:00\\n Normal\\n Standard\\n default\\n \\"fba9dede5f27731c9771645a3986****\\"\\n 4858A48BD1466884\\n AES256\\n SM4\\n 16\\n \\n \\n abc\\n test\\n \\n \\n \\n \\n abc\\n test\\n \\n \\n oss://examplebucket/test-object.jpg\\n 2021-06-29T14:50:13.011643661+08:00\\n image/jpeg\\n image\\n 30.134390,120.074997\\n test\\n 2124-12-01T12:00:00.000Z\\n https://aliyundoc.com\\n PUT\\n SM4\\n 9468da86-3509-4f8d-a61e-6eab1eac****\\n no-cache\\n attachment; filename =test.jpg\\n UTF-8\\n zh-CN\\n 500\\n 270\\n 1080\\n 1920\\n 13091201\\n Jane\\n Jenny\\n Jane\\n Jane\\n FirstAlbum\\n 15.263\\n \\n \\n h264\\n en\\n 5407765\\n 25/1\\n 0\\n 22.88\\n 572\\n 8\\n yuv420p\\n bt709\\n 720\\n 1280\\n \\n \\n \\n \\n aac\\n 320087\\n 48000\\n 0.0235\\n 3.690667\\n 2\\n en\\n \\n \\n \\n \\n mov_text\\n en\\n 0\\n 71.378\\n \\n \\n \\n \\n 中国浙江省杭州市余杭区文一西路969号\\n 杭州市\\n 余杭区\\n zh-Hans\\n 浙江省\\n 文一西路\\n \\n \\n \\n \\n \\n \\n Size\\n sum\\n 200\\n \\n \\n 100\\n 5\\n \\n \\n \\n \\n","type":"xml"}]',
],
'ExtendBucketWorm' => [
'path' => '/?wormExtend',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'wormId',
'in' => 'query',
'schema' => ['description' => '合规保留策略的ID。'."\n"
."\n"
.'> 如果指定用于延长Object保留天数对应的合规保留策略ID不存在,则返回404。', 'type' => 'string', 'required' => true, 'example' => '1666E2CFB2B3418****'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存合规保留策略的容器。',
'type' => 'object',
'properties' => [
'ExtendWormConfiguration' => ['description' => '保存合规保留策略的容器。', 'required' => false, '$ref' => '#/components/schemas/ExtendWormConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'4xx' => [],
'5xx' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '延长存储空间中文件的保留天数',
'summary' => '延长已锁定的合规保留策略对应Bucket中Object的保留天数。',
'description' => '当基于时间的合规保留策略创建后,该策略默认处于InProgress状态,且该状态的有效期为24小时。在有效期24小时内,此策略对应的Bucket数据处于保护状态。'."\n"
."\n"
.'- 启动合规保留策略24小时内:若此策略未提交锁定,则Bucket所有者以及授权用户可以删除此策略;若该保留策略已提交锁定,则不允许删除此策略,且无法缩短策略保护周期,仅可以延长保护周期。'."\n"
."\n"
.'- 启动合规保留策略24小时后:若超过24小时该保留策略未提交锁定,则该策略自动失效。'."\n"
."\n"
.'若Bucket内有文件处于保护周期内,那么您将无法删除合规保留策略,同时也无法删除Bucket。当Bucket为空时,Bucket的所有者可以删除该Bucket,从而间接删除该Bucket的保留策略。'."\n"
."\n\n"
.'> 若指定用于延长Object保留天数对应的WORM ID不存在,则返回404。'."\n"
."\n",
'changeSet' => [
['createdAt' => '2024-02-21T14:29:34.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:ExtendBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'GetAccessPoint' => [
'path' => '/?accessPoint',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'x-oss-access-point-name',
'in' => 'header',
'schema' => ['description' => '接入点名称。', 'type' => 'string', 'required' => true, 'example' => 'ap-01'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'GetAccessPointResult' => ['description' => '保存接入点信息的容器。', '$ref' => '#/components/schemas/GetAccessPointResult'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取接入点信息',
'summary' => '获取接入点信息。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:33.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetAccessPoint',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n example-bucket\\n 10378****8768\\n \\n vpc-t4nlw426y44rd3iq4****\\n \\n \\n","type":"xml"}]',
],
'GetAccessPointPolicy' => [
'path' => '/?accessPointPolicy',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'x-oss-access-point-name',
'in' => 'header',
'schema' => ['description' => '接入点名称。', 'type' => 'string', 'required' => true, 'example' => 'ap-01'],
],
],
'responses' => [
200 => [
'schema' => ['description' => '接入点策略配置内容。', 'type' => 'string', 'example' => '{'."\n"
.' "Version":"1",'."\n"
.' "Statement":['."\n"
.' {'."\n"
.' "Action":['."\n"
.' "oss:PutObject",'."\n"
.' "oss:GetObject"'."\n"
.' ],'."\n"
.' "Effect":"Deny",'."\n"
.' "Principal":["27737962156157xxxx"],'."\n"
.' "Resource":['."\n"
.' "acs:oss:ap-southeast-2:111933544165xxxx:accesspoint/$ap-01",'."\n"
.' "acs:oss:ap-southeast-2:111933544165xxxx:accesspoint/$ap-01/object/*"'."\n"
.' ]'."\n"
.' }'."\n"
.' ]'."\n"
.' } '],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取接入点策略配置',
'summary' => '获取接入点策略配置。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:35.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetAccessPointPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\"{\\\\n \\\\\\"Version\\\\\\":\\\\\\"1\\\\\\",\\\\n \\\\\\"Statement\\\\\\":[\\\\n {\\\\n \\\\\\"Action\\\\\\":[\\\\n \\\\\\"oss:PutObject\\\\\\",\\\\n \\\\\\"oss:GetObject\\\\\\"\\\\n ],\\\\n \\\\\\"Effect\\\\\\":\\\\\\"Deny\\\\\\",\\\\n \\\\\\"Principal\\\\\\":[\\\\\\"27737962156157xxxx\\\\\\"],\\\\n \\\\\\"Resource\\\\\\":[\\\\n \\\\\\"acs:oss:ap-southeast-2:111933544165xxxx:accesspoint/$ap-01\\\\\\",\\\\n \\\\\\"acs:oss:ap-southeast-2:111933544165xxxx:accesspoint/$ap-01/object/*\\\\\\"\\\\n ]\\\\n }\\\\n ]\\\\n } \\"","type":"json"}]',
],
'GetBucketAccessMonitor' => [
'path' => '/?accessmonitor',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '169396',
'abilityTreeNodes' => ['FEATUREoss20S3WM'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '请求响应体结构',
'description' => '请求响应体结构',
'type' => 'object',
'properties' => [
'AccessMonitorConfiguration' => ['description' => '保存Bucket的访问跟踪状态配置信息的容器。', '$ref' => '#/components/schemas/AccessMonitorConfiguration'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取存储空间访问追踪状态',
'summary' => '获取存储空间(Bucket)的访问追踪功能是否开启。',
'changeSet' => [
['createdAt' => '2025-10-21T08:46:17.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:33.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketAccessMonitor',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'GetBucketAcl' => [
'summary' => '获取某个存储空间(Bucket)的访问权限(ACL)。只有Bucket的拥有者才能获取Bucket的访问权限。',
'path' => '/?acl',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AccessControlPolicy' => [
'description' => '存储ACL信息的容器。',
'type' => 'object',
'properties' => [
'Owner' => ['description' => '保存Bucket拥有者信息的容器。', '$ref' => '#/components/schemas/Owner'],
'AccessControlList' => [
'description' => '存储ACL信息的容器类。',
'type' => 'object',
'properties' => [
'Grant' => ['description' => 'Bucket的ACL权限。', '$ref' => '#/components/schemas/BucketACL'],
],
],
],
],
],
'description' => '',
],
],
'5XX' => [],
],
'title' => '获取存储空间的访问权限',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:33.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketAcl',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n ut_test_bucket\\n ut_test_bucket\\n \\n \\n","type":"xml"}]',
],
'GetBucketCors' => [
'path' => '/?cors',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'CORSConfiguration' => [
'description' => '保存CORS规则配置的容器。',
'type' => 'object',
'properties' => [
'CORSRule' => [
'description' => '保存CORS规则的列表。',
'type' => 'array',
'items' => ['description' => '保存CORS规则的容器。', '$ref' => '#/components/schemas/CORSRule'],
],
'ResponseVary' => ['description' => '是否返回Vary: Origin头。'."\n"
."\n"
.'true:不管发送的是否是跨域请求或跨域请求是否成功,均会返回Vary: Origin头。'."\n"
."\n"
.'false:任何情况下均不返回Vary: Origin头。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
'description' => '',
],
],
'5XX' => [],
],
'title' => '获取存储空间当前的跨域资源共享规则',
'summary' => '获取指定存储空间(Bucket)当前的跨域资源共享CORS(Cross-Origin Resource Sharing)规则。',
'description' => ' ',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:33.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketCors',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:BucketTag'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n *\\n GET\\n Authorization\\n x-oss-test\\n 100\\n \\n true\\n","type":"xml"}]',
],
'GetBucketEncryption' => [
'path' => '/?encryption',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存服务端加密规则的响应体。',
'type' => 'object',
'properties' => [
'ServerSideEncryptionRule' => [
'description' => '保存服务端加密规则的容器。',
'type' => 'object',
'properties' => [
'ApplyServerSideEncryptionByDefault' => ['description' => '服务端加密规则信息。', '$ref' => '#/components/schemas/ApplyServerSideEncryptionByDefault'],
],
],
],
],
],
'5XX' => [],
],
'title' => '获取存储空间的加密规则',
'summary' => '获取存储空间(Bucket)的加密规则。',
'description' => '只有Bucket的拥有者及授权的RAM用户才能获取Bucket的加密规则,否则返回403错误。有关Bucket加密的更多信息,请参见**[服务器端加密](~~31871~~)**。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:33.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketEncryption',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n AES256\\n 9468da86-3509-4f8d-a61e-6eab1eac****\\n SM4\\n \\n","type":"xml"}]',
],
'GetBucketEventNotification' => [
'path' => '/?eventNotification',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '246277',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'NotificationConfiguration' => ['title' => '存储空间函数计算服务配置', 'description' => '存储空间函数计算服务配置', '$ref' => '#/components/schemas/EventNotificationConfiguration'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取存储空间事件通知配置',
'summary' => '获取存储空间事件通知配置',
'changeSet' => [
['createdAt' => '2025-03-07T07:20:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketEventNotification',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n 1\\n ObjectCreated:PutObject\\n \\n \\n prod\\n .jpb\\n \\n \\n \\n acs:fc:oss-ap-southeast-1:1993989758795198:services/qianwang-fc-test.LATEST/functions/fc-test\\n acs:ram::1993989758795198:role/AliyunOSSObjectFcForOSSDefaultRole\\n \\n \\n","type":"xml"}]',
],
'GetBucketHttpsConfig' => [
'path' => '/?httpsConfig',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => 'A short description of struct', 'description' => 'Bucket名称', 'type' => 'string', 'required' => true, 'example' => 'test-bucket'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存HTTPS配置的响应。',
'type' => 'object',
'properties' => [
'HttpsConfiguration' => ['description' => '保存HTTPS配置的容器。', '$ref' => '#/components/schemas/HttpsConfiguration'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取存储空间HTTPS配置',
'summary' => '调用GetBucketHttpsConfig接口查看Bucket的TLS版本设置。',
'description' => '- 要查看Bucket的TLS版本设置,您必须有oss:GetBucketHttpsConfig权限。具体操作,请参见[为RAM用户授权自定义的权限策略](https://help.aliyun.com/zh/oss/user-guide/common-examples-of-ram-policies#section-ucu-jv0-zip)。'."\n"
."\n"
.'- 每个地域都有对应的访问域名(Endpoint)。关于地域与访问域名对应关系的更多信息,请参见[访问域名和数据中心](https://help.aliyun.com/zh/oss/user-guide/regions-and-endpoints)。',
'changeSet' => [
['createdAt' => '2024-02-21T14:34:36.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketHttpsConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:BucketTag'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'GetBucketInfo' => [
'path' => '/?bucketInfo',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'GetBucketInfo接口的响应体。',
'type' => 'object',
'properties' => [
'BucketInfo' => ['description' => '保存Bucket信息的容器。', '$ref' => '#/components/schemas/BucketInfo'],
],
],
],
'5XX' => [],
],
'title' => '查看存储空间的相关信息',
'summary' => '查看存储空间(Bucket)的相关信息。只有Bucket的拥有者才能查看Bucket的信息。该请求可以从任何一个OSS的Endpoint发起。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:33.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketInfo',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n Disabled\\n 2022-01-06T08:20:09.000Z\\n Disabled\\n oss-cn-hangzhou\\n test-bucket\\n Disabled\\n \\n ut_test_bucket\\n ut_test_bucket\\n \\n \\n \\n KMS\\n \\t\\n9468da86-3509-4f8d-a61e-6eab1eac****\\n SM4\\n \\n \\n example-bucket\\n log/\\n \\n \\n","type":"xml"}]',
],
'GetBucketInventory' => [
'path' => '/?inventory',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '9325',
'abilityTreeNodes' => ['FEATUREossB6HKQU'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'inventoryId',
'in' => 'query',
'schema' => ['title' => 'The ID of the inventory rule to query', 'description' => '查询的清单规则Id。', 'type' => 'string', 'required' => true, 'example' => 'list1'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'The inventory task configured for a bucket',
'description' => 'The inventory task configured for a bucket',
'type' => 'object',
'properties' => [
'InventoryConfiguration' => ['description' => 'Bucket的清单任务信息。', '$ref' => '#/components/schemas/InventoryConfiguration'],
],
],
],
'5XX' => [],
],
'title' => '查看存储空间的清单任务',
'summary' => '查看某个存储空间(Bucket)中指定的清单(Inventory)任务。',
'description' => '调用该请求时,请确保您有足够的权限对存储空间的清单任务进行操作。存储空间所有者默认拥有该权限,若您无该项权限,请先向存储空间所有者申请该项操作的权限。',
'changeSet' => [
['createdAt' => '2024-03-05T07:08:18.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:32.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketInventory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n report1\\n true\\n \\n \\n 100000000000000\\n acs:ram::100000000000000:role/AliyunOSSRole\\n acs:oss:::bucket_0001\\n prefix1/\\n \\n \\n 9468da86-3509-4f8d-a61e-6eab1eac****\\n \\n \\n \\n \\n \\n \\n Pics/\\n 1637883649\\n 1638347592\\n 1024\\n 1048576\\n All\\n \\n All\\n \\n \\n true\\n \\n 600\\n \\n \\n Etag\\n \\n \\n","type":"xml"}]',
],
'GetBucketLifecycle' => [
'path' => '/?lifecycle',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '9037',
'abilityTreeNodes' => ['FEATUREoss20S3WM'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '接口响应体',
'description' => '接口响应体',
'type' => 'object',
'properties' => [
'LifecycleConfiguration' => ['title' => '保存存储空间生命周期规则的容器', 'description' => '存储Bucket生命周期规则的容器。', '$ref' => '#/components/schemas/LifecycleConfiguration'],
],
],
],
'5XX' => [],
],
'title' => '查询存储空间的生命周期规则',
'summary' => '查看存储空间(Bucket)的生命周期规则(Lifecycle)。只有Bucket的拥有者才有权限查看Bucket的生命周期规则。',
'changeSet' => [
['createdAt' => '2024-11-28T09:35:20.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:32.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketLifecycle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n rule1\\n tmp/\\n Enabled\\n \\n 2002-10-11T00:00:00.000Z\\n 1\\n true\\n \\n \\n 2002-10-11T00:00:00.000Z\\n 1\\n true\\n true\\n true\\n \\n \\n 1\\n 2002-10-11T00:00:00.000Z\\n \\n \\n testb\\n testv2\\n \\n \\n 5\\n \\n \\n 5\\n true\\n true\\n true\\n \\n \\n \\n logs/keep/\\n \\n testb\\n testv2\\n \\n \\n 10240\\n 10240\\n \\n 1626158525\\n \\n","type":"xml"}]',
],
'GetBucketLocation' => [
'path' => '/?location',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '存储Bucket位置信息的容器。',
'type' => 'object',
'properties' => [
'LocationConstraint' => ['description' => 'Bucket所在的地域。
'."\n"
.'有效值:oss-cn-hangzhou、oss-cn-shanghai、oss-cn-qingdao、oss-cn-beijing、oss-cn-zhangjiakouoss-cn-hongkong、oss-cn-shenzhen、oss-us-west-1、oss-us-east-1、oss-ap-southeast-1等。'."\n"
."\n"
.'
有关Bucket所在地域与数据中心对应关系的更多信息,请参见[访问域名与数据中心。](~~31837~~)。', 'type' => 'string', 'example' => 'oss-cn-hangzhou'],
],
],
],
'5XX' => [],
],
'title' => '查看存储空间的位置信息',
'summary' => '查看存储空间(Bucket)的位置信息。只有Bucket的拥有者才能查看Bucket的位置信息。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketLocation',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\noss-cn-hangzhou","type":"xml"}]',
],
'GetBucketLogging' => [
'path' => '/?logging',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '9039',
'abilityTreeNodes' => ['FEATUREossCMVNPH'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'BucketLoggingStatus' => ['title' => '保存存储空间日志转存配置的容器', 'description' => '访问日志状态信息的容器。', '$ref' => '#/components/schemas/BucketLoggingStatus'],
],
'description' => '',
],
],
'5XX' => [],
],
'title' => '查看存储空间的访问日志配置',
'summary' => '查看存储空间(Bucket)的访问日志配置。只有Bucket的拥有者才能查看Bucket的访问日志配置。',
'changeSet' => [
['createdAt' => '2025-10-21T02:39:14.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:32.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketLogging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n examplebucket\\n MyLog-\\n AliyunOSSLoggingDefaultRole\\n \\n","type":"xml"}]',
],
'GetBucketObjectWormConfiguration' => [
'path' => '/?objectWorm',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREoss2NCTTF'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'example-bucket'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '接口请求体',
'description' => '接口请求体',
'type' => 'object',
'properties' => [
'ObjectWormConfiguration' => ['title' => '保存对象级别保留策略的容器', 'description' => '保存对象级别保留策略的容器', '$ref' => '#/components/schemas/ObjectWormConfiguration'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询存储空间Object保留策略配置',
'summary' => '在Bucket上获取对象级别保留策略',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n Enabled\\n \\n \\n COMPLIANCE\\n 1\\n 1\\n \\n \\n","type":"xml"}]',
],
'GetBucketPolicy' => [
'path' => '/?policy',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => ['description' => '字节流形式的Object内容。', 'type' => 'string', 'example' => '-'],
],
'4xx' => [],
],
'title' => '获取存储空间的权限策略',
'summary' => '获取指定存储空间(Bucket)的权限策略(Policy)。',
'description' => '- 向其他账号的RAM用户授权访问。'."\n"
."\n"
.'您可以授予其他账号的RAM用户访问您的OSS资源的权限。'."\n"
."\n"
.'- 向匿名用户授予带特定IP条件限制的访问权限。'."\n"
."\n"
.'某些场景下,您需要向匿名用户授予带IP限制的访问策略。例如,企业内部的机密文档,只允许在企业内部访问,不允许在其他区域访问。由于企业内部人员较多,如果针对每个人配置RAM Policy,工作量非常大。此时,您可以基于Bucket Policy设置带IP限制的访问策略,从而高效方便地进行授权。'."\n"
."\n"
.'有关Bucket Policy的配置详情及场景案例,请参见[使用Bucket Policy授权其他用户访问OSS资源](~~85111~~)。有关Policy语法,请参见[权限策略语法和结构](~~93739~~)。'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\"-\\"","type":"json"}]',
],
'GetBucketReferer' => [
'path' => '/?referer',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存Referer配置内容的容器。',
'type' => 'object',
'properties' => [
'RefererConfiguration' => ['$ref' => '#/components/schemas/RefererConfiguration', 'description' => ''],
],
],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查看存储空间的防盗链相关配置',
'summary' => '查看存储空间(Bucket)的防盗链(Referer)相关配置。',
'changeSet' => [
['createdAt' => '2024-02-20T08:53:36.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketReferer',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n true\\n true\\n true\\n \\n http://www.aliyun.com\\n \\n \\n https://www.abc.com\\n \\n","type":"xml"}]',
],
'GetBucketReplication' => [
'path' => '/?replication',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '9458',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ReplicationConfiguration' => [
'description' => '保存复制规则的列表。',
'type' => 'object',
'properties' => [
'Rule' => [
'description' => '保存复制规则的容器。',
'type' => 'array',
'items' => ['description' => '复制规则信息。', '$ref' => '#/components/schemas/ReplicationRule'],
],
],
],
],
'description' => '',
],
],
],
'title' => '设置存储空间的数据复制规则',
'summary' => '获取某个存储空间(Bucket)已设置的数据复制规则。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:32.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketReplication',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n test_replication_1\\n \\n video\\n \\n PUT\\n \\n target-bucket\\n oss-cn-beijing\\n oss_acc\\n \\n starting\\n enabled\\n aliyunramrole\\n \\n \\n Enabled\\n \\n \\n \\n c4d49f85-ee30-426b-a5ed-95e9139dxxxxx\\n \\n \\n \\n","type":"xml"}]',
],
'GetBucketReplicationLocation' => [
'path' => '/?replicationLocation',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '获取可复制地域请求的响应体。',
'type' => 'object',
'properties' => [
'ReplicationLocation' => [
'description' => '可复制地域信息的容器。',
'type' => 'object',
'properties' => [
'Location' => [
'description' => '可复制到的目标Bucket所在的地域列表。'."\n"
."\n"
.'> 如果有多个可复制到的目标地域,那么返回的结果中包含多个Location。如果没有可复制到的目标地域,则返回的Location为空。',
'type' => 'array',
'items' => ['description' => '可复制到的目标Bucket所在的地域,例如oss-cn-beijing。', 'type' => 'string', 'example' => 'oss-cn-beijing'],
],
'LocationTransferTypeConstraint' => [
'description' => '包含TransferType约束的Location信息容器。',
'type' => 'object',
'properties' => [
'LocationTransferType' => [
'description' => '包含TransferType的Location信息容器。',
'type' => 'array',
'items' => ['description' => 'TransferType的Location信息。', '$ref' => '#/components/schemas/LocationTransferType'],
],
],
],
'LocationRTCConstraint' => [
'description' => '包含RTC约束的Location信息容器。',
'type' => 'object',
'properties' => [
'Location' => [
'description' => '支持RTC的Location信息列表。',
'type' => 'array',
'items' => ['description' => '支持RTC的Location信息。', 'type' => 'string', 'example' => 'oss-cn-beijing'],
],
],
],
],
],
],
],
],
'5xx' => [],
],
'title' => '获取可复制到的目标存储空间的地域',
'summary' => '获取可复制到的目标存储空间(Bucket)所在的地域。您可以根据返回结果决定将源Bucket的数据复制到哪个地域。',
'changeSet' => [
['createdAt' => '2024-03-05T07:08:19.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:32.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketReplicationLocation',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n oss-cn-beijing\\n \\n \\n oss-cn-beijing\\n \\n oss_acc\\n \\n \\n \\n \\n oss-cn-beijing\\n \\n","type":"xml"}]',
],
'GetBucketReplicationProgress' => [
'path' => '/?replicationProgress',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '9465',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'rule-id',
'in' => 'query',
'schema' => ['description' => '复制规则对应的ID。此ID可从GetBucketReplication中获取。', 'type' => 'string', 'required' => true, 'example' => 'test_replication_1'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存每个复制规则进度条目的响应体。',
'type' => 'object',
'properties' => [
'ReplicationProgress' => [
'description' => '保存每个复制规则进度条目的列表。',
'type' => 'object',
'properties' => [
'Rule' => [
'description' => '保存复制规则进度信息的容器。',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/ReplicationProgressRule', 'description' => ''],
],
],
],
],
],
],
],
'title' => '获取存储空间的数据复制进度',
'summary' => '获取某个存储空间(Bucket)的数据复制进度。',
'changeSet' => [
['createdAt' => '2024-03-05T07:08:18.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:32.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketReplicationProgress',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n rep01\\n \\n video\\n \\n PUT\\n \\n target-bucket\\n oss-cn-beijing\\n oss_acc\\n \\n doing\\n enabled\\n \\n \\n","type":"xml"}]',
],
'GetBucketRequestPayment' => [
'path' => '/?requestPayment',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '获取请求者付费配置的响应体。',
'type' => 'object',
'properties' => [
'RequestPaymentConfiguration' => [
'description' => '请求者付费配置的容器。',
'type' => 'object',
'properties' => [
'Payer' => [
'description' => '指定Bucket付费类型。'."\n"
."\n"
.'取值:BucketOwner、Requester',
'type' => 'string',
'enumValueTitles' => ['Requester' => '请求者付费', 'BucketOwner' => 'Bucket所有者付费'],
'example' => 'Requester',
],
],
],
],
],
],
'5XX' => [],
],
'title' => '获取请求者付费模式配置信息',
'summary' => '获取请求者付费模式的配置信息。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:35.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketRequestPayment',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n Requester\\n","type":"xml"}]',
],
'GetBucketResourceGroup' => [
'path' => '/?resourceGroup',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '要查询的目标Bucket', 'description' => '要查询的目标Bucket', 'type' => 'string', 'required' => true],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '资源组ID的容器。',
'description' => '获取资源组ID的响应体。',
'type' => 'object',
'properties' => [
'BucketResourceGroupConfiguration' => [
'description' => '资源组ID的容器。',
'type' => 'object',
'properties' => [
'ResourceGroupId' => ['title' => 'Bucket所属的资源组ID。', 'description' => 'Bucket所属的资源组ID。', 'type' => 'string', 'example' => 'rg-asdfklj***'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取存储空间资源组ID',
'summary' => '获取存储空间(Bucket)所属的资源组ID。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:35.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n rg-asdfklj***\\n","type":"xml"}]',
],
'GetBucketStat' => [
'path' => '/?stat',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => '要查询的Bucket', 'type' => 'string', 'required' => true, 'example' => 'example-bucket'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'GetBucketStat接口的响应体。',
'type' => 'object',
'properties' => [
'BucketStat' => ['description' => 'BucketStat结构的容器。', '$ref' => '#/components/schemas/BucketStat'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取存储空间存储容量与文件数量',
'summary' => '获取指定存储空间的存储容量以及文件数量。',
'description' => '- 调用该接口时需要拥有oss:GetBucketStat权限。'."\n"
.'- 调用该接口获取的数据并非是实时数据,延时可能超过一个小时。'."\n"
.'- 调用该接口获取到的存储信息的时间点不保证是最新的,即后一次调用该接口返回的LastModifiedTime字段值可能比前一次调用该接口返回的LastModifiedTime字段值小。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:32.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketStat',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n 1600\\n 230\\n 40\\n 1250\\n 5990\\n 12323\\n 2034903\\n 39182324\\n 30423\\n 1643341269\\n 223\\n 12\\n 2312\\n 23\\n 342\\n 65754\\n","type":"xml"}]',
],
'GetBucketTags' => [
'path' => '/?tagging',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Tagging' => [
'description' => '保存Bucket Tag结果的容器。',
'type' => 'object',
'properties' => [
'TagSet' => ['description' => '保存标签集合的容器。', '$ref' => '#/components/schemas/TagSet'],
],
],
],
'description' => '',
],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取存储空间的标签信息',
'summary' => '获取存储空间(Bucket)的标签信息。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:32.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n \\n testb\\n testv2\\n \\n \\n","type":"xml"}]',
],
'GetBucketTransferAcceleration' => [
'path' => '/?transferAcceleration',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'TransferAccelerationConfiguration' => [
'description' => '保存传输加速配置信息的容器。',
'type' => 'object',
'properties' => [
'Enabled' => ['description' => '是否开启传出加速。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
'description' => '',
],
],
],
'title' => '获取存储空间的传输加速配置',
'summary' => '调用GetBucketTransferAcceleration接口获取目标存储空间(Bucket)的传输加速配置。',
'description' => '- 只有Bucket拥有者以及被授予oss:GetBucketTransferAcceleration权限的RAM用户才能发起获取传输加速配置的请求。'."\n"
."\n"
.'- 如果Bucket未配置过传输加速,调用该接口时不返回加速配置状态。'."\n"
."\n"
.'有关传输加速的更多信息,请参见开发指南的[传输加速](~~131312~~)。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:35.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketTransferAcceleration',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n true\\n","type":"xml"}]',
],
'GetBucketVersioning' => [
'path' => '/?versioning',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'VersioningConfiguration' => [
'description' => '保存版本控制状态的容器。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '版本控制状态。', '$ref' => '#/components/schemas/BucketVersioningStatus'],
],
],
],
],
],
'4xx' => [],
],
'title' => '获取指定存储空间的版本控制状态',
'summary' => '调用GetBucketVersioning接口获取指定Bucket的版本控制状态。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:31.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketVersioning',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'GetBucketWebsite' => [
'path' => '/?website',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '9043',
'abilityTreeNodes' => ['FEATUREossLM29D7', 'FEATUREossIW6LY5'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'WebsiteConfiguration' => ['description' => '保存静态网站配置信息的容器。', '$ref' => '#/components/schemas/WebsiteConfiguration'],
],
'description' => '',
],
],
'5XX' => [],
],
'title' => '查看存储空间的静态网站托管状态和规则',
'summary' => '查看存储空间(Bucket)的静态网站托管状态以及跳转规则。',
'changeSet' => [
['createdAt' => '2024-03-06T01:47:59.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:31.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketWebsite',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n index.html\\n false\\n 0\\n \\n \\n error.html\\n 404\\n \\n \\n \\n 1\\n \\n abc\\n .txt\\n 404\\n \\n test-header\\n test-value\\n \\n \\n \\n Mirror\\n true\\n http://example.com\\n true\\n false\\n true\\n false\\n \\n false\\n myheader-key1\\n myheader-key3\\n \\n myheader-key5\\n myheader-value5\\n \\n \\n http\\n example.com\\n def/\\n false\\n prefix/${key}.suffix\\n 301\\n false\\n \\n \\n \\n","type":"xml"}]',
],
'GetBucketWorm' => [
'summary' => '获取指定存储空间(Bucket)的合规保留策略信息。',
'path' => '/?worm',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'WormConfiguration' => [
'description' => '存储Bucket合规保留策略的容器。',
'type' => 'object',
'properties' => [
'WormId' => ['description' => '合规保留策略的ID。', 'type' => 'string', 'example' => '1666E2CFB2B3418****'],
'State' => ['description' => '合规保留策略所处的状态。可选值:'."\n"
."\n"
.'InProgress:合规保留策略创建后,该策略默认处于“InProgress”状态,且该状态的有效期为24小时。'."\n"
."\n"
.'Locked:合规保留策略处于锁定状态。', '$ref' => '#/components/schemas/BucketWormState'],
'RetentionPeriodInDays' => ['description' => 'Object的指定保留天数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'CreationDate' => ['description' => '合规保留策略的创建时间。', 'type' => 'string', 'example' => '2020-10-15T15:50:32'],
'ExpirationDate' => ['description' => '合规保留策略的过期时间。', 'type' => 'string', 'example' => '2020-10-20T15:50:32'."\n"],
],
],
],
'description' => '',
],
],
],
'title' => '获取存储空间的合规保留策略信息',
'description' => '对象存储OSS支持WORM(Write Once Read Many)特性,允许您以不可删除、不可篡改的方式保存和使用数据。OSS允许针对Bucket设置基于时间的合规保留策略,保护周期为1天到70年。
'."\n"
.'当合规保留策略锁定后,您可以在Bucket中上传和读取文件(Object),但是在Object的保留时间到期之前,不允许删除Object及合规保留策略。Object的保留时间到期后,才可以删除Object。'."\n"
."\n\n"
.'> 若指定用来获取Bucket的合规保留策略信息对应的WORM ID不存在,则返回404。'."\n",
'changeSet' => [
['createdAt' => '2024-03-05T07:08:19.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:31.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n 1666E2CFB2B3418****\\n 20\\n 2020-10-15T15:50:32\\n 2020-10-20T15:50:32\\n\\n","type":"xml"}]',
],
'GetCnameToken' => [
'path' => '/?comp=token',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'cname',
'in' => 'query',
'schema' => ['description' => '绑定的Cname名称。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存CnameToken的响应体。',
'type' => 'object',
'properties' => [
'CnameToken' => ['description' => '保存CnameToken的容器。', '$ref' => '#/components/schemas/CnameToken'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取CnameToken',
'summary' => '获取已创建的CnameToken。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:31.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetCnameToken',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n examplebucket\\n example.com\\n be1d49d863dea9ffeff3df7d6455****\\n Wed, 23 Feb 2022 21:16:37 GMT\\n","type":"xml"}]',
],
'GetLiveChannelHistory' => [
'path' => '/{channel}?live&comp=history',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'channel',
'in' => 'path',
'schema' => ['description' => 'LiveChannel名称。', 'type' => 'string', 'required' => true, 'example' => 'examplechannel'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存GetLiveChannelHistory返回结果的响应体。',
'type' => 'object',
'properties' => [
'LiveChannelHistory' => [
'description' => '保存GetLiveChannelHistory返回结果的容器。',
'type' => 'object',
'properties' => [
'LiveRecord' => [
'description' => '保存推流记录信息的列表。',
'type' => 'array',
'items' => ['description' => '保存一次推流记录信息的容器。', '$ref' => '#/components/schemas/LiveRecord'],
],
],
],
],
],
],
'5XX' => [],
],
'title' => '获取直播推流的推流记录',
'summary' => '获取指定LiveChannel的推流记录。',
'description' => '使用GetLiveChannelHistory接口最多会返回指定LiveChannel最近的10次推流记录。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:31.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetLiveChannelHistory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n 2016-07-30T01:53:21.000Z\\n 2016-07-30T01:53:31.000Z\\n 10.101.194.148:57632\\n \\n","type":"xml"}]',
],
'GetLiveChannelInfo' => [
'path' => '/{channel}?live',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'exsmplebucket'],
],
[
'name' => 'channel',
'in' => 'path',
'schema' => ['description' => '频道名称。不能包含斜杠(/)。', 'type' => 'string', 'required' => true, 'example' => 'channel_name'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存GetLiveChannelInfo返回结果的响应体。',
'type' => 'object',
'properties' => [
'LiveChannelConfiguration' => [
'description' => '保存GetLiveChannelInfo返回结果的容器。',
'type' => 'object',
'properties' => [
'Description' => ['description' => 'LiveChannel的描述信息。', 'type' => 'string', 'example' => 'test'],
'Status' => ['description' => 'LiveChannel的状态信息。有效值:'."\n"
."\n"
.'enabled:启用状态'."\n"
."\n"
.'disabled:禁用状态', 'type' => 'string', 'example' => 'enabled'],
'Target' => ['description' => '保存LiveChannel转储配置的容器。', '$ref' => '#/components/schemas/LiveChannelTarget'],
],
],
],
],
],
'5XX' => [],
],
'title' => '获取直播推流的配置信息',
'summary' => '获取指定LiveChannel的配置信息。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:31.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetLiveChannel',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n test\\n enabled\\n \\n HLS\\n 5\\n 3\\n playlist.m3u8\\n \\n","type":"xml"}]',
],
'GetLiveChannelStat' => [
'summary' => '获取指定LiveChannel的推流状态信息。',
'path' => '/{channel}?live&comp=stat',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'channel',
'in' => 'path',
'schema' => ['description' => 'Livechannel名称。', 'type' => 'string', 'required' => true, 'example' => 'examplechannel'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存GetLiveChannelStat返回结果的响应体。',
'type' => 'object',
'properties' => [
'LiveChannelStat' => [
'description' => '保存GetLiveChannelStat返回结果的容器。',
'type' => 'object',
'properties' => [
'Status' => ['description' => 'LiveChannel当前的推流状态描述。有效值:Disabled、Live、Idle。', 'type' => 'string', 'example' => 'Live'],
'ConnectedTime' => ['description' => '当Status为Live时,表示当前客户端开始推流的时间。此元素使用ISO8601格式表示。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2016-08-25T06:25:15.000Z'],
'RemoteAddr' => ['description' => '当Status为Live时,表示当前推流客户端的IP地址。', 'type' => 'string', 'example' => '10.1.2.3:47745'],
'Video' => ['description' => '当Status为Live时,保存视频流信息的容器。'."\n"
."\n"
.'>Video、Audio容器只有在Status为Live时才会返回,但Status为Live时不一定返回这两个容器。例如,客户端已经连接到LiveChannel,但尚未发送音视频数据,这种情况不会返回这两个容器。', '$ref' => '#/components/schemas/LiveChannelVideo'],
'Audio' => ['description' => '当Status为Live时,保存音频流信息的容器。'."\n"
."\n"
.'>Video、Audio容器只有在Status为Live时才会返回,但Status为Live时不一定返回这两个容器。例如,客户端已经连接到LiveChannel,但尚未发送音视频数据,这种情况不会返回这两个容器。', '$ref' => '#/components/schemas/LiveChannelAudio'],
],
],
],
],
],
'5XX' => [],
],
'title' => '获取直播推流的推流状态信息',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:31.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetLiveChannelStat',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n Live\\n 2016-08-25T06:25:15.000Z\\n 10.1.2.3:47745\\n \\n \\n","type":"xml"}]',
],
'GetMetaQueryStatus' => [
'path' => '/?metaQuery',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => '获取元数据索引信息的响应。',
'type' => 'object',
'properties' => [
'MetaQueryStatus' => [
'description' => '保存元数据索引信息的容器。',
'type' => 'object',
'properties' => [
'State' => ['description' => '元数据索引库的状态。取值范围如下:'."\n"
."\n"
.'Ready:创建后准备中'."\n"
."\n"
.'元数据索引库正在准备中,您无法通过元数据索引库查询到数据。'."\n"
."\n"
.'Stop:已暂停'."\n"
."\n"
.'Running:运行中'."\n"
."\n"
.'Retrying:创建失败后重试中'."\n"
."\n"
.'Failed:创建失败'."\n"
."\n"
.'Deleted:已删除', 'type' => 'string', 'example' => 'Runing'],
'Phase' => ['description' => '当前扫描类型。取值范围如下:'."\n"
."\n"
.'FullScanning:全量扫描中'."\n"
."\n"
.'IncrementalScanning:增量扫描中', 'type' => 'string', 'example' => 'FullScanning'],
'CreateTime' => ['description' => '元数据索引库的创建时间,遵循RFC 3339标准格式,格式为YYYY-MM-DDTHH:mm:ss+TIMEZONE。其中YYYY-MM-DD表示年月日,T表示time元素的开头,HH:mm:ss表示时分秒,TIMEZONE表示时区。', 'type' => 'string', 'example' => '2021-08-02T10:49:17.289372919+08:00'],
'UpdateTime' => ['description' => '元数据索引库的创建时间,遵循RFC 3339标准格式,格式为YYYY-MM-DDTHH:mm:ss+TIMEZONE。其中YYYY-MM-DD表示年月日,T表示time元素的开头,HH:mm:ss表示时分秒,TIMEZONE表示时区。', 'type' => 'string', 'example' => '2021-08-02T10:49:17.289372919+08:00'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取元数据索引库信息',
'summary' => '获取指定存储空间(Bucket)的元数据索引库信息。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:35.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetMetaQueryStatus',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n Runing\\n FullScanning\\n 2021-08-02T10:49:17.289372919+08:00\\n 2021-08-02T10:49:17.289372919+08:00\\n","type":"xml"}]',
],
'GetObject' => [
'path' => '/{key}',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/octet-stream'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'response-content-type',
'in' => 'query',
'schema' => ['description' => '指定OSS返回请求的content-type头。'."\n", 'type' => 'string', 'required' => false, 'example' => 'image/jpg'],
],
[
'name' => 'response-content-language',
'in' => 'query',
'schema' => ['description' => '指定OSS返回请求的content-language头。'."\n", 'type' => 'string', 'required' => false, 'example' => '中文'],
],
[
'name' => 'response-expires',
'in' => 'query',
'schema' => ['description' => '指定OSS返回请求的expires头。'."\n", 'type' => 'string', 'required' => false, 'example' => 'Fri, 24 Feb 2012 17:00:00 GMT'],
],
[
'name' => 'response-cache-control',
'in' => 'query',
'schema' => ['description' => '指定OSS返回请求的cache-control头。'."\n", 'type' => 'string', 'required' => false, 'example' => 'no-cache'],
],
[
'name' => 'response-content-disposition',
'in' => 'query',
'schema' => ['description' => '指定OSS返回请求的content-disposition头。'."\n", 'type' => 'string', 'required' => false, 'example' => 'attachment; filename:testing.txt'],
],
[
'name' => 'response-content-encoding',
'in' => 'query',
'schema' => ['description' => '指定OSS返回请求的content-encoding头。'."\n", 'type' => 'string', 'required' => false, 'example' => 'utf-8'],
],
[
'name' => 'Range',
'in' => 'header',
'schema' => ['description' => '指定文件传输的范围。'."\n"
.' - 如果指定的范围符合规范,返回消息中会包含整个Object的大小和此次返回Object的范围。例如:Content-Range: bytes 0~9/44,表示整个Object大小为44,此次返回的范围为0~9。'."\n"
.' - 如果指定的范围不符合规范,则传送整个Object,并且结果中不包含Content-Range。'."\n"
."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'Content-Range: bytes 100-900/344606'],
],
[
'name' => 'If-Modified-Since',
'in' => 'header',
'schema' => ['description' => '如果指定的时间早于实际修改时间或指定的时间不符合规范,则直接返回Object,并返回200 OK;如果指定的时间等于或者晚于实际修改时间,则返回304 Not Modified。'."\n"
.'时间格式:GMT,例如`Fri, 13 Nov 2015 14:47:53 GMT`'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'Fri, 13 Nov 2015 14:47:53 GMT'],
],
[
'name' => 'If-Unmodified-Since',
'in' => 'header',
'schema' => ['description' => '如果指定的时间等于或者晚于Object实际修改时间,则正常传输Object,并返回200 OK;如果指定的时间早于实际修改时间,则返回412 Precondition'."\n"
.' Failed。'."\n"
.'时间格式:GMT,例如`Fri, 13 Nov 2015 14:47:53 GMT`'."\n"
.'**If-Modified-Since**和**If-Unmodified-Since**可以同时使用。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'Fri, 13 Nov 2015 14:47:53 GMT'],
],
[
'name' => 'If-Match',
'in' => 'header',
'schema' => ['description' => '如果传入的ETag和Object的ETag匹配,则正常传输Object,并返回200 OK;如果传入的ETag和Object的ETag不匹配,则返回412 Precondition Failed。'."\n"
.'Object的ETag值用于验证数据是否发生了更改,您可以基于ETag值验证数据完整性。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'fba9dede5f27731c9771645a3986****'],
],
[
'name' => 'If-None-Match',
'in' => 'header',
'schema' => ['description' => '如果传入的ETag值和Object的ETag不匹配,则正常传输Object,并返回200 OK;如果传入的ETag和Object的ETag匹配,则返回304 Not Modified。'."\n"
.'**If-Match**和**If-None-Match**可以同时使用。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => '5B3C1A2E0563E1B002CC607C****'],
],
[
'name' => 'Accept-Encoding',
'in' => 'header',
'schema' => ['description' => '指定客户端的编码类型。'."\n"
.'如果要对返回内容进行Gzip压缩传输,您需要在请求头中以显示方式加入Accept-Encoding:gzip。OSS会根据Object的Content-Type和Object大小(不小于1'."\n"
.' KB)判断是否返回经过Gzip压缩的数据。'."\n"
.'> - 如果采用了Gzip压缩,则不会附带ETag信息。'."\n"
.'> - 目前OSS支持Gzip压缩的Content-Type为text/cache-manifest、 text/xml、text/plain、text/css、application/javascript、application/x-javascript、application/rss+xml、application/json和text/json。'."\n"
."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'gzip'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => '目标文件的版本ID。', 'type' => 'string', 'required' => false, 'example' => 'CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-server-side-encryption' => [
'schema' => ['sdkPropertyName' => 'serverSideEncryption', 'type' => 'string'],
],
'x-oss-server-side-encryption-key-id' => [
'schema' => ['sdkPropertyName' => 'sseKeyId', 'type' => 'string'],
],
'x-oss-storage-class' => [
'schema' => ['sdkPropertyName' => 'storageClass', 'type' => 'string'],
],
'x-oss-object-type' => [
'schema' => ['sdkPropertyName' => 'objectType', 'type' => 'string'],
],
'x-oss-next-append-position' => [
'schema' => ['sdkPropertyName' => 'nextAppendPosition', 'type' => 'integer', 'format' => 'int64'],
],
'x-oss-hash-crc64ecma' => [
'schema' => ['sdkPropertyName' => 'crc64ecma', 'type' => 'string'],
],
'x-oss-expiration' => [
'schema' => ['sdkPropertyName' => 'expiration', 'type' => 'string'],
],
'x-oss-restore' => [
'schema' => ['sdkPropertyName' => 'restore', 'type' => 'string'],
],
'x-oss-process-status' => [
'schema' => ['sdkPropertyName' => 'processStatus', 'type' => 'string'],
],
'x-oss-request-charged' => [
'schema' => ['sdkPropertyName' => 'requestCharged', 'type' => 'string'],
],
'Content-Md5' => [
'schema' => ['type' => 'string'],
],
'Content-Length' => [
'schema' => ['type' => 'integer', 'format' => 'int64'],
],
'Last-Modified' => [
'schema' => ['type' => 'string'],
],
'Content-Type' => [
'schema' => ['type' => 'string'],
],
'ETag' => [
'schema' => ['type' => 'string'],
],
'x-oss-meta-*' => [
'style' => 'json',
'schema' => [
'type' => 'object',
'additionalProperties' => ['type' => 'string'],
'parseType' => 'struct',
],
],
'x‑oss‑tagging‑count' => [
'schema' => ['type' => 'integer', 'format' => 'int64'],
],
],
'schema' => ['description' => '对象关联的标签的个数。仅当有读取标签权限时返回。', 'type' => 'string', 'format' => 'binary', 'example' => '10'],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取文件',
'summary' => '获取某个文件(Object)。',
'description' => '**注意事项**'."\n"
."\n"
.'- GetObject接口默认可通过HTTP和HTTPS两种方式访问。如果要设置仅允许通过HTTPS方式访问,请使用Bucket Policy的授权访问方式。具体操作,请参见[通过Bucket Policy授权用户访问指定资源](~~85111~~)。'."\n"
."\n"
.'- 如果Object类型为归档类型,需要先完成解冻文件(RestoreObject)请求,且该请求不能超时。'."\n"
."\n"
.'**版本控制**'."\n"
."\n"
.'默认情况下,调用GetObject接口仅返回Object的当前版本。'."\n"
.'如果在查询参数中指定Object的versionId,则返回指定的Object版本。当versionId指定为null时,则返回versionId为null的Object版本。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObjectVersion'],
['action' => 'oss:ProcessImm'],
['action' => 'oss:GetObjectTagging'],
['action' => 'oss:RestoreObjectVersion'],
['action' => 'oss:GetObjectVersionTagging'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\"10\\"","type":"json"}]',
],
'GetObjectAcl' => [
'path' => '/{key}?acl',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['title' => 'The version of a object', 'description' => 'Object对应的版本。', 'type' => 'string', 'required' => false, 'example' => 'list1'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '存储ACL信息的响应体。',
'type' => 'object',
'properties' => [
'AccessControlPolicy' => [
'description' => '存储ACL信息的容器。',
'type' => 'object',
'properties' => [
'Owner' => ['description' => '保存Bucket拥有者信息的容器。', '$ref' => '#/components/schemas/Owner'],
'AccessControlList' => [
'description' => '存储ACL信息的容器。',
'type' => 'object',
'properties' => [
'Grant' => ['description' => 'Object的ACL权限。', '$ref' => '#/components/schemas/ObjectACL'],
],
],
],
],
],
],
],
'5XX' => [],
],
'title' => '获取文件的访问权限',
'summary' => '获取存储空间(Bucket)下某个文件(Object)的访问权限(ACL)。',
'description' => '**版本控制**'."\n"
."\n"
.'调用GetObjectACL接口时,默认只能获取Object当前版本的ACL。您可以通过指定versionId参数来获取指定Object版本的ACL。如果Object的对应版本为删除标记(Delete Marker),则OSS将返回404 Not Found。'."\n"
."\n"
.'>如果一个Object从未设置过ACL,则调用GetObjectACL时,返回的ObjectACL为default,表示该Object的ACL遵循Bucket ACL。即如果Bucket的访问权限是private,则该Object的访问权限也是private。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:31.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetObjectAcl',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObjectVersionAcl'],
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n ut_test_bucket\\n ut_test_bucket\\n \\n \\n","type":"xml"}]',
],
'GetObjectLegalHold' => [
'path' => '/{key}?legalHold',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREoss2NCTTF'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'example-bucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['title' => '对象名称', 'description' => '对象名称', 'type' => 'string', 'required' => true, 'example' => 'test.txt'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '接口请求体',
'description' => '接口请求体',
'type' => 'object',
'properties' => [
'LegalHold' => ['title' => '保存对象合法保留配置的容器', 'description' => '保存对象合法保留配置的容器', '$ref' => '#/components/schemas/LegalHold'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取Object的合法持有状态',
'summary' => '在Object上获取对象合法保留',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n ON\\n","type":"xml"}]',
],
'GetObjectMeta' => [
'path' => '/{key}?objectMeta',
'methods' => ['head'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '9049',
'abilityTreeNodes' => ['FEATUREossAI8VDR', 'FEATUREoss6C3PSM', 'FEATUREoss4HN0W2', 'FEATUREoss3B98QQ', 'FEATUREossNKCGPP'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject.txt'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => 'Object的版本ID。只有查看Object指定版本的元数据信息时才显示该字段。', 'type' => 'string', 'required' => false, 'example' => 'CAEQNRiBgIDMh4mD0BYiIDUzNDA4OGNmZjBjYTQ0YmI4Y2I4ZmVlYzJlNGVk****'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-version-id' => [
'schema' => ['title' => 'Object的版本ID。只有查看Object指定版本的元数据信息时才显示该字段。', 'type' => 'string'],
],
'ETag' => [
'schema' => ['title' => 'Object生成时会创建ETag (entity tag),ETag用于标识一个Object的内容。 对于通过PutObject请求创建的Object,ETag值是其内容的MD5值;对于其他方式创建的Object,ETag值是基于一定计算规则生成的唯一值,但不是其内容的MD5值。ETag值可以用于检查Object内容是否发生变化。不建议用户使用ETag作为Object内容的MD5校验来验证数据完整性。', 'type' => 'string'],
],
'Content-Length' => [
'schema' => ['title' => 'Object的文件大小,单位为字节。', 'type' => 'integer', 'format' => 'int64'],
],
'x-oss-last-access-time' => [
'schema' => ['title' => 'Object的最后一次访问时间。时间格式为HTTP 1.1协议中规定的GMT时间。开启访问追踪时,该字段的值会随着文件被访问的时间持续更新。如果开启后关闭了访问追踪,该字段的值保留为上一次最后更新的值。', 'type' => 'string'],
],
'Last-Modifed' => [
'schema' => ['title' => 'Object最后一次修改时间。时间格式为HTTP 1.1协议中规定的GMT时间。', 'type' => 'string'],
],
'x-oss-transition-time' => [
'schema' => ['title' => 'Object通过LIfecycle转为冷归档或深度冷归档的GMT时间。', 'type' => 'string'],
],
],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'title' => '获取文件的元数据信息',
'summary' => '获取文件(Object)的元数据信息,包括该Object的ETag、Size、LastModified信息,并且不返回该Object的内容。',
'description' => '**注意事项**'."\n"
.'- 文件(Object)的元数据信息包括该Object的ETag、Size、LastModified信息,且不返回该Object的内容。如果Object类型为软链接,则会返回软链接自身信息。'."\n"
.'- 当Bucket未启用版本控制时,要获取文件的元数据信息,您必须有oss:GetObject权限。当Bucket已启用版本控制时,要获取文件指定版本(请求中携带了x-oss-version-id请求头)的元数据信息,您必须有oss:GetObjectVersion权限。具体操作,请参见[为RAM用户授权自定义的RAM Policy](~~199058~~)。'."\n"
."\n"
.'**版本控制**'."\n"
."\n"
.'GetObjectMeta操作默认获取Object当前版本的元数据信息。如果Object的当前版本为删除标记,则返回404 Not Found。请求参数中指定versionId则返回指定版本Object的元数据信息。'."\n"
."\n",
'changeSet' => [
['createdAt' => '2024-10-10T07:15:12.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObjectVersion'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'GetObjectRetention' => [
'summary' => '在Object上配置对象级别保留策略',
'path' => '/{key}?retention',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREoss2NCTTF'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'example-bucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['title' => '对象名称', 'description' => '对象名称', 'type' => 'string', 'required' => true, 'example' => 'test.txt'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '接口请求体',
'description' => '接口请求体',
'type' => 'object',
'properties' => [
'Retention' => ['title' => '保存对象保留策略的容器', 'description' => '保存对象保留策略的容器', '$ref' => '#/components/schemas/Retention'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询Object的保留策略',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n COMPLIANCE\\n 2026-10-11T00:00:00.000Z\\n","type":"xml"}]',
],
'GetObjectTagging' => [
'path' => '/{key}?tagging',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => '获取的目标Object的版本号。', 'type' => 'string', 'required' => false, 'example' => 'CAEQExiBgID.jImWlxciIDQ2ZjgwODIyNDk5MTRhNzBiYmQwYTZkMTYzZjM0****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存标签集合的响应体。',
'type' => 'object',
'properties' => [
'Tagging' => [
'description' => '保存标签集合的容器。',
'type' => 'object',
'properties' => [
'TagSet' => ['description' => '标签集合。', '$ref' => '#/components/schemas/TagSet'],
],
],
],
],
],
'5XX' => [],
],
'title' => '获取文件的标签信息',
'summary' => '获取对象(Object)的标签(Tagging)信息。',
'description' => '**版本控制**'."\n"
."\n"
.'调用GetObjectTagging接口时,默认只能获取Object当前版本的标签信息。您可以通过指定versionId参数来获取指定Object版本的标签信息。如果Object的对应版本为删除标记(Delete Marker),则OSS将返回404 Not Found。'."\n"
."\n",
'changeSet' => [
['createdAt' => '2024-02-21T14:29:31.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetObjectTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'oss:RequestObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObjectVersionTagging'],
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n \\n testb\\n testv2\\n \\n \\n","type":"xml"}]',
],
'GetPublicAccessBlock' => [
'path' => '/?publicAccessBlock',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '207983',
'abilityTreeNodes' => ['FEATUREoss4PB2DT'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'description' => '接口响应信息。',
'type' => 'object',
'properties' => [
'PublicAccessBlockConfiguration' => ['description' => '保存阻止公共访问信息的容器。', '$ref' => '#/components/schemas/PublicAccessBlockConfiguration'],
],
],
],
],
'title' => '获取用户级别阻止公共访问配置',
'summary' => '获取绑定在用户级别的阻止公共访问的配置。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetPublicAccessBlock',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n true\\n","type":"xml"}]',
],
'GetStyle' => [
'summary' => '查询某个Bucket下指定的图片样式信息。',
'path' => '/?style',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '169384',
'abilityTreeNodes' => ['FEATUREossEPZCYR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'styleName',
'in' => 'query',
'schema' => ['description' => '图片样式名称。', 'type' => 'string', 'required' => true, 'example' => 'imagestyle'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => '保存已获取图片样式内容的响应体。',
'type' => 'object',
'properties' => [
'Style' => ['description' => '保存已获取样式内容的容器。', '$ref' => '#/components/schemas/StyleInfo'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取图片样式',
'changeSet' => [
['createdAt' => '2024-04-23T06:42:53.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T07:26:17.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetStyle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'GetSymlink' => [
'path' => '/{key}?symlink',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => '获取软链接的当前Object版本。', 'type' => 'string', 'required' => false, 'example' => 'CAEQNRiBgMClj7qD0BYiIDQ5Y2QyMjc3NGZkODRlMTU5M2VkY2U3MWRiNGRh****'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-symlink-target' => [
'schema' => ['sdkPropertyName' => 'symlinkTargetKey', 'type' => 'string'],
],
'x-oss-version-id' => [
'schema' => ['type' => 'string'],
],
],
],
'5XX' => [],
],
'title' => '获取软链接',
'summary' => '获取OSS目标文件(TargetObject)的软链接。',
'description' => '**版本控制**'."\n"
."\n"
.'GetSymlink接口默认获取软链接的当前版本。允许通过指定versionId来获取指定版本。如果软链接的当前版本为删除标记,OSS会返回404 Not Found,在响应header中返回x-oss-delete-marker = true以及版本ID : x-oss-version-id。删除标记没有关联数据,因此也没有软链接指向的TargetObject。'."\n"
."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObjectTagging'],
['action' => 'oss:GetObjectVersion'],
['action' => 'oss:GetObjectVersionTagging'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'GetUserAntiDDosInfo' => [
'path' => '/?antiDDos',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '169391',
'abilityTreeNodes' => ['FEATUREossB6Q3Z5'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => '保存高防实例信息列表的响应体。',
'type' => 'object',
'properties' => [
'AntiDDOSListConfiguration' => [
'description' => '保存高防实例信息列表的容器。',
'type' => 'object',
'properties' => [
'AntiDDOSConfiguration' => [
'description' => '保存高防实例信息的容器。',
'type' => 'array',
'items' => ['description' => '高防实例信息。', '$ref' => '#/components/schemas/UserAntiDDOSInfo'],
],
],
],
],
],
],
],
'title' => '查询高防OSS实例信息',
'summary' => '查询指定账号下的高防OSS实例信息。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:30.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetUserAntiDDosInfo',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n cbcac8d2-4f75-4d6d-9f2e-c3447f73****\\n 114893010724****\\n 1626769503\\n 1626769840\\n 1626769845\\n Defending\\n \\n","type":"xml"}]',
],
'GetVodPlaylist' => [
'path' => '/{channel}?vod',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/octet-stream'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'channel',
'in' => 'path',
'schema' => ['description' => '指定LiveChannel名称。该LiveChannel必须存在。', 'type' => 'string', 'required' => true, 'example' => 'examplechannel'],
],
[
'name' => 'endTime',
'in' => 'query',
'schema' => ['description' => '指定查询ts文件的终止时间,格式为Unix timestamp。'."\n"
.'> EndTime必须大于 StartTime,且时间跨度不能大于1天。', 'type' => 'string', 'required' => true, 'example' => '1636618271'],
],
[
'name' => 'startTime',
'in' => 'query',
'schema' => ['description' => '指定查询ts文件的起始时间,格式为Unix timestamp。', 'type' => 'string', 'required' => true, 'example' => '1636600271'],
],
],
'responses' => [
200 => [
'schema' => ['description' => '推流生成的播放列表。', 'type' => 'string', 'format' => 'binary', 'example' => '#EXTM3U'."\n"
.'#EXT-X-VERSION:3'."\n"
.'#EXT-X-MEDIA-SEQUENCE:0'."\n"
.'#EXT-X-TARGETDURATION:13'."\n"
.'#EXTINF:7.120,'."\n"
.'1543895706266.ts'."\n"
.'#EXTINF:5.840,'."\n"
.'1543895706323.ts'."\n"
.'#EXTINF:6.400,'."\n"
.'1543895706356.ts'."\n"
.'#EXTINF:5.520,'."\n"
.'1543895706389.ts'."\n"
.'#EXTINF:5.240,'."\n"
.'1543895706428.ts'."\n"
.'#EXTINF:13.320,'."\n"
.'1543895706468.ts'."\n"
.'#EXTINF:5.960,'."\n"
.'1543895706538.ts'."\n"
.'#EXTINF:6.520,'."\n"
.'1543895706561.ts'."\n"
.'#EXT-X-ENDLIST'],
],
'5XX' => [],
],
'title' => '查看直播推流的播放列表',
'summary' => '查看指定LiveChannel在指定时间段内推流生成的播放列表。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetVodPlaylist',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\"#EXTM3U\\\\n#EXT-X-VERSION:3\\\\n#EXT-X-MEDIA-SEQUENCE:0\\\\n#EXT-X-TARGETDURATION:13\\\\n#EXTINF:7.120,\\\\n1543895706266.ts\\\\n#EXTINF:5.840,\\\\n1543895706323.ts\\\\n#EXTINF:6.400,\\\\n1543895706356.ts\\\\n#EXTINF:5.520,\\\\n1543895706389.ts\\\\n#EXTINF:5.240,\\\\n1543895706428.ts\\\\n#EXTINF:13.320,\\\\n1543895706468.ts\\\\n#EXTINF:5.960,\\\\n1543895706538.ts\\\\n#EXTINF:6.520,\\\\n1543895706561.ts\\\\n#EXT-X-ENDLIST\\"","type":"json"}]',
],
'HeadObject' => [
'path' => '/{key}',
'methods' => ['head'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '9054',
'abilityTreeNodes' => ['FEATUREossAI8VDR', 'FEATUREoss4HN0W2', 'FEATUREoss3B98QQ', 'FEATUREoss6C3PSM', 'FEATUREossNKCGPP'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => '请求Object的版本号。', 'type' => 'string', 'required' => false, 'example' => 'CAEQMxiBgMCZov2D0BYiIDY4MDllOTc2YmY5MjQxMzdiOGI3OTlhNTU0ODIx****'],
],
[
'name' => 'If-Modified-Since',
'in' => 'header',
'schema' => ['description' => '如果传入参数中的时间早于实际修改时间,则返回200 OK和Object Meta;否则返回304 not modified。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'Fri, 9 Apr 2021 14:47:53 GMT'],
],
[
'name' => 'If-Unmodified-Since',
'in' => 'header',
'schema' => ['description' => '如果传入参数中的时间等于或者晚于文件实际修改时间,则返回200 OK和Object Meta;否则返回412 precondition failed。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'Fri, 13 Oct 2021 14:47:53 GMT'],
],
[
'name' => 'If-Match',
'in' => 'header',
'schema' => ['description' => '如果传入期望的ETag和Object的 ETag匹配,则返回200 OK和Object Meta;否则返回412 precondition failed。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'fba9dede5f27731c9771645a3986****'],
],
[
'name' => 'If-None-Match',
'in' => 'header',
'schema' => ['description' => '如果传入期望的ETag值和Object的ETag不匹配,则返回200 OK和Object Meta;否则返回304 Not Modified。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => '5B3C1A2E0563E1B002CC607C****'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-server-side-encryption' => [
'schema' => ['sdkPropertyName' => 'serverSideEncryption', 'title' => '如果该Object为进行服务器端熵编码加密存储的,则在响应头头中会返回此参数,其值表明该Object的服务器端加密算法。', 'type' => 'string'],
],
'x-oss-server-side-encryption-key-id' => [
'schema' => ['sdkPropertyName' => 'sseKeyId', 'title' => '如果用户在创建Object时使用了服务端加密,且加密方法为KMS,则响应中会包含此Header,表示加密所使用的用户KMS key ID。', 'type' => 'string'],
],
'x-oss-storage-class' => [
'schema' => ['sdkPropertyName' => 'storageClass', 'title' => '表示Object的存储类型,分别为标准存储类型(Standard)、低频访问存储类型(IA)、归档存储类型(Archive)、冷归档存储类型(ColdArchive)以及深度冷归档存储类型(DeepColdArchive)。', 'type' => 'string'],
],
'x-oss-object-type' => [
'schema' => ['sdkPropertyName' => 'objectType', 'title' => '表示Object的类型。 通过PutObject上传的Object类型为Normal。 通过AppendObject上传的Object类型为Appendable。 通过MultipartUpload上传的Object类型为Multipart。', 'type' => 'string'],
],
'x-oss-next-append-position' => [
'schema' => ['sdkPropertyName' => 'nextAppendPosition ', 'title' => '对于Appendable类型的Object会返回此Header,指明下一次请求应当提供的position。', 'type' => 'integer', 'format' => 'int64'],
],
'x-oss-hash-crc64ecma' => [
'schema' => ['sdkPropertyName' => 'crc64ecma', 'title' => '表示该Object的64位CRC值。该64位CRC根据ECMA-182标准计算得出。 对OSS支持CRC64校验前创建的Object,调用HeadObject接口时可能不会返回此响应头。', 'type' => 'string'],
],
'x-oss-expiration' => [
'schema' => ['sdkPropertyName' => 'expiration', 'title' => '如果为该Object设置了生命周期规则(Lifecycle),响应中将包含x-oss-expiration header。其中expiry-date的值表示该Object的过期日期,rule-id的值表示相匹配的规则ID。', 'type' => 'string'],
],
'x-oss-restore' => [
'schema' => ['sdkPropertyName' => 'restore', 'title' => '如果Bucket类型为Archive,且用户已经提交Restore请求,则响应头中会以x-oss-restore返回该Object的Restore状态,分如下几种情况: 如果没有提交Restore或者Restore已经超时,则不返回该字段。 如果已经提交Restore,且Restore没有完成,则返回的x-oss-restore值为ongoing-request=”true”。 如果已经提交Restore,且Restore已经完成,则返回的x-oss-restore值为ongoing-request=”false”, expiry-date=”Sun, 16 Apr 2017 08:12:33 GMT”,其中expiry-date是Restore完成后Object进入可读状态的过期时间。', 'type' => 'string'],
],
'x-oss-process-status' => [
'schema' => ['sdkPropertyName' => 'processStatus', 'title' => '当用户通过MNS消息服务创建OSS事件通知后,在进行请求OSS相关操作时如果有匹配的事件通知规则,则响应中会携带这个Header,值为经过Base64编码JSON格式的事件通知结果。', 'type' => 'string'],
],
'x-oss-request-charged' => [
'schema' => ['sdkPropertyName' => 'requestCharged', 'title' => '当Object所属的Bucket被设置为请求者付费模式,且请求者不是Bucket的拥有者时,响应中将携带此Header,值为requester。', 'type' => 'string'],
],
'Content-Md5' => [
'schema' => ['title' => '对于Normal类型的Object,根据RFC 1864标准对消息内容(不包括Header)计算Md5值获得128比特位数字,对该数字进行Base64编码作为一个消息的Content-Md5值。 Multipart和Appendable类型的文件不会返回这个Header。', 'type' => 'string'],
],
'Content-Length' => [
'schema' => ['title' => 'RFC 2616中定义的HTTP请求内容长度。此处是Object内容的大小,单位字节。', 'type' => 'integer', 'format' => 'int64'],
],
'Last-Modified' => [
'schema' => ['title' => 'Object最后一次修改的日期,格式为HTTP 1.1协议中规定的GMT时间。', 'type' => 'string'],
],
'Content-Type' => [
'schema' => ['title' => 'RFC 2616中定义的HTTP请求内容类型。', 'type' => 'string'],
],
'ETag' => [
'schema' => ['title' => 'ETag (entity tag) 在每个Object生成的时候被创建,用于标识一个Object的内容。对于Put Object请求创建的Object,ETag值是其内容的MD5值;对于其他方式创建的Object,ETag值是基于一定计算规则生成的唯一值,但不是其内容的MD5值。ETag值可以用于检查Object内容是否发生变化。', 'type' => 'string'],
],
'x-oss-meta-*' => [
'style' => 'json',
'schema' => [
'title' => '以x-oss-meta-为前缀的参数作为用户自定义meta header。当用户在PutObject时设置了以x-oss-meta-为前缀的自定义meta,则响应中会包含这些自定义meta。',
'type' => 'object',
'additionalProperties' => ['type' => 'string'],
'parseType' => 'struct',
],
],
'x-oss-transition-time' => [
'schema' => ['title' => '对象通过Lifecycle转为冷归档或者深度冷归档的时间。', 'type' => 'string'],
],
'x‑oss‑tagging‑count' => [
'schema' => ['title' => '对象关联的标签个数。仅当用户有读取标签权限时返回。', 'type' => 'integer', 'format' => 'int64'],
],
],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'title' => '获取文件的元信息',
'summary' => '获取某个文件(Object)的元信息。',
'description' => '- 使用此接口不会返回文件内容。'."\n"
."\n"
.'- HeadObject操作默认获取Object当前版本的元信息。如果Object的当前版本为删除标记,则返回404 Not Found。请求参数中指定versionId则返回指定版本Object的元信息。',
'changeSet' => [
['createdAt' => '2024-10-10T07:15:12.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObjectVersion'],
['action' => 'oss:GetObjectTagging'],
['action' => 'oss:GetObject'],
['action' => 'oss:GetObjectVersionTagging'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'InitBucketAntiDDosInfo' => [
'path' => '/?antiDDos',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'x-oss-defender-instance',
'in' => 'header',
'schema' => ['description' => '高防实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cbcac8d2-4f75-4d6d-9f2e-c3447f73****'],
],
[
'name' => 'x-oss-defender-type',
'in' => 'header',
'schema' => ['description' => '高防实例类型。取值固定为AntiDDosPremimum。', 'type' => 'string', 'required' => true, 'example' => 'AntiDDosPremimum'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存高防实例配置信息的请求体。',
'type' => 'object',
'properties' => [
'AntiDDOSConfiguration' => ['description' => '保存高防实例配置信息的容器。', 'required' => false, '$ref' => '#/components/schemas/BucketAntiDDOSConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '初始化Bucket防护',
'summary' => '初始化Bucket防护。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:30.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:InitBucketAntiDDosInfo',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'InitUserAntiDDosInfo' => [
'path' => '/?antiDDos',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '169389',
'abilityTreeNodes' => ['FEATUREossB6Q3Z5'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
'responses' => [
200 => [
'headers' => [
'x-oss-defender-instance' => [
'schema' => ['sdkPropertyName' => 'defenderInstance', 'type' => 'string'],
],
],
],
],
'title' => '创建高防OSS实例',
'summary' => '创建高防OSS实例。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:InitUserAntiDDosInfo',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'InitiateBucketWorm' => [
'path' => '/?worm',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '请求体。',
'type' => 'object',
'properties' => [
'InitiateWormConfiguration' => ['description' => '初始化合规保留策略的配置。', 'required' => false, '$ref' => '#/components/schemas/InitiateWormConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-worm-id' => [
'schema' => ['sdkPropertyName' => 'wormId', 'type' => 'string'],
],
],
],
'4xx' => [],
],
'title' => '新建合规保留策略',
'summary' => '新建一条合规保留策略。',
'description' => '对象存储OSS支持WORM(Write Once Read Many)特性,允许以不可删除、不可篡改的方式保存和使用数据。OSS允许针对存储空间(Bucket)设置基于时间的合规保留策略,保护周期为1天到70年。'."\n"
."\n"
.'- 当基于时间的合规保留策略创建24小时后未提交锁定,则该策略自动失效。当合规保留策略锁定后,您可以在Bucket中上传和读取文件(Object),但是在Object的保留时间到期之前,不允许删除Object及合规保留策略。Object的保留时间到期后,才可以删除Object。关于合规保留策略的更多信息,请参见[合规保留策略](~~90564~~)。'."\n"
."\n"
.'- 同一个Bucket中,版本控制和合规保留策略无法同时配置。如果Bucket已开启版本控制功能,则无法再配置保留策略。关于版本控制功能更多信息,请参见[版本控制介绍](~~109685~~)。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:30.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:InitiateBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'InitiateMultipartUpload' => [
'path' => '/{key}?uploads',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => '初始化一个Multipart Upload事件的Bucket名称。'."\n"
."\n", 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => '初始化一个Multipart Upload事件的Object名称。'."\n"
."\n", 'type' => 'string', 'required' => true, 'example' => 'multipart.data'],
],
[
'name' => 'encoding-type',
'in' => 'query',
'schema' => ['description' => '指定对返回的Key进行编码,目前支持URL编码。Key使用UTF-8字符,但XML 1.0标准不支持解析一些控制字符,例如ASCII值从0到10的字符。对于Key中包含XML'."\n"
.' 1.0标准不支持的控制字符,可以通过指定encoding-type对返回的Key进行编码。'."\n"
.'默认值:无'."\n"
.'可选值:**url**', 'required' => false, '$ref' => '#/components/schemas/EncodeType'],
],
[
'name' => 'x-oss-forbid-overwrite',
'in' => 'header',
'schema' => ['description' => '指定InitiateMultipartUpload操作时是否覆盖同名Object。当目标Bucket处于已开启或已暂停的版本控制状态时,**x-oss-forbid-overwrite**请求Header设置无效,即允许覆盖同名Object。'."\n"
.' - 不指定**x-oss-forbid-overwrite**或者指定**x-oss-forbid-overwrite**为**false**时,表示允许覆盖同名Object。'."\n"
.' - 指定**x-oss-forbid-overwrite**为**true**时,表示禁止覆盖同名Object。'."\n"
."\n"
.'设置**x-oss-forbid-overwrite**请求Header会导致QPS处理性能下降,如果您有大量的操作需要使用**x-oss-forbid-overwrite**请求Header(QPS>1000),请联系技术支持,避免影响您的业务。', 'type' => 'string', 'required' => false, 'example' => 'true'],
],
[
'name' => 'x-oss-storage-class',
'in' => 'header',
'schema' => ['description' => '指定Object的存储类型。'."\n"
.'对于任意存储类型Bucket,如果上传Object时指定该值,则此次上传的Object将存储为指定的类型。例如在IA类型的Bucket中上传Object时,如果指定**x-oss-storage-class**为Standard,则该Object直接存储为Standard类型。'."\n"
.'取值:'."\n"
."\n"
.'- Standard:标准存储'."\n"
.'- IA:低频访问'."\n"
.'- Archive:归档存储'."\n"
.'- ColdArchive:冷归档存储'."\n"
."\n"
.'关于存储类型的更多信息,请参见**[存储类型介绍](~~51374~~)**。', 'required' => false, '$ref' => '#/components/schemas/StorageClass'],
],
[
'name' => 'x-oss-tagging',
'in' => 'header',
'schema' => ['description' => '指定Object的标签,可同时设置多个标签,例如: TagA=A&TagB=B'."\n"
.'> Key和Value需要先进行URL编码,如果某项没有`=`,则看作Value为空字符串。', 'type' => 'string', 'required' => false, 'example' => 'a:1'],
],
[
'name' => 'x-oss-server-side-encryption',
'in' => 'header',
'schema' => ['description' => '指定上传该Object的每个part时使用的服务器端加密方式。'."\n"
.'取值:**AES256**、**KMS**或**SM4**'."\n"
.'> 使用KMS加密算法前,您需要先开通密钥管理服务KMS。'."\n"
."\n\n"
.'指定此参数后,在响应头中会返回此参数,OSS会对上传的每个part进行加密编码存储。当下载该Object时,响应头中会包含x-oss-server-side-encryption,且该值会被设置成此Object的加密算法。', 'type' => 'string', 'required' => false, 'example' => 'AES256'],
],
[
'name' => 'x-oss-server-side-data-encryption',
'in' => 'header',
'schema' => ['description' => '指定Object的加密算法。若未指定此选项,表明Object使用AES256加密算法。此选项仅当**x-oss-server-side-encryption**为KMS时有效。'."\n"
.'取值:SM4', 'type' => 'string', 'required' => false, 'example' => 'SM4'],
],
[
'name' => 'x-oss-server-side-encryption-key-id',
'in' => 'header',
'schema' => ['description' => '表示KMS托管的用户主密钥。'."\n"
.'该参数在**x-oss-server-side-encryption**值为KMS时有效。', 'type' => 'string', 'required' => false, 'example' => '9468da86-3509-4f8d-a61e-6eab1eac****'],
],
[
'name' => 'Cache-Control',
'in' => 'header',
'schema' => ['description' => '指定该Object被下载时的网页的缓存行为。更多信息,请参见**[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'private'],
],
[
'name' => 'Content-Disposition',
'in' => 'header',
'schema' => ['description' => '指定该Object被下载时的名称。更多信息,请参见**[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'attachment;filename=oss_download.jpg '],
],
[
'name' => 'Content-Encoding',
'in' => 'header',
'schema' => ['description' => '指定该Object被下载时的内容编码格式。更多信息,请参见**[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'utf-8'],
],
[
'name' => 'Expires',
'in' => 'header',
'schema' => ['description' => '过期时间,单位为毫秒。更多信息,请参见**[RFC 2616](https://www.ietf.org/rfc/rfc2616.txt)**。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'Fri, 28 Feb 2012 05:38:42 GMT '],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存Initiate Multipart Upload请求结果的响应体。',
'type' => 'object',
'properties' => [
'InitiateMultipartUploadResult' => [
'description' => '保存Initiate Multipart Upload请求结果的容器。',
'type' => 'object',
'properties' => [
'Bucket' => ['description' => '初始化一个Multipart Upload事件的Bucket名称。', 'type' => 'string', 'example' => 'example-bucket'],
'Key' => ['description' => '初始化一个Multipart Upload事件的Object名称。', 'type' => 'string', 'example' => 'test.txt'],
'UploadId' => ['description' => '唯一标识此次Multipart Upload事件的ID,用于后续调用UploadPart和CompleteMultipartUpload接口。', 'type' => 'string', 'example' => '0004B9894A22E5B1888A1E29F823****'],
'EncodingType' => ['description' => '指明返回结果中编码使用的类型。如果请求的参数中指定了encoding-type,那返回的结果会对Key进行编码。', 'type' => 'string', 'example' => 'url'],
],
],
],
],
],
'5XX' => [],
],
'title' => '通知OSS初始化分片上传事件',
'summary' => '通知OSS初始化一个Multipart Upload事件。',
'description' => '- 调用接口会返回一个OSS服务器创建的全局唯一的Upload ID,用于标识本次Multipart Upload事件。您可以根据这个ID来发起相关的操作,例如中止Multipart Upload、查询Multipart Upload等。'."\n"
."\n"
.'- 初始化MultipartUpload请求,并不影响已存在的同名Object。'."\n"
."\n"
.'- 该操作计算认证签名时,需要添加`?uploads`到`CanonicalizedResource`中。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:30.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:PutObjectTagging'],
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n example-bucket\\n test.txt\\n 0004B9894A22E5B1888A1E29F823****\\n url\\n","type":"xml"}]',
],
'ListAccessPoints' => [
'path' => '/?accessPoint',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '185378',
'abilityTreeNodes' => ['FEATUREoss3VNG8Q'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'max-keys',
'in' => 'query',
'schema' => ['title' => '指定返回接入点的最大数量。取值如下:'."\n"
."\n"
.'- 获取用户级别接入点时,取值要求大于 0 小于等于 1000。'."\n"
.'- 获取 Bucket 级别接入点时,取值要求大于 0 小于等于 100。', 'description' => '指定返回接入点的最大数量。取值如下:'."\n"
."\n"
.'- 获取用户级别接入点时,取值要求大于0小于等于1000。'."\n"
."\n"
.'- 获取Bucket级别接入点时,取值要求大于0小于等于100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'continuation-token',
'in' => 'query',
'schema' => ['title' => '指定 List 操作需要从此 token 开始。您可从返回结果中的 NextContinuationToken 获取此 token。', 'description' => '指定List操作需要从此token开始。您可从返回结果中的NextContinuationToken获取此token。', 'type' => 'string', 'required' => false, 'example' => 'abc'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '接口响应体。',
'description' => 'ListAccessPoints接口的响应体。',
'type' => 'object',
'properties' => [
'ListAccessPointsResult' => ['title' => '保存本次列举接入点信息结果的容器。', 'description' => '保存本次列举接入点信息结果的容器。', '$ref' => '#/components/schemas/ListAccessPointsResult'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取接入点信息',
'summary' => '获取用户级别或Bucket级别的接入点信息。',
'changeSet' => [
['createdAt' => '2024-11-28T15:04:51.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:30.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListAccessPoints',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n true\\n abc**\\n 10107***1448150\\n \\n \\n oss-example\\n \\n vpc-t4nlw426y44rd3iq4****\\n \\n \\n \\n 10\\n","type":"xml"}]',
],
'ListAccessPointsForObjectProcess' => [
'path' => '/?accessPointForObjectProcess',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '207848',
'abilityTreeNodes' => ['FEATUREoss3VNG8Q'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'max-keys',
'in' => 'query',
'schema' => ['description' => '指定返回对象FC接入点的最大数量。'."\n"
."\n"
.'取值:大于0小于等于1000。'."\n"
."\n"
.'> 如果因为max-keys的设置无法一次完成列举,返回结果会附加一个``作为下一次列举的continuation-token。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'continuation-token',
'in' => 'query',
'schema' => ['description' => '指定List操作需要从此token开始。您可以从返回结果中的NextContinuationToken获取此token。', 'type' => 'string', 'required' => false, 'example' => 'abc'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => '返回响应。',
'type' => 'object',
'properties' => [
'ListAccessPointsForObjectProcessResult' => [
'description' => '保存本次列举对象FC接入点信息结果的容器。',
'type' => 'object',
'properties' => [
'IsTruncated' => ['description' => '请求中返回的结果是否被截断。返回值如下:'."\n"
."\n"
.'- true:表示本次未返回全部结果。'."\n"
.'- false:表示本次已返回全部结果。', 'type' => 'boolean', 'example' => 'true'],
'NextContinuationToken' => ['description' => '表明本次ListAccessPointsForObjectProcess请求包含后续结果,需要将NextContinuationToken指定为continuation-token继续获取结果。', 'type' => 'string', 'example' => 'abc'],
'AccountId' => ['description' => '对象FC接入点所属的阿里云账号UID。', 'type' => 'string', 'example' => '111933544165****'],
'AccessPointsForObjectProcess' => [
'description' => '保存所有对象FC接入点信息的容器。',
'type' => 'object',
'properties' => [
'AccessPointForObjectProcess' => [
'description' => '保存单个对象FC接入点信息的容器。',
'type' => 'array',
'items' => [
'description' => '保存单个对象FC接入点信息的容器。',
'type' => 'object',
'properties' => [
'AccessPointNameForObjectProcess' => ['description' => '对象FC接入点名称。', 'type' => 'string', 'example' => 'fc-ap-01'],
'AccessPointForObjectProcessAlias' => ['description' => '对象FC接入点别名。', 'type' => 'string', 'example' => 'fc-ap-01-3b00521f653d2b3223680ec39dbbe2****-opapalias'],
'AccessPointName' => ['description' => '接入点名称。', 'type' => 'string', 'example' => 'fc-01'],
'Status' => ['description' => '对象FC接入点所处状态。返回值如下:'."\n"
."\n"
.'- enable:对象FC接入点已创建完成。'."\n"
.'- disable:对象FC接入点已禁用。'."\n"
.'- creating:对象FC接入点正在创建中。'."\n"
.'- deleting:对象FC接入点已删除。', 'type' => 'string', 'example' => 'enable'],
'AllowAnonymousAccessForObjectProcess' => ['description' => '是否允许匿名访问。'."\n"
."\n"
.'> 开启该选项之后将会允许匿名账号通过ObjectFC接入点访问您的Bucket,会产生相关费用。', 'type' => 'string', 'example' => 'false'],
],
],
],
],
],
],
],
],
],
],
],
'title' => '列举对象FC接入点',
'summary' => '获取用户级别的对象FC接入点信息。',
'description' => '阿里云账号默认拥有获取对象FC接入点信息的权限。如果您希望通过RAM用户或者STS的方式获取对象FC接入点信息,您必须拥有`oss:ListAccessPointsForObjectProcess`权限。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListAccessPointsForObjectProcess',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n true\\n abc\\n 111933544165****\\n \\n \\n fc-ap-01\\n fc-ap-01-3b00521f653d2b3223680ec39dbbe2****-opapalias\\n fc-01\\n enable\\n false\\n \\n \\n","type":"xml"}]',
],
'ListBucketAntiDDosInfo' => [
'summary' => '获取Bucket防护信息列表。',
'path' => '/?bucketAntiDDos',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '169392',
'abilityTreeNodes' => ['FEATUREossB6Q3Z5'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'marker',
'in' => 'query',
'schema' => ['description' => '设定从marker之后按字母排序开始返回高防实例。'."\n"
."\n"
.'> 第一次请求时可以将marker设置为空字符串。如果返回结果中IsTruncated存在且为true,则需要将返回结果中的marker字段作为参数进行下一次请求。', 'type' => 'string', 'required' => false, 'example' => 'nextMarker'],
],
[
'name' => 'max-keys',
'in' => 'query',
'schema' => ['description' => '指定返回的高防实例最大数量。'."\n"
."\n"
.'取值:[1,100]'."\n"
."\n"
.'默认值:100', 'type' => 'string', 'required' => false, 'example' => ' '."\n"
.'100'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'AntiDDOSListConfiguration' => [
'description' => '保存Bucket防护信息列表的容器。',
'type' => 'object',
'properties' => [
'Marker' => ['description' => '返回字母排序在指定marker之后的高防实例。', 'type' => 'string', 'example' => 'abc'],
'IsTruncated' => ['description' => '是否已返回所有高防实例。'."\n"
."\n"
.'true:本次请求未返回所有高防实例。'."\n"
."\n"
.'false:本次请求已返回所有高防实例。', 'type' => 'boolean', 'example' => 'true'],
'AntiDDOSConfiguration' => [
'description' => '保存高防实例信息的列表。',
'type' => 'array',
'items' => ['description' => '保存高防实例信息的容器。', '$ref' => '#/components/schemas/BucketAntiDDOSInfo'],
],
],
],
],
],
],
],
'title' => '获取Bucket防护信息列表',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:30.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListBucketAntiDDosInfo',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n abc\\n true\\n \\n cbcac8d2-4f75-4d6d-9f2e-c3447f73****\\n 114893010724****\\n examplebucket\\n 1626769503\\n 1626769840\\n 1626769845\\n Defending\\n AntiDDosPremimum\\n \\n abc1.example.cn\\n \\n \\n","type":"xml"}]',
],
'ListBucketDataRedundancyTransition' => [
'path' => '/?redundancyTransition',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '207262',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => '存储空间名称。', 'type' => 'string', 'required' => true, 'example' => 'example-bucket'."\n"],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '存储空间冗余类型转换任务。',
'type' => 'object',
'properties' => [
'ListBucketDataRedundancyTransition' => [
'description' => '列举存储冗余转换任务的容器。',
'type' => 'object',
'properties' => [
'BucketDataRedundancyTransition' => ['description' => '存储冗余转换任务的信息。', '$ref' => '#/components/schemas/BucketDataRedundancyTransition'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '列举存储空间冗余类型转换任务',
'summary' => '列举某个Bucket下所有的存储冗余转换任务。',
'description' => '- 要列举Bucket下所有的存储冗余转换任务,您必须具有`oss:ListBucketDataRedundancyTransition`权限。具体操作,请参见[为RAM用户授权自定义的权限策略](~~199058~~)。'."\n"
.'- 每个地域都有对应的访问域名(Endpoint)。关于地域与访问域名对应关系的更多信息,请参见[访问域名和数据中心](~~31837~~)。',
'changeSet' => [
['createdAt' => '2024-04-29T06:25:57.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n example-bucket\\n 751f5243f8ac4ae89f34726534d1****\\n Queueing\\n 2023-11-17T09:14:39.000Z\\n 2023-11-17T09:14:39.000Z\\n 2023-11-17T09:14:39.000Z\\n 88\\n 10\\n \\n","type":"xml"}]',
],
'ListBucketInventory' => [
'path' => '/?inventory',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'continuation-token',
'in' => 'query',
'schema' => ['description' => '指定List操作需要从此token开始。您可从ListBucketInventory结果中的NextContinuationToken获取此token。', 'type' => 'string', 'required' => false, 'example' => 'first'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ListInventoryConfigurationsResult' => [
'description' => '存放清单配置参数的容器。',
'type' => 'object',
'properties' => [
'InventoryConfiguration' => [
'description' => '存放清单配置参数的容器。',
'type' => 'array',
'items' => ['description' => '清单配置内容。', '$ref' => '#/components/schemas/InventoryConfiguration'],
],
'IsTruncated' => ['description' => '是否列举全部的清单任务。'."\n"
."\n"
.'有效值:true或false'."\n"
."\n"
.'如果值为false,则表明存储空间中的所有清单任务已全部列出。'."\n"
."\n"
.'如果值为true,表示还未完整列出存储空间中的所有清单任务,您可以将NextContinuationToken字段的值作为下一次list请求的continuation-token参数,以获取下一页的清单配置列表。', 'type' => 'boolean', 'example' => 'true'],
'NextContinuationToken' => ['description' => '当响应中的IsTruncated为true且NextContinuationToken非空时,使用该字段作为下一次list请求的continuation-token参数。', 'type' => 'string', 'example' => '当响应中的IsTruncated为true且NextContinuationToken非空时,使用该字段作为下一次list请求的continuation-token参数。'],
],
],
],
'description' => '',
],
],
'4xx' => [],
],
'title' => '批量获取存储空间的所有清单任务',
'summary' => '批量获取某个存储空间(Bucket)中的所有清单(Inventory)任务。',
'description' => '- 单次请求最多可获取100条清单配置项内容。若需获取超过100条清单配置项,则需发送多次请求,并保留相应的token,作为下一次请求的参数。'."\n"
."\n"
.'- 调用该请求时,请确保您有足够的权限对存储空间的清单任务进行操作。存储空间所有者默认拥有该权限,若您无该项权限,请先向存储空间所有者申请该项操作的权限。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:30.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:GetBucketInventory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n report1\\n true\\n \\n \\n 100000000000000\\n acs:ram::100000000000000:role/AliyunOSSRole\\n acs:oss:::bucket_0001\\n prefix1/\\n \\n \\n 9468da86-3509-4f8d-a61e-6eab1eac****\\n \\n \\n \\n \\n \\n \\n Pics/\\n 1637883649\\n 1638347592\\n 1024\\n 1048576\\n All\\n \\n All\\n \\n \\n true\\n \\n 600\\n \\n \\n Etag\\n \\n \\n \\n true\\n 当响应中的IsTruncated为true且NextContinuationToken非空时,使用该字段作为下一次list请求的continuation-token参数。\\n","type":"xml"}]',
],
'ListBuckets' => [
'path' => '/',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '9318',
'abilityTreeNodes' => ['FEATUREossTOZXHW'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'prefix',
'in' => 'query',
'schema' => ['title' => '限定返回的 Bucket 名称必须以 prefix 作为前缀。如果不设定,则不过滤前缀信息。', 'description' => '限定返回的Bucket名称必须以prefix作为前缀。如果不设定,则不过滤前缀信息。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'my'],
],
[
'name' => 'marker',
'in' => 'query',
'schema' => ['title' => '设定结果从 marker 之后按字母排序的第一个开始返回。如果不设定,则从头开始返回数据。', 'description' => '设定结果从marker之后按字母排序的第一个开始返回。如果不设定,则从头开始返回数据。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'mybucket10'],
],
[
'name' => 'max-keys',
'in' => 'query',
'schema' => ['title' => '限定此次返回 Bucket 的最大个数。', 'description' => '限定此次返回Bucket的最大个数。'."\n"
.'取值范围:1~1000'."\n"
.'默认值:100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
[
'name' => 'x-oss-resource-group-id',
'in' => 'header',
'schema' => ['title' => '指定资源组 ID。'."\n"
."\n"
.'如果在请求中携带该请求头并指定资源组 ID,则 OSS 会返回属于该资源组的所有 Bucket。当指定的资源组 ID 为 rg-default-id 时,OSS 会返回属于默认资源组的所有 Bucket。'."\n"
.'如果在请求中携带了该请求头但未指定资源组 ID,则 OSS 会返回属于默认资源组的所有 Bucket。'."\n"
.'如果在请求中未携带该请求头,则 OSS 会返回请求者拥有的所有 Bucket。您可以通过资源管理的控制台或 ListResourceGroups 接口获取资源组 ID。'."\n", 'description' => 'Bucket所属资源组Id', 'required' => false, '$ref' => '#/components/schemas/ResourceGroupId'],
],
[
'name' => 'tag-key',
'in' => 'query',
'schema' => ['title' => '指定Bucket标签键。列举结果中仅会包含那些打上了对应标签的Bucket。', 'description' => '指定Bucket标签键。列举结果中仅会包含那些打上了对应标签的Bucket。', 'type' => 'string', 'required' => false, 'example' => 'test-key'],
],
[
'name' => 'tag-value',
'in' => 'query',
'schema' => ['title' => '指定Bucket标签值。如果请求指定了该参数,那么必须同时指定tag-value,列举结果中仅会包含那些打上了对应标签键值对的Bucket。', 'description' => '指定Bucket标签值。如果请求指定了该参数,那么必须同时指定tag-value,列举结果中仅会包含那些打上了对应标签键值对的Bucket。', 'type' => 'string', 'required' => false, 'example' => 'test-value'],
],
[
'name' => 'tagging',
'in' => 'query',
'schema' => ['title' => '指定标签列表。如:"k1":"v1","k2":"v2",只有Bucket匹配列表中所有的标签键值对,才会出现在列举结果中。'."\n"
.'tagging参数与tag-key和tag-value两个参数不能同时存在。', 'description' => '指定标签列表。如:"k1":"v1","k2":"v2",只有Bucket匹配列表中所有的标签键值对,才会出现在列举结果中。'."\n"
.'tagging参数与tag-key和tag-value两个参数不能同时存在。', 'type' => 'string', 'required' => false, 'example' => '"test-key":"test-value"'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '接口响应体。',
'description' => 'ListBuckets(GetService)接口的响应体。',
'type' => 'object',
'properties' => [
'ListAllMyBucketsResult' => [
'title' => '保存存储空间列表的容器。',
'description' => '保存ListBuckets(GetService)请求结果的容器。',
'type' => 'object',
'properties' => [
'Owner' => ['title' => '保存 Bucket 拥有者信息的容器。', 'description' => '保存Bucket拥有者信息的容器。', '$ref' => '#/components/schemas/Owner'],
'Prefix' => ['title' => '本次查询结果的前缀。', 'description' => '本次查询结果的前缀。', 'type' => 'string', 'example' => 'logs/'],
'Marker' => ['title' => '本次 ListBuckets(GetSerivce)的起点。', 'description' => '本次ListBuckets(GetSerivce)的起点。', 'type' => 'string', 'example' => 'abc'],
'MaxKeys' => ['title' => '响应请求内返回结果的最大数。', 'description' => '响应请求内返回结果的最大数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'IsTruncated' => [
'title' => '是否所有的结果都已经返回。取值范围如下:'."\n"
."\n"
.'true:表示本次没有返回全部结果。'."\n"
.'false:表示本次已经返回了全部结果。',
'description' => '是否所有的结果都已经返回。取值范围如下:'."\n"
.'- true:表示本次没有返回全部结果。'."\n"
.'- false:表示本次已经返回了全部结果。',
'type' => 'boolean',
'enumValueTitles' => ['true' => '本次没有返回全部结果', 'false' => '本次已经返回全部结果'],
'example' => 'true',
],
'NextMarker' => ['title' => '用于继续查询时给 marker 赋值。表示下一次 ListBuckets(GetService)可以以此为 marker,将未返回的结果返回。', 'description' => '用于继续查询时给marker赋值。表示下一次ListBuckets(GetService)可以以此为marker,将未返回的结果返回。', 'type' => 'string', 'example' => 'def'],
'Buckets' => [
'title' => '保存 Bucket 信息列表的容器。',
'description' => '保存Bucket信息列表的容器。',
'type' => 'object',
'properties' => [
'Bucket' => [
'title' => '保存多个 Bucket 信息的列表。',
'description' => '保存多个Bucket信息的列表。',
'type' => 'array',
'items' => ['title' => '保存 Bucket 信息的容器。', 'description' => '保存Bucket信息的容器。', '$ref' => '#/components/schemas/Bucket'],
],
],
],
],
],
],
],
],
'5xx' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '列举存储空间',
'summary' => '列举请求者拥有的所有存储空间(Bucket)。',
'description' => '- 您也可以通过设置prefix、marker或者max-keys参数列举满足指定条件的存储空间。'."\n"
.'- 要列举存储空间,您必须有oss:GetService (ListBuckets)权限。具体操作,请参见[为RAM用户授权自定义的权限策略](https://help.aliyun.com/document_detail/199058.htm?spm=a2c4g.11186623.0.0.48be7590hCA8LI#section-ucu-jv0-zip)。'."\n"
.'- 调用接口时,如果所有Bucket已返回,则返回参数的XML中不包含Prefix、Marker、MaxKeys、IsTruncated和NextMarker响应元素。',
'changeSet' => [
['createdAt' => '2024-12-04T06:51:34.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-11-28T14:34:37.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2024-02-22T06:45:47.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:30.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListBuckets',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n ut_test_bucket\\n ut_test_bucket\\n \\n logs/\\n abc\\n 20\\n true\\n def\\n \\n \\n 2014-05-15T11:18:32.000Z\\n oss-cn-hangzhou.aliyuncs.com\\n oss-cn-hangzhou-internal.aliyuncs.com\\n oss-cn-hangzhou\\n mybucket01\\n cn-hangzhou\\n \\n \\n","type":"xml"}]',
],
'ListCname' => [
'path' => '/?cname',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => '查询Cname信息列表的响应体。',
'type' => 'object',
'properties' => [
'ListCnameResult' => [
'description' => '查询Cname信息列表的容器。',
'type' => 'object',
'properties' => [
'Bucket' => ['description' => '存储空间名称。', 'type' => 'string', 'example' => 'example-bucket'],
'Owner' => ['description' => 'Bucket拥有者的用户ID。', 'type' => 'string', 'example' => '133413***273506'],
'Cname' => [
'description' => '保存Cname信息的列表。',
'type' => 'array',
'items' => ['description' => '保存Cname信息的容器。', '$ref' => '#/components/schemas/CnameInfo'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询自定义域名列表',
'summary' => '查询某个存储空间(Bucket)下绑定的所有的自定义域名(Cname)列表。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListCname',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n example-bucket\\n 133413***273506\\n \\n example.com\\n 2021-09-15T02:35:07.000Z\\n Enabled\\n \\n CAS\\n 493****-cn-hangzhou\\n Enabled\\n Wed, 15 Sep 2021 02:35:06 GMT\\n DE:01:CF:EC:7C:A7:98:CB:D8:6E:FB:1D:97:EB:A9:64:1D:4E:**:**\\n Wed, 12 Apr 2023 10:14:51 GMT\\n Mon, 4 May 2048 10:14:51 GMT\\n \\n \\n","type":"xml"}]',
],
'ListDataLakeStorageTransferJob' => [
'path' => '/?x-oss-datalake-storage-transfer-job',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '253259',
'abilityTreeNodes' => ['FEATUREoss05MSD2'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'DataLakeStorageTransferJobs' => ['$ref' => '#/components/schemas/DataLakeStorageTransferJobs'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'changeSet' => [
['createdAt' => '2025-04-18T07:13:44.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListDataLakeStorageTransferJob',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'ListLiveChannel' => [
'path' => '/?live',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'marker',
'in' => 'query',
'schema' => ['description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'required' => false, 'example' => 'channel-1'],
],
[
'name' => 'max-keys',
'in' => 'query',
'schema' => ['description' => '限定此次返回LiveChannel的最大数。max-keys取值不能大于1000。'."\n"
.'默认值:100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
[
'name' => 'prefix',
'in' => 'query',
'schema' => ['description' => '限定返回的LiveChannel必须以prefix作为前缀。注意使用prefix查询时,返回的key中仍会包含prefix。', 'type' => 'string', 'required' => false, 'example' => 'fun/'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存ListLiveChannel请求结果的响应体。',
'type' => 'object',
'properties' => [
'ListLiveChannelResult' => [
'description' => '保存ListLiveChannel请求结果的容器。',
'type' => 'object',
'properties' => [
'Prefix' => ['description' => '本次查询结果的开始前缀。', 'type' => 'string', 'example' => 'Channel'],
'Marker' => ['description' => '本次ListLiveChannel的起点。', 'type' => 'string', 'example' => 'new'],
'MaxKeys' => ['description' => '响应请求内返回结果的最大数目。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'IsTruncated' => ['description' => '是否已返回所有的结果。'."\n"
."\n"
.'true:表示本次请求已返回全部结果。'."\n"
."\n"
.'false:表示本次请求未返回全部结果。', 'type' => 'boolean', 'example' => 'true'],
'NextMarker' => ['description' => '如果本次没有返回全部结果,响应请求中将包含NextMarker元素,用于标明接下来请求的Marker值。', 'type' => 'string', 'example' => 'channel-0'],
'LiveChannel' => [
'description' => '保存返回的LiveChannel信息的列表。',
'type' => 'array',
'items' => ['description' => '保存LiveChannel信息的容器。', '$ref' => '#/components/schemas/LiveChannel'],
],
],
],
],
],
],
'5XX' => [],
],
'title' => '列举指定的直播推流',
'summary' => '列举指定的LiveChannel。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:ListLiveChannel',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n Channel\\n new\\n 20\\n true\\n channel-0\\n \\n channel-0\\n test\\n enabled\\n ISO8601\\n \\n rtmp://test-bucket.oss-cn-hangzhou.aliyuncs.com/live/test-channel\\n \\n \\n http://test-bucket.oss-cn-hangzhou.aliyuncs.com/test-channel/playlist.m3u8\\n \\n \\n","type":"xml"}]',
],
'ListMultipartUploads' => [
'path' => '/?uploads',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'delimiter',
'in' => 'query',
'schema' => ['description' => '用于对Object名称进行分组的字符。所有名称包含指定的前缀且首次出现delimiter字符之间的Object作为一组元素CommonPrefixes。', 'type' => 'string', 'required' => false, 'example' => '/'],
],
[
'name' => 'max-uploads',
'in' => 'query',
'schema' => ['description' => '限定此次返回Multipart Upload事件的最大个数,默认值为1000。最大值为1000。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'],
],
[
'name' => 'key-marker',
'in' => 'query',
'schema' => ['description' => '与upload-id-marker参数配合使用,用于指定返回结果的起始位置。'."\n"
.' - 如果未设置upload-id-marker参数,查询结果中包含所有Object名称的字典序大于key-marker参数值的Multipart Upload事件。'."\n"
.' - 如果设置了upload-id-marker参数,查询结果中包含:'."\n"
.' - 所有Object名称的字典序大于key-marker参数值的Multipart Upload事件。'."\n"
.' - Object名称等于key-marker参数值,但是UploadId比upload-id-marker参数值大的Multipart Upload事件。', 'type' => 'string', 'required' => false, 'example' => 'test1.avi'],
],
[
'name' => 'prefix',
'in' => 'query',
'schema' => ['description' => '限定返回的Object Key必须以prefix作为前缀。注意使用prefix查询时,返回的Key中仍会包含prefix。'."\n"
.'> 您可以灵活地使用prefix参数对Bucket内的Object进行分组管理(类似文件夹功能)。', 'type' => 'string', 'required' => false, 'example' => 'fun/'],
],
[
'name' => 'upload-id-marker',
'in' => 'query',
'schema' => ['description' => '与key-marker参数配合使用,用于指定返回结果的起始位置。'."\n"
.' - 如果未设置key-marker参数,则OSS会忽略upload-id-marker参数。'."\n"
.' - 如果设置了key-marker参数,查询结果中包含:'."\n"
.' - 所有Object名称的字典序大于key-marker参数值的Multipart Upload事件。'."\n"
.' - Object名称等于key-marker参数值,但是UploadId比upload-id-marker参数值大的Multipart Upload事件。', 'type' => 'string', 'required' => false, 'example' => '0004B99B8E707874FC2D692FA5D7****'],
],
[
'name' => 'encoding-type',
'in' => 'query',
'schema' => ['description' => '指定对返回的内容进行编码,指定编码的类型。Delimiter、KeyMarker、Prefix、NextKeyMarker和Key使用UTF-8字符,但xml 1.0标准不支持解析一些控制字符,例如ASCII值从0到10的字符。对于包含xml'."\n"
.' 1.0标准不支持的控制字符,可以通过指定encoding-type对返回的Delimiter、KeyMarker、Prefix、NextKeyMarker和Key进行编码。'."\n"
."\n"
.'默认值:无', 'required' => false, '$ref' => '#/components/schemas/EncodeType'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存ListMultipartUpload请求结果的响应体。',
'type' => 'object',
'properties' => [
'ListMultipartUploadsResult' => [
'description' => '保存ListMultipartUpload请求结果的容器。',
'type' => 'object',
'properties' => [
'Bucket' => ['description' => 'Bucket名称。', 'type' => 'string', 'example' => 'example-bucket'],
'EncodingType' => ['description' => '指明返回结果中编码使用的类型。如果请求参数中指定了encoding-type,那返回的结果会对Delimiter、KeyMarker、Prefix、NextKeyMarker和Key这些元素进行编码。', 'type' => 'string', 'example' => 'url'],
'KeyMarker' => ['description' => '列表的起始Object位置。', 'type' => 'string', 'example' => 'abc'],
'UploadIdMarker' => ['description' => '列表的起始UploadId位置。', 'type' => 'string', 'example' => '0004B999EF5A239BB9138C6227D6****'],
'NextKeyMarker' => ['description' => '如果本次没有返回全部结果,响应请求中将包含NextKeyMarker元素,用于表示接下来请求的KeyMarker值。', 'type' => 'string', 'example' => 'oss.avi'],
'NextUploadIdMarker' => ['description' => '如果本次没有返回全部结果,响应请求中将包含NextUploadMarker元素,用于表示接下来请求的UploadMarker值。', 'type' => 'string', 'example' => '0004B99B8E707874FC2D692FA5D77D3F'],
'MaxUploads' => ['description' => '返回的最大Upload个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'IsTruncated' => ['description' => '表示本次返回的MultipartUpload结果列表是否被截断。取值范围如下:'."\n"
."\n"
.'true:表示本次没有返回全部结果。'."\n"
."\n"
.'false(默认):表示本次已经返回了全部结果。', 'type' => 'boolean', 'example' => 'true'],
'Prefix' => ['description' => '本次查询所用的前缀。', 'type' => 'string', 'example' => 'logs/'],
'Delimiter' => ['description' => '本次查询所用的Object名称分组字符。', 'type' => 'string', 'example' => '/'],
'Upload' => [
'description' => '保存Multipart Upload事件信息的列表。',
'type' => 'array',
'items' => ['description' => '保存Multipart Upload事件信息的容器。', '$ref' => '#/components/schemas/Upload'],
],
'CommonPrefixes' => [
'description' => '保存列举结果中Object名称公共前缀的列表。',
'type' => 'array',
'items' => ['description' => '保存列举结果中Object名称公共前缀的容器。', '$ref' => '#/components/schemas/CommonPrefix'],
],
],
],
],
],
],
'5XX' => [],
],
'title' => '列举执行中的分片上传事件',
'summary' => '列举所有执行中的Multipart Upload事件。',
'description' => '调用ListMultipartUploads接口列举所有执行中的Multipart Upload事件,即已经初始化但还未完成(Complete)或者还未中止(Abort)的Multipart Upload事件。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListMultipartUploads',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n example-bucket\\n url\\n abc\\n 0004B999EF5A239BB9138C6227D6****\\n oss.avi\\n 0004B99B8E707874FC2D692FA5D77D3F\\n 20\\n true\\n logs/\\n /\\n \\n multipart.data\\n 0004B999EF5A239BB9138C6227D6****\\n 2012-02-23T04:18:23.000Z\\n \\n \\n fun/\\n \\n","type":"xml"}]',
],
'ListObjectVersions' => [
'path' => '/?versions',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'delimiter',
'in' => 'query',
'schema' => ['title' => 'The character used to group objects by name', 'description' => '对Object名字进行分组的字符。所有Object名字包含指定的前缀(prefix),第一次出现delimiter字符之间的Object作为一组元素(即CommonPrefixes)。'."\n"
.'如果将prefix设为文件夹名称后,再把delimiter设置为正斜线(/),则只返回该文件夹下的文件,该文件夹下的子文件名在CommonPrefixes中返回,子文件夹下递归的文件和文件夹不显示。'."\n"
."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => '/'],
],
[
'name' => 'key-marker',
'in' => 'query',
'schema' => ['title' => 'The name of the object from which the list operation begins', 'description' => '设定结果从key-marker之后按字母序开始返回,与version-id-marker组合使用。'."\n"
.'参数的长度必须小于1024字节。'."\n"
."\n"
.'默认值:无'."\n"
."\n"
.'>如果version-id-marker不为空,则key-marker不能为空', 'type' => 'string', 'required' => false, 'example' => 'example'],
],
[
'name' => 'version-id-marker',
'in' => 'query',
'schema' => ['title' => 'The version id of the object from which the list operation begins', 'description' => '设定结果从key-marker对象的version-id-marker之后按新旧版本排序开始返回。如果version-id-marker未设定,则默认从key-marker按字母序排序的下一个Key的第一个版本开始返回。'."\n"
."\n"
.'默认值:无'."\n"
."\n"
.'有效值:版本ID', 'type' => 'string', 'required' => false, 'example' => 'CAEQMxiBgICbof2D0BYiIGRhZjgwMzJiMjA3MjQ0ODE5MWYxZDYwMzJlZjU1****'],
],
[
'name' => 'max-keys',
'in' => 'query',
'schema' => ['title' => 'The maximum number of objects to return', 'description' => '限定此次返回Object的最大个数。'."\n"
.'如果因为max-keys的设定无法一次完成列举,返回结果会附加`NextKeyMarker`和`NextVersionIdMarker`作为下一次列举的marker。列举结果中包含`NextKeyMarker`和`NextVersionIdMarker`的值。'."\n"
.'取值:大于0小于1000'."\n"
.'默认值:100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
[
'name' => 'prefix',
'in' => 'query',
'schema' => ['title' => 'The prefix that the returned object names must contain', 'description' => '限定返回的Object Key必须以prefix作为前缀。'."\n"
."\n"
.'- prefix的长度必须小于1024字节。'."\n"
.'- 使用prefix查询时,返回结果的Key仍会包含prefix。'."\n"
."\n"
.'如果将prefix设为某个文件夹名,则列举以此prefix开头的文件,即该文件夹下递归的所有的文件和子文件夹。'."\n"
."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'fun'],
],
[
'name' => 'encoding-type',
'in' => 'query',
'schema' => ['title' => 'The encoding type of the object name in the response', 'description' => '对返回的内容进行编码并指定编码类型。'."\n"
.'默认值:无'."\n"
.'可选值:URL'."\n"
.'>delimiter、marker、prefix、NextMarker以及Key使用UTF-8字符。如果delimiter、marker、prefix、NextMarker以及Key中包含XML'."\n"
.' 1.0标准不支持的控制字符,您可以通过指定encoding-type对返回结果中的Delimiter、Marker、Prefix、NextMarker以及Key进行编码。', 'required' => false, '$ref' => '#/components/schemas/EncodeType'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'GetBucketVersions接口的响应体。',
'type' => 'object',
'properties' => [
'ListVersionsResult' => [
'description' => '保存GetBucketVersions请求结果的容器。',
'type' => 'object',
'properties' => [
'Name' => ['title' => 'The bucket name', 'description' => 'Bucket名称。', 'type' => 'string', 'example' => 'example-bucket'],
'Prefix' => ['title' => 'The prefix that the names of returned objects must contain', 'description' => '本次查询结果的前缀。', 'type' => 'string', 'example' => 'logs/'],
'KeyMarker' => ['title' => 'Indicates the object from which the operation starts', 'description' => '标识此次GetBucketVersions的起点Object。', 'type' => 'string', 'example' => 'abc'],
'VersionIdMarker' => ['title' => 'This parameter is returned with KeyMarker together to indicate the version from which the operation starts', 'description' => '与KeyMarker参数一同使用,以指定ListObjectVersions(GetBucketVersions)的起点。', 'type' => 'string', 'example' => 'CAEQGBiBgIC_jq7P9xYiIDRiZWJkNjY2Y2Q4NDQ5ZTI5ZGE5ODIxMTIyZThl****'],
'MaxKeys' => ['title' => 'The maximum number of returned objects in the response', 'description' => '响应请求内返回结果的最大数目。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'Delimiter' => ['description' => '用于对Object名字进行分组的字符。所有名字包含指定的前缀且第一次出现Delimiter字符之间的Object作为一组元素CommonPrefixes。', 'type' => 'string', 'example' => '/'],
'IsTruncated' => ['title' => 'Indicates whether the returned results are truncated', 'description' => '指明是否已返回所有结果。'."\n"
."\n"
.'true:表示本次没有返回全部结果。'."\n"
."\n"
.'false:表示本次已返回全部结果。', 'type' => 'boolean', 'example' => 'true'],
'EncodingType' => ['description' => '指明返回结果中编码使用的类型。如果请求的参数中指定了encoding-type,则表示对返回结果中的Delimiter、Marker、Prefix、NextMarker和Key这些元素进行编码。', 'type' => 'string', 'example' => 'url'],
'NextKeyMarker' => ['description' => '如果本次没有返回全部结果,响应请求中将包含NextKeyMarker元素,用于标明接下来请求的key-marker。', 'type' => 'string', 'example' => 'def'],
'NextVersionIdMarker' => ['description' => '如果本次没有返回全部结果,响应请求中将包含NextVersionIdMarker元素,用于标明接下来请求的version-id-marker。', 'type' => 'string', 'example' => 'CAEQMxiBgICbof2D0BYiIGRhZjgwMzJiMjA3MjQ0ODE5MWYxZDYwMzJlZjU1****'],
'Version' => [
'title' => 'The container that stores the versions of objects except for delete markers',
'description' => '保存除删除标记以外的Object版本信息的列表。',
'type' => 'array',
'items' => ['description' => '保存除删除标记以外的Object版本的容器。', '$ref' => '#/components/schemas/ObjectVersion'],
],
'DeleteMarker' => [
'title' => 'The container that stores delete markers',
'description' => '保存删除标记信息的列表。',
'type' => 'array',
'items' => ['description' => '保存删除标记的容器。', '$ref' => '#/components/schemas/DeleteMarkerEntry'],
],
'CommonPrefixes' => [
'title' => 'Objects whose names contain the same string that ranges from the prefix to the next occurrence of the delimiter are grouped as a single result element',
'description' => '如果请求中指定了delimiter参数,则OSS返回的响应中包含CommonPrefixes元素。该元素标明以delimiter结尾,并有共同前缀的Object名称的集合。',
'type' => 'array',
'items' => ['description' => '以delimiter结尾,并有共同前缀的Object名称。', '$ref' => '#/components/schemas/CommonPrefix'],
],
],
],
],
],
],
'4xx' => [],
'5xx' => [],
],
'title' => '获取文件的版本信息',
'summary' => '列出Bucket中包括删除标记(Delete Marker)在内的所有Object的版本信息。',
'description' => '- GetBucket(ListObjects)接口仅返回Object的当前版本,且当前版本不能为删除标记。'."\n"
.'- GetBucketVersions(ListObjectVersions)接口返回Bucket中所有Object的所有版本。'."\n"
."\n"
.'不同Object之间按字母排序返回,同一个Object的不同版本则按从新到旧排序,与版本ID的字母序无关。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListObjectVersions',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:Prefix', 'validationType' => 'always'],
['conditionKey' => 'oss:Delimiter', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n example-bucket\\n logs/\\n abc\\n CAEQGBiBgIC_jq7P9xYiIDRiZWJkNjY2Y2Q4NDQ5ZTI5ZGE5ODIxMTIyZThl****\\n 20\\n /\\n true\\n url\\n def\\n CAEQMxiBgICbof2D0BYiIGRhZjgwMzJiMjA3MjQ0ODE5MWYxZDYwMzJlZjU1****\\n \\n example\\n CAEQMxiBgMDNoP2D0BYiIDE3MWUxNzgxZDQxNTRiODI5OGYwZGMwNGY3MzZjN****\\n true\\n 2019-04-09T07:27:28.000Z\\n 250F8A0AE989679A22926A875F0A2****\\n 93731\\n \\n ut_test_bucket\\n ut_test_bucket\\n \\n \\n \\n example\\n CAEQMxiBgMDNoP2D0BYiIDE3MWUxNzgxZDQxNTRiODI5OGYwZGMwNGY3MzZjN****\\n true\\n 2019-04-09T07:27:28.000Z\\n \\n ut_test_bucket\\n ut_test_bucket\\n \\n \\n \\n fun/\\n \\n","type":"xml"}]',
],
'ListObjects' => [
'path' => '/',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'delimiter',
'in' => 'query',
'schema' => ['description' => '对Object名字进行分组的字符。所有Object名字包含指定的前缀,第一次出现delimiter字符之间的Object作为一组元素(即CommonPrefixes)。', 'type' => 'string', 'required' => false, 'example' => '/'],
],
[
'name' => 'marker',
'in' => 'query',
'schema' => ['description' => '设定从marker之后按字母排序开始返回Object。'."\n"
.'
marker用来实现分页显示效果,参数的长度必须小于1024字节。'."\n"
.'
做条件查询时,即使marker在列表中不存在,也会从符合marker字母排序的下一个开始打印。', 'type' => 'string', 'required' => false, 'example' => 'test1.txt'],
],
[
'name' => 'max-keys',
'in' => 'query',
'schema' => ['description' => '指定返回Object的最大数。 如果因为max-keys的设定无法一次完成列举,返回结果会附加NextMarker元素作为下一次列举的marker。
取值:大于0小于1000
默认值:100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
[
'name' => 'prefix',
'in' => 'query',
'schema' => ['description' => '限定返回文件的Key必须以prefix作为前缀。'."\n"
."\n"
.'- prefix参数的长度必须小于1024字节。'."\n"
."\n"
.'- 使用prefix查询时,返回的Key中仍会包含prefix。'."\n"
."\n"
.'如果把prefix设为某个文件夹名,则列举以此Prefix开头的文件,即该文件夹下递归的所有文件和子文件夹。
'."\n"
.'在设置prefix的基础上,将delimiter设置为正斜线(/)时,返回值中只列举该文件夹下的文件,文件夹下的子文件夹名返回在CommonPrefixes中,子文件夹下递归的所有文件和文件夹不显示。
'."\n"
.'例如,一个Bucket中有三个Object ,分别为fun/test.jpg、 fun/movie/001.avi和fun/movie/007.avi。如果设定prefix为fun/,则返回三个Object;如果在prefix设置为fun/的基础上,将delimiter设置为正斜线(/),则返回fun/test.jpg和fun/movie/。', 'type' => 'string', 'required' => false, 'example' => 'fun'],
],
[
'name' => 'encoding-type',
'in' => 'query',
'schema' => [
'description' => '对返回的内容进行编码并指定编码的类型。'."\n"
."\n"
.'> delimiter、marker、prefix、NextMarker以及Key使用UTF-8字符。如果delimiter、marker、prefix、NextMarker以及Key中包含XML 1.0标准不支持的控制字符,您可以通过指定encoding-type对返回结果中的Delimiter、Marker、Prefix、NextMarker以及Key进行编码。',
'required' => false,
'enumValueTitles' => [],
'$ref' => '#/components/schemas/EncodeType',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'GetBucket(ListObjects)接口的响应体。',
'type' => 'object',
'properties' => [
'ListBucketResult' => [
'description' => '保存GetBucket请求结果的容器。',
'type' => 'object',
'properties' => [
'Name' => ['title' => 'The bucket name', 'description' => 'Bucket名称。', 'type' => 'string', 'example' => 'example-bucket'],
'Prefix' => ['title' => 'The prefix that the names of returned objects contain', 'description' => '本次查询结果的前缀。', 'type' => 'string', 'example' => 'logs/'],
'Marker' => ['title' => 'The name of the object from which the list operation begins', 'description' => '标识此次GetBucket(ListObjects)的起点。', 'type' => 'string', 'example' => 'abc'],
'MaxKeys' => ['title' => 'The maximum number of returned objects in the response', 'description' => '响应请求内返回结果的最大数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'Delimiter' => ['title' => 'The character used to group objects by name', 'description' => '对Object名字进行分组的字符。所有名字包含指定的前缀且第一次出现Delimiter字符之间的Object作为一组元素CommonPrefixes。', 'type' => 'string', 'example' => '/'],
'IsTruncated' => [
'title' => 'Indicates whether the returned results are truncated',
'description' => '请求中返回的结果是否被截断。'."\n"
."\n"
.'返回值:true、false'."\n"
."\n"
.'true表示本次没有返回全部结果。'."\n"
."\n"
.'false表示本次已经返回了全部结果。',
'type' => 'boolean',
'enumValueTitles' => ['true' => '本次没有返回全部结果', 'false' => '本次已经返回全部结果'],
'example' => 'true',
],
'EncodingType' => ['description' => '指明了返回结果中编码使用的类型。如果请求的参数中指定了encoding-type,则会对返回结果中的Delimiter、Marker、Prefix、NextMarker和Key这些元素进行编码。', 'type' => 'string', 'example' => 'url'],
'NextMarker' => ['description' => '下一次列举文件的起点。', 'type' => 'string', 'example' => 'def'],
'Contents' => [
'title' => 'The container that stores the returned object metadata',
'description' => '保存每个返回Object元数据的容器。',
'type' => 'array',
'items' => ['description' => '保存Object元数据的容器。', '$ref' => '#/components/schemas/ObjectSummary'],
],
'CommonPrefixes' => [
'title' => 'Objects whose names contain the same string that ranges from the prefix to the next occurrence of the delimiter are grouped as a single result element',
'description' => '如果请求中指定了Delimiter参数,则会在返回的响应中包含CommonPrefixes元素。该元素表明以Delimiter结尾,并有共同前缀的Object名称的集合。',
'type' => 'array',
'items' => ['description' => '以Delimiter结尾,并有共同前缀的Object名称。', '$ref' => '#/components/schemas/CommonPrefix'],
],
],
],
],
],
],
'4xx' => [],
'5xx' => [],
],
'title' => '列举存储空间中所有文件的信息',
'summary' => '列举存储空间(Bucket)中所有文件(Object)的信息。',
'description' => '- GetBucket (ListObjects)接口已修订为GetBucketV2 (ListObjectsV2)。建议您在开发应用程序时使用较新的版本GetBucketV2 (ListObjectsV2)。为保证向后兼容性,OSS继续支持GetBucket (ListObjects)。有关GetBucketV2 (ListObjectsV2)的更多信息,请参见[GetBucketV2 (ListObjectsV2)](~~187544~~)。'."\n"
."\n"
.'- 执行GetBucket (ListObjects)请求时不会返回Object中自定义的元信息。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListObjects',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:Prefix', 'validationType' => 'always'],
['conditionKey' => 'oss:Delimiter', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n example-bucket\\n logs/\\n abc\\n 20\\n /\\n true\\n url\\n def\\n \\n fun/test.jpg\\n 2012-02-24T08:42:32.000Z\\n 5B3C1A2E053D763E1B002CC607C5A0FE1****\\n Normal\\n 344606\\n \\n ut_test_bucket\\n ut_test_bucket\\n \\n ongoing-request=\\"true”\\n \\n \\n fun/\\n \\n","type":"xml"}]',
],
'ListObjectsV2' => [
'summary' => '列举存储空间(Bucket)中所有文件(Object)的信息。',
'path' => '/?list-type=2',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'delimiter',
'in' => 'query',
'schema' => ['title' => 'The character used to group objects by name', 'description' => '对Object名字进行分组的字符。所有Object名字包含指定的前缀,第一次出现Delimiter字符之间的Object作为一组元素(即CommonPrefixes)。', 'type' => 'string', 'required' => false, 'example' => '/'],
],
[
'name' => 'max-keys',
'in' => 'query',
'schema' => ['title' => 'The maximum number of objects to return', 'description' => '指定返回Object的最大数。
取值:大于0小于1000
默认值:100'."\n"
."\n"
.'> 如果因为Max-keys的设定无法一次完成列举,返回结果会附加一个作为下一次列举的Continuation-token。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
[
'name' => 'prefix',
'in' => 'query',
'schema' => ['title' => 'The prefix that the returned object names must contain', 'description' => '限定返回文件的Key必须以Prefix作为前缀。
'."\n"
."\n"
.'- 参数的长度必须小于1024字节。'."\n"
."\n"
.'- 使用Prefix查询时,返回的Key中仍会包含Prefix。'."\n"
."\n"
.'如果把Prefix设为某个文件夹名,则列举以此Prefix开头的文件,即该文件夹下递归的所有文件和子文件夹。
'."\n"
.'在设置Prefix的基础上,将Delimiter设置为正斜线(/)时,返回值就只列举该文件夹下的文件,文件夹下的子文件夹名返回在CommonPrefixes中,子文件夹下递归的所有文件和文件夹不显示。
'."\n"
.'例如,一个Bucket中有三个Object ,分别为fun/test.jpg、 fun/movie/001.avi和fun/movie/007.avi。若设定Prefix为fun/,则返回三个Object;如果在Prefix设置为fun/的基础上,将Delimiter设置为正斜线(/),则返回fun/test.jpg和fun/movie/。', 'type' => 'string', 'required' => false, 'example' => 'a'],
],
[
'name' => 'encoding-type',
'in' => 'query',
'schema' => [
'title' => 'The encoding type of the object name in the response',
'description' => '对返回的内容进行编码并指定编码的类型。'."\n"
."\n"
.'> Delimiter、Start-after、Prefix、NextContinuationToken以及Key使用UTF-8字符。如果Delimiter、Start-after、Prefix、NextContinuationToken以及Key中包含XML 1.0标准不支持的控制字符,您可以通过指定Encoding-type对返回结果中的Delimiter、Start-after、Prefix、NextContinuationToken以及Key进行编码。',
'required' => false,
'enumValueTitles' => [],
'$ref' => '#/components/schemas/EncodeType',
],
],
[
'name' => 'fetch-owner',
'in' => 'query',
'schema' => [
'description' => '指定是否在返回结果中包含owner信息。可选值如下:'."\n"
."\n"
.'- true:表示返回结果中包含owner信息。'."\n"
."\n"
.'- false:表示返回结果中不包含owner信息。',
'type' => 'boolean',
'required' => false,
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'true',
],
],
[
'name' => 'start-after',
'in' => 'query',
'schema' => ['description' => '设定从Start-after之后按字母排序开始返回Object。
'."\n"
.'Start-after用来实现分页显示效果,参数的长度必须小于1024字节。'."\n"
.'
做条件查询时,即使Start-after在列表中不存在,也会从符合Start-after字母排序的下一个开始打印。', 'type' => 'string', 'required' => false, 'example' => 'b'],
],
[
'name' => 'continuation-token',
'in' => 'query',
'schema' => ['description' => '指定list操作需要从此token开始。您可从ListObjectsV2结果中的NextContinuationToken获取此token。', 'type' => 'string', 'required' => false, 'example' => 'test1.txt'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'ListObjectsV2接口的响应体。',
'type' => 'object',
'properties' => [
'ListBucketResult' => [
'description' => '保存返回Object元信息的容器。',
'type' => 'object',
'properties' => [
'Name' => ['title' => 'The bucket name', 'description' => 'Bucket名称。', 'type' => 'string', 'example' => 'example-bucket'],
'Prefix' => ['title' => 'The prefix that the names of returned objects must contain', 'description' => '本次查询结果的前缀。', 'type' => 'string', 'example' => 'logs/'],
'StartAfter' => ['description' => '如果请求中指定了StartAfter参数,则会在返回的响应中包含StartAfter元素。', 'type' => 'string', 'example' => 'test.txt'],
'MaxKeys' => ['title' => 'The maximum number of returned objects in the response', 'description' => '响应请求内返回结果的最大数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'Delimiter' => ['description' => '对Object名字进行分组的字符。所有名字包含指定的前缀且第一次出现Delimiter字符之间的Object作为一组元素CommonPrefixes。', 'type' => 'string', 'example' => '/'],
'IsTruncated' => [
'title' => 'Indicates whether the returned results are truncated',
'description' => '请求中返回的结果是否被截断。'."\n"
."\n"
.'返回值:true、false'."\n"
."\n"
.'true表示本次没有返回全部结果。'."\n"
."\n"
.'false表示本次已经返回了全部结果。',
'type' => 'boolean',
'enumValueTitles' => ['true' => '本次没有返回全部结果', 'false' => '本次已经返回全部结果'],
'example' => 'true',
],
'KeyCount' => ['description' => '此次请求返回的Key的个数。如果指定了Delimiter,则KeyCount为Key和CommonPrefixes的元素之和。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
'EncodingType' => ['description' => '指明返回结果中编码使用的类型。如果请求的参数中指定了Encoding-type,则会对返回结果中的Delimiter、StartAfter、Prefix、NextContinuationToken和Key这些元素进行编码。', 'type' => 'string', 'example' => 'url'],
'ContinuationToken' => ['description' => '如果请求中指定了ContinuationToken参数,则会在返回的响应中包含ContinuationToken元素。', 'type' => 'string', 'example' => 'CgJiYw--'],
'NextContinuationToken' => ['description' => '表明此次ListObjectsV2(GetBucketV2)请求包含后续结果,需要将NextContinuationToken指定为ContinuationToken继续获取结果。', 'type' => 'string', 'example' => 'CgJiYw--'],
'Contents' => [
'title' => 'The container that stores the versions of objects except for delete markers',
'description' => '保存每个返回Object元数据的容器。',
'type' => 'array',
'items' => ['description' => '保存单个Object元数据的容器。', '$ref' => '#/components/schemas/ObjectSummary'],
],
'CommonPrefixes' => [
'title' => 'Objects whose names contain the same string that ranges from the prefix to the next occurrence of the delimiter are grouped as a single result element',
'description' => '如果请求中指定了Delimiter参数,则会在返回的响应中包含CommonPrefixes元素。该元素表明以Delimiter结尾,并有共同前缀的Object名称的集合。',
'type' => 'array',
'items' => ['description' => '以Delimiter结尾,并有共同前缀的Object名称。', '$ref' => '#/components/schemas/CommonPrefix'],
],
],
],
],
],
],
'4xx' => [],
'5xx' => [],
],
'title' => '列举存储空间中所有文件的信息V2',
'description' => '执行GetBucketV2 (ListObjectsV2)请求时不会返回Object中自定义的元信息。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListObjects',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:Prefix', 'validationType' => 'always'],
['conditionKey' => 'oss:Delimiter', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n example-bucket\\n logs/\\n test.txt\\n 20\\n /\\n true\\n 6\\n url\\n CgJiYw--\\n CgJiYw--\\n \\n fun/test.jpg\\n 2012-02-24T08:42:32.000Z\\n 5B3C1A2E053D763E1B002CC607C5A0FE1****\\n Normal\\n 344606\\n \\n ut_test_bucket\\n ut_test_bucket\\n \\n ongoing-request=\\"true”\\n \\n \\n fun/\\n \\n","type":"xml"}]',
],
'ListParts' => [
'path' => '/{key}',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'uploadId',
'in' => 'query',
'schema' => ['description' => 'MultipartUpload事件的ID。'."\n", 'type' => 'string', 'required' => true, 'example' => '0004B999EF5A239BB9138C6227D69F95'],
],
[
'name' => 'max-parts',
'in' => 'query',
'schema' => ['description' => '规定在OSS响应中的最大Part数目。'."\n"
."\n"
.'默认值:**1,000**'."\n"
."\n"
.'最大值:**1,000**', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'],
],
[
'name' => 'part-number-marker',
'in' => 'query',
'schema' => ['description' => '指定List的起始位置,只有Part Number数目大于该参数的Part会被列出。'."\n"
.'默认值:无', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
[
'name' => 'encoding-type',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '指定对返回的内容进行编码,指定编码的类型。Key使用UTF-8字符,但xml 1.0标准不支持解析一些控制字符,比如ascii值从0到10的字符。对于Key中包含xml 1.0标准不支持的控制字符,可以通过指定Encoding-type对返回的Key进行编码。'."\n"
."\n"
.'默认值:无'."\n"
."\n"
.'可选值:**url**', 'required' => false, '$ref' => '#/components/schemas/EncodeType'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存List Part请求结果的响应体。',
'type' => 'object',
'properties' => [
'ListPartResult' => [
'description' => '保存List Part请求结果的容器。',
'type' => 'object',
'properties' => [
'Bucket' => ['description' => 'Bucket名称。', 'type' => 'string', 'example' => 'example-bucket'],
'Key' => ['description' => 'Object名称。', 'type' => 'string', 'example' => 'multipart.data'],
'UploadId' => ['description' => 'Upload事件ID。', 'type' => 'string', 'example' => '0004B999EF5A239BB9138C6227D69F95'],
'PartNumberMarker' => ['description' => '本次List结果的Part Number起始位置。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'NextPartNumberMarker' => ['description' => '如果本次没有返回全部结果,响应请求中将包含NextPartNumberMarker元素,用于标明接下来请求的PartNumberMarker值。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'MaxParts' => ['description' => '返回请求中最大的Part数目。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'IsTruncated' => ['description' => '标明本次返回的ListParts结果列表是否被截断。“true”表示本次没有返回全部结果;“false”表示本次已经返回了全部结果。', 'type' => 'boolean', 'example' => 'true'],
'Part' => [
'description' => '保存Part信息的列表。',
'type' => 'array',
'items' => ['description' => '保存Part信息的容器。', '$ref' => '#/components/schemas/Part'],
],
],
],
],
],
],
'5xx' => [],
],
'title' => '列举所有成功上传的数据块',
'summary' => '列举指定Upload ID所属的所有已经上传成功Part。',
'description' => '- OSS的返回结果按照Part号码升序排列。'."\n"
."\n"
.'- 由于网络传输可能出错,所以不推荐使用ListParts返回结果中的Part Number和ETag值来生成已经上传成功的Part列表。'."\n",
'changeSet' => [
['createdAt' => '2024-02-21T14:29:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListParts',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n example-bucket\\n multipart.data\\n 0004B999EF5A239BB9138C6227D69F95\\n 10\\n 5\\n 20\\n true\\n \\n 3349DC700140D7F86A0784842780****\\n 1\\n 6291456\\n 2012-02-23T07:01:34.000Z\\n \\n","type":"xml"}]',
],
'ListStyle' => [
'summary' => '查询某个Bucket下已创建的所有图片样式。',
'path' => '/?style',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '169386',
'abilityTreeNodes' => ['FEATUREossEPZCYR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => false, 'example' => 'examplebucket'."\n"],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存图片样式信息的响应体。',
'type' => 'object',
'properties' => [
'StyleList' => [
'description' => '保存图片样式信息列表的容器。',
'type' => 'object',
'properties' => [
'Style' => [
'description' => '保存图片样式信息的列表。',
'type' => 'array',
'items' => ['description' => '图片样式信息。', '$ref' => '#/components/schemas/StyleInfo'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询图片样式',
'changeSet' => [
['createdAt' => '2024-02-21T07:26:17.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListStyle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n","type":"xml"}]',
],
'OpenMetaQuery' => [
'summary' => '开启元数据管理功能。开启元数据管理功能后,OSS会为Bucket创建元数据索引库并为Bucket中的所有文件(Object)建立元数据索引。元数据索引库创建完成后,OSS会继续对Bucket中新增文件进行准实时的增量追踪扫描并为增量文件建立元数据索引。',
'path' => '/?metaQuery&comp=add',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '169400',
'abilityTreeNodes' => ['FEATUREossNCEJ8M'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'mode',
'in' => 'query',
'schema' => ['title' => '检索模式。取值如下:'."\n"
."\n"
.'basic(默认值):标量检索'."\n"
."\n"
.'semantic:向量检索', 'description' => '检索模式。取值如下:'."\n"
."\n"
.'basic(默认值):标量检索'."\n"
."\n"
.'semantic:向量检索', 'type' => 'string', 'required' => false],
],
[
'name' => 'role',
'in' => 'query',
'schema' => ['title' => '指定用于访问 OSS 服务的 RAM 角色名称,支持在控制台为角色授予权限,实现安全访问。', 'description' => '指定用于访问 OSS 服务的 RAM 角色名称,支持在控制台为角色授予权限,实现安全访问。', 'type' => 'string', 'required' => false],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'title' => '接口请求体参数',
'description' => '接口请求体参数',
'type' => 'object',
'properties' => [
'MetaQuery' => ['title' => '保存为Bucket开启元数据管理功能的请求体参数', 'description' => '保存为Bucket开启元数据管理功能的请求体参数', 'required' => false, '$ref' => '#/components/schemas/MetaQueryOpenRequest'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '开启元数据管理功能',
'changeSet' => [
['createdAt' => '2025-11-11T05:50:28.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-03-31T01:55:14.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:OpenMetaQuery',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'OptionObject' => [
'path' => '/{key}',
'methods' => ['options'],
'schemes' => ['http', 'https'],
'security' => [
[
'Anonymous' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'read',
'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'Origin',
'in' => 'header',
'schema' => ['description' => '请求来源域,用于标识跨域请求。'."\n"
.'在实际请求中只能设置一个该请求头。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'http://www.example.com'],
],
[
'name' => 'Access-Control-Request-Method',
'in' => 'header',
'schema' => ['description' => '在实际请求中会用到的方法。'."\n"
.'在实际请求中只能设置一个该请求头。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'PUT'],
],
[
'name' => 'Access-Control-Request-Headers',
'in' => 'header',
'schema' => ['description' => '在实际请求中会用到的除了简单头部之外的header。'."\n"
.'在实际请求中可以为该请求头设置多个header,多个header之间使用英文逗号(,)隔开。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'x-oss-test1,x-oss-test2'],
],
],
'responses' => [
200 => [
'headers' => [
'Access-Control-Allow-Origin' => [
'schema' => ['type' => 'string'],
],
'Access-Control-Allow-Methods' => [
'schema' => ['type' => 'string'],
],
'Access-Control-Allow-Headers' => [
'schema' => ['type' => 'string'],
],
'Access-Control-Expose-Headers' => [
'schema' => ['type' => 'string'],
],
'Access-Control-Max-Age' => [
'schema' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
'5XX' => [],
],
'title' => '发送预检请求',
'summary' => '浏览器在发送跨域请求之前会发送一个preflight请求(Options)给OSS,并带上特定的来源域、HTTP方法和header等信息,以决定是否发送真正的请求。',
'description' => 'Options请求是由浏览器自动根据是否跨域来决定是否发送。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PostObject' => [
'path' => '/',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['multipart/form-data'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => false, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'formData',
'schema' => ['description' => '上传Object的名称,无需编码。如果名称包含路径,例如destfolder/example.jpg,则OSS会自动创建相应的文件夹。 默认值:无', 'type' => 'string', 'required' => false, 'example' => 'example.jpg'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '用HTML表单方式上传文件',
'summary' => '通过HTML表单上传的方式将文件(Object)上传到指定存储空间(Bucket)。',
'description' => '- 通过PostObject上传的Object大小不能超过5GB。'."\n"
."\n"
.'- Post请求需要对Bucket拥有写权限。如果Bucket为public-read-write,可以不上传签名信息,否则要求对该操作进行签名验证。'."\n"
."\n"
.'- 与Put操作不同,Post操作使用AccessKey Secret对Policy进行签名,计算出签名字符串作为Signature表单域的值,OSS通过验证该值从而判断签名的合法性。'."\n"
."\n"
.'- 提交表单的URL为Bucket域名,不需要在URL中指定Object。即请求行是`POST T/ HTTP/1.1`,不能写为`POST /ObjectName HTTP/1.1`。'."\n"
."\n"
.'- 如果POST请求中包含Header签名信息或URL签名信息,OSS不会对此类信息做检查。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:RequestObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PostVodPlaylist' => [
'path' => '/{channel}/{playlist}?vod',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'channel',
'in' => 'path',
'schema' => ['description' => '指定LiveChannel名称,该LiveChannel必须存在。', 'type' => 'string', 'required' => true, 'example' => 'examplechannel'],
],
[
'name' => 'playlist',
'in' => 'path',
'schema' => ['description' => '指定生成的点播播放列表的名称,必须以“.m3u8”结尾。', 'type' => 'string', 'required' => true, 'example' => 'playlist.m3u8'],
],
[
'name' => 'endTime',
'in' => 'query',
'schema' => ['description' => '指定查询ts文件的终止时间。'."\n"
.'格式:Unix timestamp'."\n"
.'>EndTime必须大于StartTime,且时间跨度不能大于1天。', 'type' => 'string', 'required' => true, 'example' => '1636618271'],
],
[
'name' => 'startTime',
'in' => 'query',
'schema' => ['description' => '指定查询ts文件的起始时间,格式为Unix timestamp。', 'type' => 'string', 'required' => true, 'example' => '1636600271'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '为直播推流生成点播的播放列表',
'summary' => '为指定的LiveChannel生成一个点播用的播放列表。',
'description' => 'OSS会查询指定时间范围内由该LiveChannel推流生成的ts文件,并将其拼装为一个m3u8播放列表。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutAccessPointPolicy' => [
'path' => '/?accessPointPolicy',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => false, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'x-oss-access-point-name',
'in' => 'header',
'schema' => ['description' => '接入点名称。', 'type' => 'string', 'required' => false, 'example' => 'ap-01'],
],
[
'name' => 'body',
'in' => 'body',
'schema' => ['description' => '接入点策略配置内容。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
.' "Version":"1",'."\n"
.' "Statement":['."\n"
.' {'."\n"
.' "Action":['."\n"
.' "oss:PutObject",'."\n"
.' "oss:GetObject"'."\n"
.' ],'."\n"
.' "Effect":"Deny",'."\n"
.' "Principal":["27737962156157xxxx"],'."\n"
.' "Resource":['."\n"
.' "acs:oss:ap-southeast-2:111933544165xxxx:accesspoint/$ap-01",'."\n"
.' "acs:oss:ap-southeast-2:111933544165xxxx:accesspoint/$ap-01/object/*"'."\n"
.' ]'."\n"
.' }'."\n"
.' ]'."\n"
.' } '],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '配置接入点策略',
'summary' => '配置接入点策略。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutAccessPointPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutAccessPointPublicAccessBlock' => [
'path' => '/?publicAccessBlock',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '207993',
'abilityTreeNodes' => ['FEATUREoss4PB2DT'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => 'A short description of struct', 'description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'x-oss-access-point-name',
'in' => 'query',
'schema' => ['description' => '接入点名称。', 'type' => 'string', 'required' => true, 'example' => 'ap-01'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '接口请求体。',
'type' => 'object',
'properties' => [
'PublicAccessBlockConfiguration' => ['description' => '保存阻止公共访问配置信息的容器。', 'required' => false, '$ref' => '#/components/schemas/PublicAccessBlockConfiguration'],
],
'required' => false,
],
],
],
'responses' => [],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改接入点阻止公共访问配置',
'summary' => '修改指定接入点的阻止公共访问的配置信息。',
'changeSet' => [
['createdAt' => '2024-05-08T05:41:36.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutAccessPointPublicAccessBlock',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucket' => [
'path' => '/',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '9062',
'abilityTreeNodes' => ['FEATUREossAI8VDR', 'FEATUREoss4HN0W2'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => 'Bucket 名称。存储空间的命名规范如下:'."\n"
."\n"
.'只能包括小写字母、数字和短划线(-)。'."\n"
.'必须以小写字母或者数字开头和结尾。'."\n"
.'长度必须在 3~63 字符之间。', 'description' => 'Bucket名称。存储空间的命名规范如下:'."\n"
."\n"
.'- 只能包括小写字母、数字和短划线(-)。'."\n"
.'- 必须以小写字母或者数字开头和结尾。'."\n"
.'- 长度必须在3~63字符之间。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'x-oss-acl',
'in' => 'header',
'schema' => [
'title' => 'Bucket 的访问权限 ACL。取值范围如下:'."\n"
."\n"
.'public-read-write:公共读写'."\n"
.'public-read:公共读'."\n"
.'private(默认):私有',
'description' => '指定Bucket的访问权限ACL。包含如下三种访问权限:'."\n"
."\n"
.'- public-read-write:公共读写'."\n"
."\n"
.'- public-read:公共读'."\n"
."\n"
.'- private:私有(默认值)'."\n"
."\n"
.'关于Bucket访问权限ACL的更多信息,请参见[设置存储空间访问权限ACL](~~31843~~)。',
'required' => false,
'enumValueTitles' => [],
'$ref' => '#/components/schemas/BucketACL',
],
],
[
'name' => 'x-oss-resource-group-id',
'in' => 'header',
'schema' => ['title' => '指定资源组 ID。'."\n"
."\n"
.'如果在请求中携带该请求头并指定资源组 ID,则 OSS 会返回属于该资源组的所有 Bucket。当指定的资源组 ID 为 rg-default-id 时,OSS 会返回属于默认资源组的所有 Bucket。'."\n"
.'如果在请求中携带了该请求头但未指定资源组 ID,则 OSS 会返回属于默认资源组的所有 Bucket。'."\n"
.'如果在请求中未携带该请求头,则 OSS 会返回请求者拥有的所有 Bucket。您可以通过资源管理的控制台或 ListResourceGroups 接口获取资源组 ID。', 'description' => '指定资源组ID。'."\n"
.'- 如果在请求中携带该请求头并指定资源组ID,则创建的存储空间属于该资源组。当指定的资源组ID为rg-default-id时,创建的存储空间属于默认资源组。'."\n"
.'- 如果在请求中未携带该请求头,则创建的存储空间属于默认资源组。'."\n"
."\n"
.'您可以通过资源管理的控制台或ListResourceGroups接口获取资源组ID。具体操作,请分别参见[查看资源组基本信息](~~151181~~)和[ListResourceGroups](~~158855~~)。'."\n"
.'> 创建无地域属性Bucket时不支持配置资源组。', 'required' => false, '$ref' => '#/components/schemas/ResourceGroupId'],
],
[
'name' => 'x-oss-bucket-tagging',
'in' => 'header',
'schema' => ['title' => '指定Bucket标签,如 k1=v1&k2=v2。', 'description' => '指定Bucket标签,如 k1=v1&k2=v2。', 'type' => 'string', 'required' => false, 'example' => 'k1=v1&k2=v2'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'title' => '接口请求体',
'description' => '存储创建Bucket信息的容器。',
'type' => 'object',
'properties' => [
'CreateBucketConfiguration' => ['title' => '存储创建 Bucket 信息的容器。', 'description' => '创建Bucket时使用的配置信息。', 'required' => false, '$ref' => '#/components/schemas/CreateBucketConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建存储空间',
'summary' => '创建一个存储空间(Bucket)。',
'description' => '- 同一阿里云账号在同一地域(Region)内最多支持创建100个Bucket。'."\n"
.'- 每个地域都有对应的访问域名(Endpoint)。关于地域与访问域名对应关系的更多信息,请参见[访问域名和数据中心](~~31837~~)。',
'extraInfo' => '此接口所对应的各语言SDK如下:'."\n"
.'- Java'."\n"
.'- Python'."\n"
.'- PHP'."\n"
.'- Go'."\n"
.'- C'."\n"
.'- .NET'."\n"
.'- Android'."\n"
.'- iOS'."\n"
.'- Node.js'."\n"
.'- Ruby',
'changeSet' => [
['createdAt' => '2024-12-05T08:32:17.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-12-04T06:51:34.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-11-28T14:34:37.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T14:29:29.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutBucket',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:x-oss-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
'additionalActions' => [
['action' => 'oss:PutBucketAcl'],
],
],
],
'responseDemo' => '[{"type":"xml","example":"\\n","errorExample":""},{"type":"xml","example":"\\n","errorExample":""}]',
],
'PutBucketAccessMonitor' => [
'path' => '/?accessmonitor',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '修改访问跟踪状态配置的请求体。',
'type' => 'object',
'properties' => [
'AccessMonitorConfiguration' => ['description' => '保存Bucket的访问跟踪状态配置信息的容器。', 'required' => false, '$ref' => '#/components/schemas/AccessMonitorConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改存储空间访问追踪状态',
'summary' => '修改存储空间(Bucket)的访问追踪状态。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:28.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketAccessMonitor',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketAcl' => [
'path' => '/?acl',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'x-oss-acl',
'in' => 'header',
'schema' => [
'description' => '设置Bucket的访问权限ACL。PutBucketAcl接口通过Put请求中的x-oss-acl请求头来设置访问权限,如果没有该请求头,则访问权限设置不生效。'."\n"
.'
取值如下:'."\n"
."\n"
.'- public-read-write(公共读写):所有用户都有该Bucket内的文件的读写权限。请谨慎使用该访问权限。'."\n"
.'- public-read(公共读):Bucket的拥有者和授权用户有该Bucket内的文件的读写权限,其他用户只有该Bucket内的文件的读权限。请谨慎使用该访问权限。'."\n"
.'- private:Bucket的拥有者和授权用户有该Bucket内的文件的读写权限,其他用户没有权限操作该Bucket内的文件。',
'required' => true,
'enumValueTitles' => ['private' => '私有', 'public-read' => '公共读', 'public-read-write' => '公共读写'],
'$ref' => '#/components/schemas/BucketACL',
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '设置或修改存储空间的访问权限',
'summary' => '设置或修改存储空间(Bucket)的访问权限(ACL)。',
'description' => '- 请求者需要对Bucket拥有写入ACL的权限`oss:PutBucketAcl`。'."\n"
."\n"
.'- PutBucketAcl为覆盖语义,即新传入的ACL将覆盖原有的ACL。'."\n"
."\n"
.'- 如果指定要设置ACL的Bucket不存在,调用该接口时将新建Bucket。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketAcl',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:x-oss-acl'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketCommonHeader' => [
'path' => '/?x-oss-common-header',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '245749',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'test-bucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'title' => '接口请求体',
'description' => '接口请求体',
'type' => 'object',
'properties' => [
'CommonHeaders' => ['title' => '用户自定义响应头配置', 'description' => '用户自定义响应头配置', 'required' => false, '$ref' => '#/components/schemas/CommonHeaders'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '设置存储空间的用户自定义响应头配置',
'summary' => '设置存储空间的用户自定义响应头配置',
'changeSet' => [
['createdAt' => '2025-03-07T07:20:25.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketCommonHeader',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketCors' => [
'path' => '/?cors',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '设置跨域资源共享规则的请求体。',
'type' => 'object',
'properties' => [
'CORSConfiguration' => ['description' => '保存Bucket的CORS规则容器。', 'required' => false, '$ref' => '#/components/schemas/CORSConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '设置存储空间的跨域资源共享规则',
'summary' => '设置指定存储空间(Bucket)的跨域资源共享CORS(Cross-Origin Resource Sharing)规则。',
'description' => "\n"
.'- 默认不开启CORS'."\n"
.'
Bucket默认不开启CORS功能,所有跨域请求的Origin都不被允许。'."\n"
."\n"
.'- 覆盖语义'."\n"
.'
PutBucketCors为覆盖语义,即新配置的CORS规则将覆盖已有的CORS规则。'."\n"
."\n"
.'- 应用程序中使用CORS'."\n"
.'
在应用程序中使用CORS功能时,需通过PutBucketCors接口手动上传CORS规则来开启CORS功能。'."\n"
.'
例如从`example.com`通过浏览器的`XMLHttpRequest`功能来访问OSS,需要通过本接口手动上传CORS规则,且CORS规则需由XML文档进行描述。'."\n"
."\n"
.'- CORS规则匹配'."\n"
.'
当OSS收到一个跨域请求或OPTIONS请求,会先读取Bucket对应的CORS规则,然后进行相应的权限检查。OSS会依次检查每一条规则,使用第一条匹配的规则来允许请求并返回对应的Header。如果所有规则都匹配失败,则不附加任何CORS相关的Header。'."\n"
.'
CORS规则匹配成功必须满足以下三个条件:'."\n"
.' - 请求的Origin必须匹配一个`AllowedOrigin`项。'."\n"
."\n"
.' - 请求的方法(例如GET、PUT等)或者OPTIONS请求的`Access-Control-Request-Method`头对应的方法必须匹配一个`AllowedMethod`项。'."\n"
."\n"
.' - OPTIONS请求的`Access-Control-Request-Headers`头包含的每个header都必须匹配一个`AllowedHeader`项。',
'extraInfo' => '### SDK'."\n"
."\n"
.'- [Java](~~32018~~)'."\n"
.'- [Python](~~32036~~)'."\n"
.'- [PHP](~~32110~~)'."\n"
.'- [Go](~~32156~~)'."\n"
.'- [C](~~89705~~)'."\n"
.'- [C++](~~103198~~)'."\n"
.'- [.NET](~~32095~~)'."\n"
.'- [Node.js](~~142900~~)'."\n"
.'- [Ruby](~~32128~~)'."\n"
."\n"
.'### 错误码'."\n"
.'|错误码|HTTP状态码|描述|'."\n"
.'|--|--|--|'."\n"
.'|InvalidDigest|400|上传了Content-MD5请求头后,OSS会计算消息体的Content-MD5并检查一致性,如果不一致则返回此错误码。|',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:28.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketCors',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:BucketTag'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"type":"xml","example":"\\n","errorExample":""},{"type":"xml","example":"\\n","errorExample":""}]',
],
'PutBucketEncryption' => [
'path' => '/?encryption',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '配置服务器端加密规则的请求体。',
'type' => 'object',
'properties' => [
'ServerSideEncryptionRule' => ['description' => '服务器端加密规则的容器。', 'required' => false, '$ref' => '#/components/schemas/ServerSideEncryptionRule'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '配置存储空间的加密规则',
'summary' => '配置存储空间(Bucket)的加密规则。',
'description' => '只有Bucket的拥有者及授权的RAM用户才能为Bucket设置加密规则,否则返回403错误。有关Bucket加密的更多信息,请参见[服务器端加密](~~31871~~)。'."\n",
'changeSet' => [
['createdAt' => '2024-02-21T14:29:28.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketEncryption',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketHash' => [
'path' => '/?objectHash',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '245781',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'title' => '接口请求体',
'description' => '接口请求体',
'type' => 'object',
'properties' => [
'ObjectHashConfiguration' => ['title' => '对象哈希算法配置', 'description' => '对象哈希算法配置', 'required' => false, '$ref' => '#/components/schemas/ObjectHashConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改存储空间哈希算法配置',
'summary' => '修改存储空间哈希算法配置',
'changeSet' => [
['createdAt' => '2025-03-07T07:20:25.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketHash',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketHttpsConfig' => [
'path' => '/?httpsConfig',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => 'A short description of struct', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'test-bucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存HTTPS配置的请求体。',
'type' => 'object',
'properties' => [
'HttpsConfiguration' => ['description' => '保存HTTPS配置的容器。', 'required' => false, '$ref' => '#/components/schemas/HttpsConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改存储空间HTTPS配置',
'summary' => '调用PutBucketHttpsConfig接口为Bucket开启或关闭TLS版本设置。',
'changeSet' => [
['createdAt' => '2024-02-21T14:34:36.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketHttpsConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:BucketTag'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketInventory' => [
'path' => '/?inventory',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '9324',
'abilityTreeNodes' => ['FEATUREossB6HKQU'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'inventoryId',
'in' => 'query',
'schema' => ['description' => '配置的清单规则Id。', 'type' => 'string', 'required' => true, 'example' => 'report1'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '存储清单配置信息的请求体。',
'type' => 'object',
'properties' => [
'InventoryConfiguration' => ['description' => '存储清单配置信息的容器。', 'required' => false, '$ref' => '#/components/schemas/InventoryConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'4xx' => [],
],
'title' => '配置存储空间的清单规则',
'summary' => '为指定存储空间(Bucket)配置清单(Inventory)规则。',
'description' => "\n"
.'- 只有Bucket的拥有者以及被授予PutBucketInventory权限的用户才能发起配置清单规则的请求。'."\n"
."\n"
.'- 配置清单规则前需生成一个RAM角色,该角色需要拥有读取源Bucket所有文件和向目标Bucket写入文件的权限。首次使用清单功能时,建议您通过OSS控制台进行配置。清单规则配置完成后,您可以获取拥有所有权限的RAM角色。有关配置清单规则中RAM角色的权限说明,请参见[存储空间清单](~~163489~~)。'."\n"
."\n"
.'- 单个Bucket最多只能配置1000条清单规则。'."\n"
."\n"
.'- 配置清单的源Bucket与存放清单文件的目标Bucket必须位于同一个Region。',
'extraInfo' => '### SDK'."\n"
.'- [Java](~~177804~~)'."\n"
.'- [Python](~~177819~~)'."\n"
.'- [Go](~~177811~~)'."\n"
.'- [C++](~~177809~~)'."\n"
.'- [.NET](~~178701~~)'."\n"
.'- [Node.js](~~186530~~)'."\n"
."\n"
.'### 错误码'."\n"
.'|错误码|HTTP状态码|描述|'."\n"
.'|--|--|--|'."\n"
.'|InvalidArgument|400|传入非法参数。|'."\n"
.'|InventoryExceedLimit|400|超出清单配置规则的数量限制。|'."\n"
.'|AccessDenied|403|
**·**发起PutBucketInventory请求时,没有传入用户验证信息。
**·**用户无操作权限。'."\n"
.'|InventoryAlreadyExist|409|请求的清单规则已存在。|',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:28.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketInventory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"type":"xml","example":"\\n","errorExample":""},{"type":"xml","example":"\\n","errorExample":""}]',
],
'PutBucketLifecycle' => [
'path' => '/?lifecycle',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '9066',
'abilityTreeNodes' => ['FEATUREoss20S3WM'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'x-oss-allow-same-action-overlap',
'in' => 'header',
'schema' => ['description' => '指定生命周期规则是否允许前缀重叠。取值如下:'."\n"
."\n"
.'true:允许前缀重叠。'."\n"
."\n"
.'false:不允许前缀重叠。', 'type' => 'string', 'required' => false, 'example' => 'true'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存Lifecycle配置的请求体。',
'type' => 'object',
'properties' => [
'LifecycleConfiguration' => ['description' => 'Lifecycle配置的容器,最多可容纳1000条规则。', 'required' => false, '$ref' => '#/components/schemas/LifecycleConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '设置存储空间的生命周期规则',
'summary' => '设置存储空间的生命周期规则',
'description' => '- 只有Bucket的拥有者以及被授予PutBucketLifecycle权限的RAM用户才能发起配置生命周期规则的请求。'."\n"
."\n"
.'- 如果Bucket此前没有设置过生命周期规则,此操作会创建一个新的生命周期规则;如果Bucket此前设置过生命周期规则,此操作会覆写先前的规则配置。'."\n"
."\n"
.'- PutBucketLifecycle是覆盖语义。当您需要追加生命周期规则时,请先调用GetBucketLifecycle接口获取当前生命周期规则配置,然后追加新的生命周期规则配置,最后调用PutBucketLifecycle接口更新生命周期规则配置。'."\n"
."\n"
.'- PutBucketLifecycle操作可以对Object以及Part(以分片方式上传,但最后未提交的分片)设置过期时间。',
'changeSet' => [
['createdAt' => '2024-03-05T07:08:18.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T14:29:28.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketLifecycle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketLogging' => [
'summary' => '为存储空间(Bucket)开启日志转存功能,可将OSS的访问日志按照固定命名规则,以小时为单位生成日志文件写入您指定的Bucket。',
'path' => '/?logging',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '存储访问日志状态信息的请求体。',
'type' => 'object',
'properties' => [
'BucketLoggingStatus' => ['description' => '存储访问日志状态信息的容器。', 'required' => false, '$ref' => '#/components/schemas/BucketLoggingStatus'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '开启存储空间的日志转存功能',
'description' => '- 生成日志的源Bucket和存储日志的目标Bucket可以相同也可以不同,但是必须属于同一账号下的相同地域。'."\n"
."\n"
.'- 日志文件以小时为单位生成,但并不表示某个时段的日志文件记录了该时段的所有请求,部分请求可能会出现在上一时段或下一时段的日志文件中。'."\n"
.'日志文件命名规则及日志格式说明,请参见[日志转存](~~31868~~)。'."\n"
."\n"
.'- 在您关闭日志转存功能前,OSS的日志文件会一直生成。请及时清理不再需要的日志文件,以减少您的存储费用。'."\n"
.'您可以通过生命周期规则定期删除日志文件。更多信息,请参见[生命周期规则介绍](~~31863~~)。'."\n"
."\n"
.'- OSS会根据需求在日志的尾部添加一些字段,请您在开发日志处理工具时考虑兼容性的问题。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:28.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketLogging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
'additionalActions' => [
['action' => 'oss:PutObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketObjectWormConfiguration' => [
'path' => '/?objectWorm',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREoss2NCTTF'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'example-bucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'title' => '接口请求体',
'description' => '接口请求体',
'type' => 'object',
'properties' => [
'ObjectWormConfiguration' => ['title' => '保存对象级别保留策略的容器', 'description' => '保存对象级别保留策略的容器', 'required' => false, '$ref' => '#/components/schemas/ObjectWormConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改存储空间Object保留策略配置',
'summary' => '在Bucket上启用对象保留并配置默认保留策略',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketPolicy' => [
'path' => '/?policy',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '9319',
'abilityTreeNodes' => ['FEATUREossHKEIZ2'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'schema' => ['description' => '请求体。', 'type' => 'string', 'format' => 'binary', 'required' => true, 'example' => '二进制内容'],
],
],
'responses' => [
200 => [],
'4xx' => [],
],
'title' => '设置存储空间的授权策略',
'summary' => '为指定的存储空间(Bucket)设置授权策略(Policy)。',
'description' => '- 向其他账号的RAM用户授权访问。'."\n"
."\n"
.'您可以授予其他账号的RAM用户访问您的OSS资源的权限。'."\n"
."\n"
.'- 向匿名用户授予带特定IP条件限制的访问权限。'."\n"
."\n"
.'某些场景下,您需要向匿名用户授予带IP限制的访问策略。例如,企业内部的机密文档,只允许在企业内部访问,不允许在其他区域访问。由于企业内部人员较多,如果针对每个人配置RAM Policy,工作量非常大。此时,您可以基于Bucket Policy设置带IP限制的访问策略,从而高效方便地进行授权。'."\n"
."\n"
.'有关Bucket Policy的配置详情及场景案例,请参见[使用Bucket Policy授权其他用户访问OSS资源](~~85111~~)。有关Policy语法,请参见[权限策略语法和结构](~~93739~~)。',
'changeSet' => [
['createdAt' => '2025-11-20T03:52:56.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketReferer' => [
'summary' => '设置存储空间(Bucket)级别的防盗链(Referer)访问白名单,支持设置是否允许Referer字段为空以及是否允许截断QueryString的请求访问OSS。',
'path' => '/?referer',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存Referer配置内容的请求体。',
'type' => 'object',
'properties' => [
'RefererConfiguration' => ['description' => '保存Referer配置内容的容器。', 'required' => false, '$ref' => '#/components/schemas/RefererConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '设置存储空间的防盗链',
'changeSet' => [
['createdAt' => '2024-02-20T08:53:36.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketReferer',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketReplication' => [
'summary' => '为存储空间(Bucket)指定数据复制规则。OSS支持跨区域复制(Cross-Region Replication)和同区域复制(Same-Region Replication)。',
'path' => '/?replication&comp=add',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '9452',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '指定数据复制配置的请求体。',
'type' => 'object',
'properties' => [
'ReplicationConfiguration' => [
'description' => '保存数据复制配置信息的容器。',
'type' => 'object',
'properties' => [
'Rule' => ['required' => false, '$ref' => '#/components/schemas/ReplicationRule', 'description' => ''],
],
'required' => false,
],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-replication-rule-id' => [
'schema' => ['title' => '新增数据复制规则的ID', 'type' => 'string'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '指定存储空间的数据复制规则',
'description' => '数据复制是以异步(近实时)方式将源Bucket中的文件(Object)以及对Object的创建、更新和删除等操作自动复制到目标Bucket。使用数据复制时,有如下注意事项:'."\n"
."\n"
.'- 数据复制采用异步复制,数据复制到目标Bucket需要一定的时间,通常几分钟到几小时不等,具体取决于数据的大小。'."\n"
."\n"
.'- 源Bucket与目标Bucket的名称不能相同。'."\n"
."\n"
.'- 使用跨区域复制时,源Bucket与目标Bucket必须处于不同的数据中心;使用同地域复制时,源Bucket与目标Bucket必须处于相同的数据中心。'."\n"
."\n"
.'关于数据复制的更多信息,请分别参见[跨区域复制介绍](https://help.aliyun.com/document_detail/31864.htm?spm=a2c4g.11186623.0.0.32af6265m8tpXg#concept-zjp-31z-5db)和[同区域复制介绍](https://help.aliyun.com/document_detail/254865.htm?spm=a2c4g.11186623.0.0.32af6265m8tpXg#concept-2067125)。',
'changeSet' => [
['createdAt' => '2025-11-20T03:48:09.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-04-24T08:04:48.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T14:29:28.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutBucketReplication',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
'additionalActions' => [
['action' => 'oss:PutObject', 'validationType' => 'conditional'],
['action' => 'oss:ReplicateGet', 'validationType' => 'conditional'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketRequestPayment' => [
'summary' => '设置某个存储空间(Bucket)的请求者付费模式。',
'path' => '/?requestPayment',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '配置请求者付费的请求体。',
'type' => 'object',
'properties' => [
'RequestPaymentConfiguration' => ['description' => '保存请求者付费配置的容器。', 'required' => false, '$ref' => '#/components/schemas/RequestPaymentConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '设置请求者付费模式',
'description' => '- 不允许匿名访问:如果您在Bucket上启用了请求者付费模式,则不允许匿名访问该Bucket。请求方必须提供身份验证信息,以便OSS能够识别请求方,从而对请求方而非Bucket拥有者收取请求所产生的费用。'."\n"
.'当请求者是通过扮演阿里云RAM角色来请求数据时,该角色所属的账户将为此请求付费。'."\n"
."\n"
.'- 申请方需携带x-oss-request-payer信息:如果您在Bucket上启用了请求者付费模式,请求方必须在其请求中包含x-oss-request-payer:requester(在POST、GET和HEAD请求的Header信息中),以表明请求方已知悉请求和数据下载将产生费用。否则,请求方无法通过验证。'."\n"
.'数据拥有者访问该Bucket时,可以不携带x-oss-request-payer请求头。数据拥有者作为请求者访问该Bucket时,请求产生的费用由数据拥有者(也是请求者)来支付。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:28.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketRequestPayment',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketResourceGroup' => [
'path' => '/?resourceGroup',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '要修改的目标Bucket', 'description' => '要修改的目标Bucket', 'type' => 'string', 'required' => false, 'example' => 'example-bucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '配置资源组ID的请求体。',
'type' => 'object',
'properties' => [
'BucketResourceGroupConfiguration' => ['description' => '配置资源组ID的容器。', 'required' => false, '$ref' => '#/components/schemas/BucketResourceGroupConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改存储空间资源组',
'summary' => '修改存储空间(Bucket)所属的资源组ID。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:27.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketRtc' => [
'path' => '/?rtc',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '182629',
'abilityTreeNodes' => ['FEATUREossAI8VDR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存RTC配置规则的请求体。',
'type' => 'object',
'properties' => [
'ReplicationRule' => ['description' => '保存RTC配置规则的容器。', 'required' => false, '$ref' => '#/components/schemas/RtcConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '设置RTC',
'summary' => '为已有的跨区域复制规则开启或关闭数据复制时间控制(RTC)功能。',
'changeSet' => [
['createdAt' => '2024-04-24T08:04:48.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T14:29:27.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketReplication',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketTags' => [
'path' => '/?tagging',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '设置Bucket TagSet的请求体。',
'type' => 'object',
'properties' => [
'Tagging' => ['description' => '设置Bucket TagSet的容器。', 'required' => false, '$ref' => '#/components/schemas/Tagging'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '为存储空间添加或修改标签',
'summary' => '给某个存储空间(Bucket)添加或修改标签。',
'description' => '- 只有Bucket的拥有者及授权RAM账户才能为Bucket设置用户标签,否则返回403 Forbidden错误,错误码为AccessDenied。'."\n"
."\n"
.'- 最多可设置20对Bucket用户标签(Key-Value对)。'."\n"
."\n"
.'- PutBucketTags是覆盖语义,即新添加的标签会完全覆盖已有的标签。'."\n",
'changeSet' => [
['createdAt' => '2024-02-21T14:29:27.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketTransferAcceleration' => [
'path' => '/?transferAcceleration',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '传输加速配置的请求体。',
'type' => 'object',
'properties' => [
'TransferAccelerationConfiguration' => ['description' => '传输加速配置的容器。', 'required' => false, '$ref' => '#/components/schemas/TransferAccelerationConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '为存储空间配置传输加速',
'summary' => '调用PutBucketTransferAcceleration接口为存储空间(Bucket)配置传输加速。开启传输加速后,可提升全球各地用户对OSS的访问速度,适用于远距离数据传输、GB或TB级大文件上传和下载的场景。',
'description' => '- 只有Bucket拥有者以及被授予oss:PutBucketTransferAcceleration权限的RAM用户才能发起配置传输加速的请求。'."\n"
."\n"
.'- 开启传输加速后,Bucket会在保留默认Endpoint的基础上新增传输加速域名,但必须使用OSS的传输加速域名才会提升访问速度。'."\n"
."\n"
.'- 使用传输加速域名访问Bucket时,OSS会收取传输加速费用。详情请参见[传输加速费用](~~173539~~)。'."\n"
."\n"
.'有关传输加速的更多信息,请参见开发指南的[传输加速](~~131312~~)。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:27.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutBucketTransferAcceleration',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketVersioning' => [
'path' => '/?versioning',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '请求体。',
'type' => 'object',
'properties' => [
'VersioningConfiguration' => ['description' => '保存版本控制配置容器。', 'required' => false, '$ref' => '#/components/schemas/VersioningConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'4xx' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '设置存储空间的版本控制状态',
'summary' => '设置指定存储空间(Bucket)的版本控制状态。',
'description' => '- 要配置版本控制,您必须有PutBucketVersioning权限。'."\n"
."\n"
.'- Bucket包括未开启、开启(Enabled)或者暂停(Suspended)三种版本控制状态。默认情况下Bucket处于未开启版本控制状态。'."\n"
."\n"
.'- 在Bucket处于开启版本控制状态下,所有新添加的文件(Object)都将拥有唯一的版本ID,OSS将累积所添加Object的多个版本。'."\n"
."\n"
.'- 在Bucket处于暂停版本控制状态下,所有新添加Object的版本ID将为null,且OSS将不再为此状态下添加的Object累积更多的版本。'."\n"
."\n"
.'关于版本控制的更多信息,请参见[版本控制介绍](~~109695~~)。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:27.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketVersioning',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutBucketWebsite' => [
'path' => '/?website',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '9071',
'abilityTreeNodes' => ['FEATUREossLM29D7', 'FEATUREossIW6LY5'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存静态网站配置的容器。',
'type' => 'object',
'properties' => [
'WebsiteConfiguration' => ['description' => '保存静态网站配置的容器。', 'required' => false, '$ref' => '#/components/schemas/WebsiteConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '设置存储空间为静态网站托管模式并设置跳转规则',
'summary' => '将存储空间(Bucket)设置为静态网站托管模式并设置跳转规则(RoutingRule)。',
'description' => '- 功能支持:此接口主要用于设置默认主页、默认404页和RoutingRule。RoutingRule用来指定3xx跳转规则以及镜像回源规则。其中镜像回源支持公共云和金融云。'."\n"
."\n"
.'- 使用自有域名访问静态网站:如果要使用自有域名来访问基于Bucket的静态网站,您可以通过域名CNAME来实现。具体操作,请参见绑定自定义域名。'."\n"
."\n"
.'- 索引页面和错误页面:将一个Bucket设置为静态网站托管模式时,如果指定了索引页面或错误页面,则指定的索引页面和错误页面为该Bucket内的某个Object。'."\n"
."\n"
.'- 对静态网站根域名的匿名访问:将一个Bucket设置为静态网站托管模式后,对静态网站根域名的匿名访问,OSS将返回索引页面。对静态网站根域名的签名访问,OSS将返回GetBucket(ListObjects)的结果。',
'changeSet' => [
['createdAt' => '2024-02-22T03:34:47.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T14:29:27.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketWebsite',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutChannel' => [
'path' => '/?img',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '253195',
'abilityTreeNodes' => ['FEATUREossEPZCYR'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'test-bucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '接口请求体',
'type' => 'object',
'properties' => [
'Channel' => ['title' => '保存图片处理频道配置的容器', 'description' => '保存图片处理频道配置的容器', 'required' => false, '$ref' => '#/components/schemas/Channel'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建图片处理通道',
'summary' => '创建图片处理通道',
'changeSet' => [
['createdAt' => '2025-03-07T07:20:24.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketImage',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutCname' => [
'path' => '/?cname&comp=add',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存Cname配置的请求体。',
'type' => 'object',
'properties' => [
'BucketCnameConfiguration' => ['description' => '保存Cname配置的容器。', 'required' => false, '$ref' => '#/components/schemas/BucketCnameConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '绑定自定义域名',
'summary' => '为某个存储空间(Bucket)绑定自定义域名。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:27.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutCname',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutDataLakeCachePrefetchJob' => [
'path' => '/?x-oss-datalake-cache-prefetch-job',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '246257',
'abilityTreeNodes' => ['FEATUREossRGUKNQ'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'x-oss-datalake-job-id',
'in' => 'query',
'schema' => ['type' => 'string'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'type' => 'object',
'properties' => [
'CreateDataLakeCachePrefetchJob' => ['$ref' => '#/components/schemas/CreateDataLakeCachePrefetchJob'],
],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'DataLakeCachePrefetchJobID' => [
'type' => 'object',
'properties' => [
'ID' => ['type' => 'string'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'changeSet' => [
['createdAt' => '2025-04-08T10:59:24.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutDataLakeCachePrefetchJob',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n","type":"xml"}]',
],
'PutLiveChannel' => [
'path' => '/{channel}?live',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'channel',
'in' => 'path',
'schema' => ['description' => '频道名称。不能包含斜杠(/)。', 'type' => 'string', 'required' => true, 'example' => 'ChannelName'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存LiveChannel配置的请求体。',
'type' => 'object',
'properties' => [
'LiveChannelConfiguration' => ['description' => '保存LiveChannel配置的容器。', 'required' => false, '$ref' => '#/components/schemas/LiveChannelConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '保存CreateLiveChannel请求结果的响应体。',
'type' => 'object',
'properties' => [
'CreateLiveChannelResult' => [
'description' => '保存CreateLiveChannel请求结果的容器。',
'type' => 'object',
'properties' => [
'PublishUrls' => ['description' => '保存推流地址的容器。', '$ref' => '#/components/schemas/LiveChannelPublishUrls'],
'PlayUrls' => ['description' => '保存播放地址的容器。', '$ref' => '#/components/schemas/LiveChannelPlayUrls'],
],
],
],
],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建直播推流',
'summary' => '通过RTMP协议上传音视频数据前,必须先创建一个LiveChannel。',
'description' => '通过RTMP协议上传音视频数据前,必须先调用该接口创建一个LiveChannel。调用该接口会返回RTMP推流地址,以及对应的播放地址。'."\n"
.'
您可以使用返回的地址进行推流、播放,您还可以根据该LiveChannel的名称来发起相关的操作,如查询推流状态、查询推流记录、禁止推流等。'."\n",
'changeSet' => [
['createdAt' => '2024-02-21T14:29:27.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutLiveChannel',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n \\n rtmp://test-bucket.oss-cn-hangzhou.aliyuncs.com/live/test-channel\\n \\n \\n http://test-bucket.oss-cn-hangzhou.aliyuncs.com/test-channel/playlist.m3u8\\n \\n","type":"xml"}]',
],
'PutLiveChannelStatus' => [
'path' => '/{channel}?live',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'channel',
'in' => 'path',
'schema' => ['description' => '指定LiveChannel名称,该LiveChannel必须存在。', 'type' => 'string', 'required' => true, 'example' => 'exmplechannel'],
],
[
'name' => 'status',
'in' => 'query',
'schema' => ['description' => '设置LiveChannel的Status。'."\n"
.'有效值:'."\n"
.'- enabled:启用LiveChannel'."\n"
.'- disabled:禁用LiveChannel', 'type' => 'string', 'required' => true, 'example' => 'enabled'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '切换直播推流状态',
'summary' => '切换LiveChannel启用(enabled)和禁用(disabled)两种状态。',
'description' => '- LiveChannel处于disabled状态时,OSS会禁止您向该LiveChannel进行推流操作。如果您正在向该LiveChannel推流,那么推流的客户端会被强制断开(会有10s左右的延迟)。'."\n"
.'- 当没有客户端向该LiveChannel推流时,调用PutLiveChannelStatus重新创建LiveChannel也可以达到修改Status的目的。'."\n"
.'- 当有客户端向该LiveChannel推流时,只能将LiveChannel的状态修改为disabled,无法调用PutLiveChannelStatus重新创建LiveChannel。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutLiveChannelStatus',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutObject' => [
'path' => '/{key}',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/octet-stream'],
'produces' => [],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'x-oss-forbid-overwrite',
'in' => 'header',
'schema' => ['description' => '指定PutObject操作时是否覆盖同名Object。 当目标Bucket处于已开启或已暂停的版本控制状态时,**x-oss-forbid-overwrite**请求Header设置无效,即允许覆盖同名Object。'."\n"
.' - 不指定**x-oss-forbid-overwrite**或者指定**x-oss-forbid-overwrite**为**false**时,表示允许覆盖同名Object。'."\n"
.' - 指定**x-oss-forbid-overwrite**为**true**时,表示禁止覆盖同名Object。'."\n"
."\n"
.'设置**x-oss-forbid-overwrite**请求Header会导致QPS处理性能下降,如果您有大量的操作需要使用**x-oss-forbid-overwrite**请求Header(QPS>1000),请联系技术支持,避免影响您的业务。'."\n"
.'默认值:**false**', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'x-oss-server-side-encryption',
'in' => 'header',
'schema' => ['description' => '创建Object时,指定服务器端加密方式。'."\n"
."\n"
.'取值:**AES256**、**KMS****或**SM4****'."\n"
."\n"
.'指定此选项后,在响应头中会返回此选项,OSS会对上传的Object进行加密编码存储。当下载该Object时,响应头中会包含**x-oss-server-side-encryption**,且该值会被设置成此Object的加密算法。', 'type' => 'string', 'required' => false, 'example' => 'AES256'],
],
[
'name' => 'x-oss-server-side-data-encryption',
'in' => 'header',
'schema' => ['description' => '创建Object时,指定服务器端加密方式。'."\n"
."\n"
.'取值:**AES256**、**KMS**或**SM4**'."\n"
."\n"
.'指定此选项后,在响应头中会返回此选项,OSS会对上传的Object进行加密编码存储。当下载该Object时,响应头中会包含**x-oss-server-side-encryption**,且该值会被设置成此Object的加密算法。', 'type' => 'string', 'required' => false, 'example' => 'AES256'],
],
[
'name' => 'x-oss-server-side-encryption-key-id',
'in' => 'header',
'schema' => ['description' => 'KMS托管的用户主密钥。'."\n"
.'此选项仅在**x-oss-server-side-encryption**为KMS时有效。', 'type' => 'string', 'required' => false, 'example' => '9468da86-3509-4f8d-a61e-6eab1eac****'],
],
[
'name' => 'x-oss-object-acl',
'in' => 'header',
'schema' => ['description' => '指定OSS创建Object时的访问权限。'."\n"
."\n"
.'取值:'."\n"
."\n"
.'- default(默认):Object遵循所在存储空间的访问权限。'."\n"
.'- private:Object是私有资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户没有权限操作该Object。'."\n"
.'- public-read:Object是公共读资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户只有该Object的读权限。请谨慎使用该权限。'."\n"
.'- public-read-write:Object是公共读写资源。所有用户都有该Object的读写权限。请谨慎使用该权限。'."\n"
."\n"
.'关于访问权限的更多信息,请参见**[读写权限ACL](~~100676~~)**。', 'required' => false, '$ref' => '#/components/schemas/ObjectACL'],
],
[
'name' => 'x-oss-storage-class',
'in' => 'header',
'schema' => ['description' => '指定Object的存储类型。 对于任意存储类型的Bucket,如果上传Object时指定此参数,则此次上传的Object将存储为指定的类型。例如在IA类型的Bucket中上传Object时,如果指定x-oss-storage-class为Standard,则该Object直接存储为Standard。 取值: Standard:标准存储 IA:低频访问 Archive:归档存储 ColdArchive:冷归档存储 关于存储类型的更多信息,请参见存储类型介绍。', 'required' => false, '$ref' => '#/components/schemas/StorageClass'],
],
[
'name' => 'x-oss-tagging',
'in' => 'header',
'schema' => ['description' => '指定Object的标签,可同时设置多个标签,例如TagA=A&TagB=B。'."\n"
.'> Key和Value需要先进行URL编码,如果某项没有”=“,则看作Value为空字符串。', 'type' => 'string', 'required' => false, 'example' => 'a:1'],
],
[
'name' => 'x-oss-meta-*',
'in' => 'header',
'schema' => [
'description' => '使用PutObject接口时,如果配置以**x-oss-meta-***为前缀的参数,则该参数视为元数据,例如`x-oss-meta-location`。一个Object可以有多个类似的参数,但所有的元数据总大小不能超过8 KB。'."\n"
."\n"
.'元数据支持短划线(-)、数字、英文字母(a~z)。英文字符的大写字母会被转成小写字母,不支持下划线(_)在内的其他字符。',
'type' => 'object',
'required' => false,
'additionalProperties' => ['type' => 'string', 'description' => '使用PutObject接口时,如果配置以**x-oss-meta-***为前缀的参数,则该参数视为元数据,例如`x-oss-meta-location`。一个Object可以有多个类似的参数,但所有的元数据总大小不能超过8 KB。'."\n"
."\n"
.'元数据支持短划线(-)、数字、英文字母(a~z)。英文字符的大写字母会被转成小写字母,不支持下划线(_)在内的其他字符。', 'example' => 'x-oss-meta-location'],
'example' => 'x-oss-meta-location',
],
],
[
'name' => 'body',
'in' => 'body',
'schema' => ['description' => '请求体。', 'type' => 'string', 'format' => 'binary', 'required' => false, 'example' => '二进制内容'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-hash-crc64ecma' => [
'schema' => ['sdkPropertyName' => 'crc64', 'type' => 'integer', 'format' => 'int64'],
],
'x-oss-version-id' => [
'schema' => ['sdkPropertyName' => 'contentMD5', 'type' => 'string'],
],
],
],
'5XX' => [],
],
'title' => '上传文件',
'summary' => '上传文件(Object)。',
'description' => '**注意事项**'."\n"
."\n"
.'- 添加的Object大小不能超过5 GB。'."\n"
."\n"
.'- 默认情况下,如果已存在同名Object且对该Object有访问权限,则新添加的Object将覆盖原有的Object,并返回200 OK。'."\n"
."\n"
.'- OSS没有文件夹的概念,所有资源都是以文件来存储,但您可以通过创建一个以正斜线(/)结尾,大小为0的Object来创建模拟文件夹。'."\n"
."\n"
.'**版本控制**'."\n"
."\n"
.'- 在已开启版本控制的Bucket中,OSS会为新添加的Object自动生成唯一的版本ID,并在响应Header中通过x-oss-version-id形式返回。'."\n"
.'- 在暂停了版本控制的Bucket中,新添加的Object的版本ID为null。OSS会保证同一个Object仅有一个null的版本ID。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:RequestObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:DeleteObject'],
['action' => 'oss:PutObjectTagging'],
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]',
],
'PutObjectAcl' => [
'summary' => '修改文件(Object)的访问权限(ACL)。',
'path' => '/{key}?acl',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'x-oss-object-acl',
'in' => 'header',
'schema' => ['description' => '指定OSS创建Object时的访问权限。'."\n"
.'取值:'."\n"
."\n"
.'- default(默认):Object遵循所在存储空间的访问权限。'."\n"
.'- private:Object是私有资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户没有权限操作该Object。'."\n"
.'- public-read:Object是公共读资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户只有该Object的读权限。请谨慎使用该权限。'."\n"
.'- public-read-write:Object是公共读写资源。所有用户都有该Object的读写权限。请谨慎使用该权限。'."\n"
."\n"
.'关于访问权限的更多信息,请参见**[读写权限ACL](~~100676~~)**。', 'required' => true, '$ref' => '#/components/schemas/ObjectACL'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => 'Object对应的版本', 'type' => 'string', 'required' => false, 'example' => 'CAEQMhiBgIC3rpSD0BYiIDBjYTk5MmIzN2JlNjQxZTFiNGIzM2E3OTliODA0****'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-version-id' => [
'schema' => ['title' => 'The version of a object', 'type' => 'string'],
],
],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改文件的访问权限',
'description' => '**注意事项**'."\n"
."\n"
.'此操作只有Bucket Owner有权限执行,且需对Object有读写权限。'."\n"
."\n"
.'**版本控制**'."\n"
."\n"
.'调用PutObjectACL接口时,默认只能设置Object当前版本的ACL。您可以通过指定versionId参数来设置指定Object版本的ACL。如果Object的对应版本为删除标记(Delete Marker),则OSS将返回404 Not Found。'."\n"
."\n"
.'**ACL说明**'."\n"
."\n"
.'PutObjectACL接口通过Put请求中的`x-oss-object-acl`头来设置Object ACL。目前Object包括如下四种访问权限。'."\n"
."\n"
.'- private:Object是私有资源。只有该Object的Owner拥有该Object的读写权限,其他用户没有权限操作该Object。'."\n"
.'- public-read:Object是公共读资源。Object Owner拥有该Object的读写权限。非Object Owner只有该Object的读权限。'."\n"
.'- public-read-write:Object是公共读写资源。所有用户拥有对该Object的读写权限。'."\n"
.'- default:Object遵循其所在Bucket的读写权限,即Bucket是什么权限,Object就是什么权限。'."\n"
."\n"
.'>**注意**'."\n"
.'- Object ACL优先级高于Bucket ACL。例如Bucket ACL是private的,而Object ACL是public-read-write的,则所有用户都拥有该Object的访问权限,即使该Bucket是私有Bucket。如果某个Object未设置过ACL,则访问权限遵循Bucket ACL。'."\n"
.'- Object的读操作包括GetObject、HeadObject、CopyObject和UploadPartCopy中的对原Object的读;Object的写操作包括PutObject、PostObject、AppendObject、DeleteObject、DeleteMultipleObjects、CompleteMultipartUpload以及CopyObject对新Object的写。'."\n"
.'- 您还可以在进行Object的写操作时,在请求头中带上x-oss-object-acl来设置Object'."\n"
.' ACL,效果与PutObjectACL等同。例如PutObject时在请求头中带上x-oss-object-acl可以在上传一个Object的同时设置此Object的ACL。'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutObjectAcl',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject'],
['action' => 'oss:PutObjectVersionAcl'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutObjectLegalHold' => [
'path' => '/{key}?legalHold',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREoss2NCTTF'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'example-bucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['title' => '对象名称', 'description' => '对象名称', 'type' => 'string', 'required' => true, 'example' => 'test.txt'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'title' => '接口请求体',
'description' => '接口请求体',
'type' => 'object',
'properties' => [
'LegalHold' => ['title' => '保存对象合法持有的容器', 'description' => '保存对象合法持有的容器', 'required' => false, '$ref' => '#/components/schemas/LegalHold'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改Object的合法持有状态',
'summary' => '在Object上配置对象合法持有',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutObjectRetention' => [
'path' => '/{key}?retention',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREossMTB3XG'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'example-bucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['title' => '对象名称', 'description' => '对象名称', 'type' => 'string', 'required' => true, 'example' => 'test.txt'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'title' => '接口请求体',
'description' => '接口请求体',
'type' => 'object',
'properties' => [
'Retention' => ['title' => '保存对象保留策略的容器', 'description' => '保存对象保留策略的容器', 'required' => false, '$ref' => '#/components/schemas/Retention'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询Object的保留策略',
'summary' => '在Object上配置对象级别保留策略',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutObjectTagging' => [
'path' => '/{key}?tagging',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject.txt'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => '版本对应的ID。', 'type' => 'string', 'required' => false, 'example' => 'CAEQNRiBgMClj7qD0BYiIDQ5Y2QyMjc3NGZkODRlMTU5M2VkY2U3MWRiNGRh****'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存标签集合的请求体。',
'type' => 'object',
'properties' => [
'Tagging' => ['description' => '标签集合。', 'required' => false, '$ref' => '#/components/schemas/Tagging'],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-version-id' => [
'schema' => ['type' => 'string'],
],
],
],
'5XX' => [],
],
'title' => '设置或更新文件的标签信息',
'summary' => '设置或更新对象(Object)的标签(Tagging)信息。',
'description' => '**注意事项**'."\n"
."\n"
.'- 对象标签使用一组键值对(Key-Value)标记对象。'."\n"
.'- 单个Object最多能设置10个标签,Key不能重复。'."\n"
.'- 每个Key长度不能超过128字符,每个Value长度不能超过256字符。'."\n"
.'- Key和Value区分大小写。'."\n"
.'- 标签的合法字符集包括大小写字母、数字、空格和以下符号:'."\n"
.'+‑=._:/'."\n"
.'通过HTTP Header的方式设置标签且标签中包含任意字符时,您需要对标签的Key和Value进行URL编码。'."\n"
.'- 更改标签信息不会更新Object的Last‑Modified时间。'."\n"
."\n"
.'关于对象标签的更多信息,请参见[对象标签](~~106678~~)。'."\n"
."\n"
.'**版本控制**'."\n"
."\n"
.'调用PutObjectTagging接口时,默认设置Object当前版本的标签信息。您可以通过指定versionId参数来设置指定Object版本的标签信息。如果Object的对应版本为删除标记(Delete Marker),则OSS将返回404 Not Found。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:27.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutObjectTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'oss:RequestObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:PutObjectVersionTagging'],
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutProcessConfiguration' => [
'path' => '/?processConfiguration',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '253281',
'abilityTreeNodes' => ['FEATUREossEPZCYR'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'test-bucket'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '请求结构体',
'type' => 'object',
'properties' => [
'BucketProcessConfiguration' => ['title' => '存储空间图片处理配置', 'description' => '存储空间图片处理配置', 'required' => true, '$ref' => '#/components/schemas/BucketProcessConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改存储空间媒体处理配置',
'summary' => '修改存储空间媒体处理配置',
'changeSet' => [
['createdAt' => '2025-03-07T07:20:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketImage',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutPublicAccessBlock' => [
'path' => '/?publicAccessBlock',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '207982',
'abilityTreeNodes' => ['FEATUREoss4PB2DT'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '接口请求体。',
'type' => 'object',
'properties' => [
'PublicAccessBlockConfiguration' => ['description' => '保存阻止公共访问配置信息的容器。', 'required' => false, '$ref' => '#/components/schemas/PublicAccessBlockConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'title' => '修改用户级别阻止公共访问配置',
'summary' => '修改OSS全局阻止公共访问的配置信息。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutPublicAccessBlock',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutStyle' => [
'path' => '/?style',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '169383',
'abilityTreeNodes' => ['FEATUREossEPZCYR'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'styleName',
'in' => 'query',
'schema' => ['description' => '图片样式名称。', 'type' => 'string', 'required' => true, 'example' => 'imagestyle'],
],
[
'name' => 'category',
'in' => 'query',
'schema' => ['description' => '样式分类。'."\n"
."\n"
.'取值:image、document、video。', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存图片样式信息的请求体。',
'type' => 'object',
'properties' => [
'Style' => ['description' => '保存图片样式信息列表的容器。', 'required' => false, '$ref' => '#/components/schemas/Style'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '新增图片样式',
'summary' => '新增图片样式。一个图片样式中可以包含单个或多个图片处理参数。',
'changeSet' => [
['createdAt' => '2024-04-23T06:42:53.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T07:26:17.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutStyle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'PutSymlink' => [
'path' => '/{key}?symlink',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'x-oss-symlink-target',
'in' => 'header',
'schema' => ['description' => '软链接指向的目标文件。'."\n"
.'合法值:命名规范同Object'."\n"
.' - TargetObjectName同ObjectName一样,需要对其进行URL编码。'."\n"
.' - 软链接的目标文件类型不能为软链接。', 'type' => 'string', 'required' => true, 'example' => 'oss.jpg'],
],
[
'name' => 'x-oss-object-acl',
'in' => 'header',
'schema' => ['description' => '指定OSS创建Object时的访问权限。'."\n"
."\n"
.'取值:'."\n"
."\n"
.'- default(默认):Object遵循所在存储空间的访问权限。'."\n"
.'- private:Object是私有资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户没有权限操作该Object。'."\n"
.'- public-read:Object是公共读资源。只有Object的拥有者和授权用户有该Object的读写权限,其他用户只有该Object的读权限。请谨慎使用该权限。'."\n"
.'- public-read-write:Object是公共读写资源。所有用户都有该Object的读写权限。请谨慎使用该权限。'."\n"
."\n"
.'关于访问权限的更多信息,请参见**[读写权限ACL](~~100676~~)**。', 'required' => false, '$ref' => '#/components/schemas/ObjectACL'],
],
[
'name' => 'x-oss-storage-class',
'in' => 'header',
'schema' => ['description' => '指定Object的存储类型。'."\n"
.'对于任意存储类型的Bucket,如果上传Object时指定此参数,则此次上传的Object将存储为指定的类型。例如在IA类型的Bucket中上传Object时,如果指定**x-oss-storage-class**为Standard,则该Object直接存储为Standard。'."\n"
."\n"
.'取值:'."\n"
.'- Standard:标准存储'."\n"
.'- IA:低频访问'."\n"
.'- Archive:归档存储'."\n"
."\n"
.'IA与Archive类型的单个Object大小如果不足64 KB,则会按64 KB计量计费。建议在使用PutSymlink接口时不要将Object的存储类型指定为IA或Archive。'."\n"
.'关于存储类型的更多信息,请参见**[存储类型介绍](~~51374~~)**。', 'required' => false, '$ref' => '#/components/schemas/StorageClass'],
],
[
'name' => 'x-oss-forbid-overwrite',
'in' => 'header',
'schema' => ['description' => '指定PutSymlink操作时是否覆盖同名Object。'."\n"
.' - 不指定**x-oss-forbid-overwrite**或者指定**x-oss-forbid-overwrite**为**false**时,表示允许覆盖同名Object。'."\n"
.' - 指定**x-oss-forbid-overwrite**为**true**时,表示禁止覆盖同名Object。'."\n"
."\n"
.'设置**x-oss-forbid-overwrite**请求Header会导致QPS处理性能下降,如果您有大量的操作需要使用**x-oss-forbid-overwrite**请求Header(QPS>1000),请联系技术支持,避免影响您的业务。'."\n"
.'> 当目标Bucket处于已开启或已暂停版本控制状态时,**x-oss-forbid-overwrite**请求Header设置无效,即允许覆盖同名Object。', 'type' => 'string', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-version-id' => [
'schema' => ['type' => 'string'],
],
],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建OSS目标文件的软链接',
'summary' => '为OSS的目标文件(TargetObject)创建软链接(Symlink)。',
'description' => '**注意事项**'."\n"
."\n"
.'- 使用PutSymlink接口创建软链接时不会检查目标文件是否存在、目标文件类型是否合法以及目标文件是否有访问权限。'."\n"
.'- Symlink自身的访问权限(ACL)以及目标文件的ACL检查仅会在GetObject等需要访问目标文件的API中进行。'."\n"
.'- 使用PutSymlink接口时,携带以x-oss-meta-为前缀的参数,则被视为user meta,例如x-oss-meta-location。一个Object可以有多个类似的参数,但所有的user meta总大小不能超过8 KB。'."\n"
.'- 默认情况下,如果试图添加的文件已经存在,并且有访问权限,则新添加的文件将覆盖原来的文件,成功添加后将返回200 OK。'."\n"
."\n"
.'**版本控制**'."\n"
."\n"
.'您可以通过TargetObject创建的软链接指向TargetObject的当前版本。'."\n"
.'软链接本身也可以有多个版本,每个不同的版本可以指向不同的TargetObject,版本ID由OSS自动生成,在响应Header中返回x-oss-version-id。'."\n"
."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:PutObjectTagging'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'RestoreObject' => [
'path' => '/{key}?restore',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'versionId',
'in' => 'query',
'schema' => ['description' => '请求解冻的Obejct的版本号。', 'type' => 'string', 'required' => false, 'example' => 'CAEQNRiBgMClj7qD0BYiIDQ5Y2QyMjc3NGZkODRlMTU5M2VkY2U3MWRiNGRh'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存解冻请求信息的请求体。',
'type' => 'object',
'properties' => [
'RestoreRequest' => ['description' => '解冻请求信息的容器。', 'required' => false, '$ref' => '#/components/schemas/RestoreRequest'],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-object-restore-priority' => [
'schema' => ['type' => 'string'],
],
'x-oss-version-id' => [
'schema' => ['title' => '', 'type' => 'string'],
],
],
],
'5XX' => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '解冻归档类型或冷归档的文件',
'summary' => '解冻归档类型(Archive)或冷归档(Cold Archive)的文件(Object)。',
'description' => '**版本控制**'."\n"
."\n"
.'Object的各个版本可以对应不同的存储类型。调用RestoreObject接口默认解冻Object当前版本,您可以通过指定versionId的方式来解冻Object指定版本。'."\n"
."\n"
.'>- RestoreObject接口只针对归档或冷归档类型的Object,不适用于标准类型和低频访问类型的Object。'."\n"
.'- 如果针对该Object第一次调用RestoreObject接口,则返回202。'."\n"
.'- 如果已经成功调用过RestoreObject接口,且Object已完成解冻,再次调用时返回200 OK。'."\n"
."\n"
.'**解冻过程说明**'."\n"
."\n"
.'对于归档类型或者冷归档类型的Object,如果需要读取Object,请提前解冻。归档类型的Object解冻有分钟级延迟,冷归档类型的Object解冻有数小时延迟。'."\n"
."\n"
.'归档类型或者冷归档类型的Object在执行解冻前后的状态变换过程如下:'."\n"
."\n"
.'1、 Object初始时处于冷冻状态。'."\n"
."\n"
.'2、提交一次解冻请求后,Object处于解冻中状态。'."\n"
."\n"
.'3、服务端完成解冻任务后,Object进入解冻状态,此时您可以读取Object。'."\n"
.'- 对于归档类型的Object,解冻状态默认持续24小时,24小时内再次调用RestoreObject接口则解冻状态会自动延长24小时,一次解冻流程内可有效调用7次RestoreObject接口达到最长7天的解冻持续时间。您也可以通过传入解冻天数,一次调用RestoreObject接口指定最长7天的解冻持续时间。'."\n"
.'- 对于冷归档类型的Object,您可以指定解冻天数和解冻优先级,解冻天数最短为1天,最长为7天。不同解冻优先级的首字节取回时间如下:'."\n"
."\n"
.' - 高优先级(Expedited):表示1小时内完成解冻。'."\n"
.' - 标准(Standard):表示2~5小时内完成解冻。如果不传入JobParameters节点,则默认为Standard。'."\n"
.' - 批量(Bulk):表示5~12小时内完成解冻。'."\n"
."\n"
.'4、解冻状态结束后,Object再次返回到冷冻状态。'."\n"
."\n"
.'**计费说明**'."\n"
."\n"
.'状态变换过程中产生的相关费用如下:'."\n"
.'- 对处于冷冻状态的Object执行解冻操作,会产生数据取回费用。'."\n"
.'- 解冻状态最多延长7天。在此期间不再重复收取数据取回费用。'."\n"
.'- 解冻状态结束后,Object又回到冷冻状态,再次执行解冻操作会收取数据取回费用。'."\n",
'changeSet' => [
['createdAt' => '2024-02-21T14:29:26.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:RestoreObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:RestoreObjectVersion'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'SealAppendObject' => [
'path' => '/{key}?seal',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '270912',
'abilityTreeNodes' => ['FEATUREoss3B98QQ', 'FEATUREoss6C3PSM'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['title' => '存储空间名称', 'description' => '存储空间名称', 'type' => 'string', 'required' => true, 'example' => 'test-bucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['title' => 'Appendable Object的名称', 'description' => 'Appendable Object的名称', 'type' => 'string', 'required' => true, 'example' => 'test-appendable-object'],
],
[
'name' => 'position',
'in' => 'query',
'schema' => ['title' => '指定执行SealAppendObject操作时Object的预期长度。OSS会检查此长度与Object的实际长度是否一致。如果不一致,请求将失败并返回PositionNotEqualToLength错误。', 'description' => '用于指定从用户期望Seal时该文件的长度。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-sealed-time' => [
'schema' => ['title' => '该Object执行SealAppendable操作的GMT时间。 若该Object未执行过SealAppendable操作,则返回本次操作时间。 若该Object执行过SealAppendable操作,则返回对应的操作时间。', 'type' => 'string'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '封存可追加对象',
'summary' => '通过AppendObject操作创建的Appendable Object,SealAppendable 操作用于Appendable Object停止继续写入。执行该操作后,允许用户通过配置生命周期来将对应的Appendable Object存储类型转为冷归档或深度冷归档存储类型。',
'changeSet' => [
['createdAt' => '2025-11-28T06:11:10.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'SelectObject' => [
'path' => '/{key}',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/octet-stream'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '9079',
'abilityTreeNodes' => ['FEATUREossY4V3W6'],
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object的完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject.txt'],
],
[
'name' => 'x-oss-process',
'in' => 'query',
'schema' => ['description' => '如果是csv文件,该值需要设置为csv/select;如果是json文件,则需要设置为json/select。', 'type' => 'string', 'required' => true, 'example' => 'csv/select'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存SelectObject请求的容器。',
'type' => 'object',
'properties' => [
'SelectRequest' => ['description' => '保存Select请求的容器。', 'required' => false, '$ref' => '#/components/schemas/SelectRequest'],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => ['description' => '- 若header x-oss-select-output-raw值为true,则表明返回结果是对象数据(而不是Frame包装的),客户端可以完全按照Get API的方式获取数据。'."\n"
.'- 若x-oss-select-output-raw的值为false,请求结果以Frame形式返回。'."\n"
.'Frame的格式为`Version|Frame-Type | Payload Length | Header Checksum | Payload | Payload Checksum<1 byte><--3 bytes--><---4 bytes----><-------4 bytes--><----4bytes---------->`。'."\n"
."\n\n"
.'>Checksum均为CRC32。Frame里所有的整数均以大端编码(big endian),且Version目前为1。', 'type' => 'string', 'format' => 'binary', 'example' => '无'],
],
'5XX' => [],
],
'title' => '对文件执行SQL语句并返回结果',
'summary' => '对目标文件执行SQL语句,返回执行结果。',
'description' => '- 此操作要求您对该Object有读权限。'."\n"
.'- 正确执行时,该API返回206。如果SQL语句不正确,或者和文件不匹配,则会返回400错误。'."\n"
.'- 关于SelectObject的功能介绍请参见[使用SelectObject查询文件](~~106082~~)。',
'changeSet' => [
['createdAt' => '2025-03-04T06:20:03.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObjectTagging'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\"无\\"","type":"json"}]',
],
'StartDataLakeCachePrefetchJob' => [
'path' => '/?x-oss-datalake-cache-prefetch-job&x-oss-datalake-job-start',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '246318',
'abilityTreeNodes' => ['FEATUREossRGUKNQ'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'x-oss-datalake-job-id',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'changeSet' => [
['createdAt' => '2025-04-08T10:59:24.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:StartDataLakeCachePrefetchJob',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'UpdateBucketAntiDDosInfo' => [
'path' => '/?antiDDos',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'."\n"],
],
[
'name' => 'x-oss-defender-instance',
'in' => 'header',
'schema' => ['description' => '高防实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cbcac8d2-4f75-4d6d-9f2e-c3447f73****'],
],
[
'name' => 'x-oss-defender-status',
'in' => 'header',
'schema' => ['description' => '更新高防实例状态。取值如下:'."\n"
."\n"
.'- Init:初始化防护状态。该状态下需要传入待防护的自定义域名。'."\n"
."\n"
.'- Defending:防护中状态。该状态下可以选择是否传入待防护的自定义域名。'."\n"
."\n"
.'- HaltDefending:解除防护状态。该状态下不需要传入待防护的自定义域名。', 'type' => 'string', 'required' => true, 'example' => 'Init'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'xml',
'schema' => [
'description' => '保存高防实例配置信息的请求体。',
'type' => 'object',
'properties' => [
'AntiDDOSConfiguration' => ['description' => '保存高防实例配置信息的容器。', 'required' => false, '$ref' => '#/components/schemas/BucketAntiDDOSConfiguration'],
],
'required' => false,
],
],
],
'responses' => [
200 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '更新Bucket防护状态',
'summary' => '更新Bucket防护状态。',
'changeSet' => [
['createdAt' => '2024-02-21T14:29:26.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:UpdateBucketAntiDDosInfo',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'UpdateUserAntiDDosInfo' => [
'path' => '/?antiDDos',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '169390',
'abilityTreeNodes' => ['FEATUREossB6Q3Z5'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'x-oss-defender-instance',
'in' => 'header',
'schema' => ['description' => '高防实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cbcac8d2-4f75-4d6d-9f2e-c3447f73****'],
],
[
'name' => 'x-oss-defender-status',
'in' => 'header',
'schema' => ['description' => '更改高防OSS实例状态。取值为:HaltDefending,表示解除防护。', 'type' => 'string', 'required' => true, 'example' => 'HaltDefending'],
],
],
'responses' => [
200 => [],
],
'title' => '更改高防OSS实例状态',
'summary' => '更改高防OSS实例状态。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:UpdateUserAntiDDosInfo',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'UploadPart' => [
'path' => '/{key}',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/octet-stream'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'partNumber',
'in' => 'query',
'schema' => ['description' => '每一个上传的Part都有一个标识它的号码(partNumber)。'."\n"
."\n"
.'取值:1~10000'."\n"
."\n"
.'单个Part的大小限制为100 KB~5 GB。'."\n"
.'>MultipartUpload事件中除最后一个Part以外,其他Part的大小都要大于或等于100 KB。因不确定是否为最后一个Part,UploadPart接口并不会立即校验上传Part的大小,只有当CompleteMultipartUpload时才会校验。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'],
],
[
'name' => 'uploadId',
'in' => 'query',
'schema' => ['description' => 'uploadId用于唯一标识上传的Part属于哪个Object。', 'type' => 'string', 'required' => true, 'example' => '0004B9895DBBB6EC98E36'],
],
[
'name' => 'body',
'in' => 'body',
'schema' => ['description' => '请求体。', 'type' => 'string', 'format' => 'binary', 'required' => false, 'example' => '二进制内容'],
],
],
'responses' => [
200 => [],
'5XX' => [],
],
'title' => '分块上传数据',
'summary' => '根据指定的Object名和uploadId来分块(Part)上传数据。',
'description' => '- 调用UploadPart接口上传Part数据前,必须先调用InitiateMultipartUpload接口来获取OSS服务器生成的uploadId。'."\n"
."\n"
.'- 如果使用同一个partNumber上传了新的数据,则OSS上已有的partNumber对应的Part数据将被覆盖。'."\n"
."\n"
.'- OSS会将服务器端收到Part数据的MD5值放在ETag头返回给用户。'."\n"
."\n"
.'- 如果调用InitiateMultipartUpload接口时,指定了x-oss-server-side-encryption请求头,则会对上传的Part进行加密编码,并在UploadPart响应头中返回x-oss-server-side-encryption头,其值表明该Part的服务器端加密算法。更多信息,请参见[InitiateMultipartUpload](~~31992~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:RequestObjectTag'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n","type":"xml"}]',
],
'UploadPartCopy' => [
'summary' => '从一个已存在的Object中拷贝数据来上传一个Part。',
'path' => '/{key}',
'methods' => ['put'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/xml'],
'produces' => ['application/xml'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'bucket',
'in' => 'host',
'schema' => ['description' => 'Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'examplebucket'],
],
[
'name' => 'key',
'in' => 'path',
'schema' => ['description' => 'Object完整路径。', 'type' => 'string', 'required' => true, 'example' => 'exampledir/exampleobject/txt'],
],
[
'name' => 'x-oss-copy-source',
'in' => 'header',
'schema' => ['description' => '拷贝源地址(必须有可读权限)。', 'type' => 'string', 'required' => true, 'example' => '/oss-example/ src-object'],
],
[
'name' => 'partNumber',
'in' => 'query',
'schema' => ['description' => '每一个上传的Part都有一个标识它的号码(partNumber)。'."\n"
."\n"
.'取值:1~10000'."\n"
."\n"
.'单个Part的大小限制为100 KB~5 GB。'."\n"
.'> MultipartUpload事件中除最后一个Part以外,其他Part的大小都要大于或等于100 KB。因不确定是否为最后一个Part,UploadPart接口并不会立即校验上传Part的大小,只有当CompleteMultipartUpload时才会校验。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10000'],
],
[
'name' => 'uploadId',
'in' => 'query',
'schema' => ['description' => 'uploadId用于唯一标识上传的Part属于哪个Object。', 'type' => 'string', 'required' => true, 'example' => '0004B999EF5A239BB9138C6227D69F95'],
],
[
'name' => 'x-oss-copy-source-range',
'in' => 'header',
'schema' => ['description' => '源Object的拷贝范围。例如设置bytes=0~9,表示拷贝0到9这10个字符。'."\n"
.'默认值:无'."\n"
.' - 不指定该请求头时,表示拷贝整个源Object。'."\n"
.' - 当指定该请求头时,则返回消息中会包含整个文件的长度和此次拷贝的范围,例如:Content-Range: bytes 0~9/44,表示整个文件长度为44,此次拷贝的范围为0~9。'."\n"
.' - 当指定的范围不符合规范时,则拷贝整个源Object,并且不在结果中提及Content-Range。', 'type' => 'string', 'required' => false, 'example' => 'bytes=100-6291756'],
],
[
'name' => 'x-oss-copy-source-if-match',
'in' => 'header',
'schema' => ['description' => '如果源Object的ETAG值和用户提供的ETAG相等,则执行拷贝操作;否则返回412 HTTP错误码(预处理失败)。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => '5B3C1A2E053D763E1B002CC607C5****'],
],
[
'name' => 'x-oss-copy-source-if-none-match',
'in' => 'header',
'schema' => ['description' => '如果传入的ETag值和Object的ETag不匹配,则正常传输文件,并返回200 OK;否则返回304 Not Modified。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => '5B3C1A2E053D763E1B002CC607C5****'],
],
[
'name' => 'x-oss-copy-source-if-unmodified-since',
'in' => 'header',
'schema' => ['description' => '如果传入参数中的时间等于或者晚于文件实际修改时间,则正常传输文件,并返回200 OK;否则返回412 precondition failed错误。'."\n"
.'默认值:无', 'type' => 'string', 'required' => false, 'example' => 'Fri, 13 Oct 2015 14:47:53 GMT'],
],
[
'name' => 'x-oss-copy-source-if-modified-since',
'in' => 'header',
'schema' => ['description' => '如果指定的时间早于实际修改时间,则正常传送文件,并返回200 OK;否则返回304 not modified。'."\n"
.'默认值:无'."\n"
.'时间格式:GMT时间,例如Fri, 13 Nov 2015 14:47:53 GMT', 'type' => 'string', 'required' => false, 'example' => 'Fri, 13 Nov 2015 14:47:53 GMT'],
],
],
'responses' => [
200 => [
'headers' => [
'x-oss-copy-source-version-id' => [
'schema' => ['type' => 'string'],
],
],
'schema' => [
'description' => 'UploadPartCopy请求的响应体。',
'type' => 'object',
'properties' => [
'CopyPartResult' => [
'description' => '保存UploadPartCopy结果的容器。',
'type' => 'object',
'properties' => [
'LastModified' => ['description' => '最近一次修改时间。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2014-07-17T06:27:54.000Z'],
'ETag' => ['description' => '被拷贝Object的ETag值。', 'type' => 'string', 'example' => '"5B3C1A2E053D763E1B002CC607C5****"'],
],
],
],
],
],
'5XX' => [],
],
'title' => '拷贝数据上传一个数据块',
'description' => '该接口为通过在UploadPart请求的基础上增加一个请求头x-oss-copy-source来调用UploadPartCopy接口,实现从一个已存在的Object中拷贝数据来上传一个Part。'."\n"
."\n"
.'**注意事项**'."\n"
.'
当拷贝一个大于1 GB的文件时,必须使用UploadPartCopy的方式进行拷贝。如果想通过单个操作拷贝小于1 GB的文件,请参见[CopyObject](https://help.aliyun.com/document_detail/31979.htm?spm=a2c4g.11186623.0.0.49aa29d6oRCP8o#t4696.html)。'."\n"
.'
使用UploadPartCopy接口时,有如下注意事项:'."\n"
."\n"
.'- 不允许拷贝以AppendObject方式上传的Object。'."\n"
."\n"
.'- 执行UploadPartCopy的源Bucket地址和目标Bucket地址必须是同一个Region。'."\n"
."\n"
.'- 调用该接口上传Part数据前,必须先调用InitiateMultipartUpload接口来获取一个OSS服务器颁发的Upload ID。'."\n"
."\n"
.'- 若调用InitiateMultipartUpload接口时,指定了x-oss-server-side-encryption请求头,则会对上传的Part进行加密编码,并在UploadPart响应头中返回x-oss-server-side-encryption头,其值表明该Part的服务器端加密算法,详情请参见[InitiateMultipartUpload](~~31992~~)。'."\n"
."\n"
.'- MultipartUpload要求除最后一个Part以外,其他的Part大小都要大于100 KB。因不确定是否为最后一个Part,UploadPart接口并不会立即校验上传Part的大小,只有当CompleteMultipartUpload的时候才会校验。'."\n"
."\n"
.'**版本控制**'."\n"
."\n"
.'UploadPartCopy默认从一个已存在的Object的当前版本中拷贝数据来上传一个Part。允许通过在请求头x-oss-copy-source中附带versionId的子条件,实现从Object的指定版本进行拷贝,例如x-oss-copy-source : /SourceBucketName/SourceObjectName?versionId=111111。'."\n"
.'>SourceObjectName要进行URL编码。响应中将会返回被拷贝Object的versionId:x-oss-copy-source-version-id。'."\n"
."\n"
.'如果未指定versionId且拷贝Object的当前版本为删除标记(Delete Marker),OSS将返回404 Not Found。通过指定versionId来拷贝删除标记时,OSS将返回400 Bad Request。'."\n"
."\n",
'changeSet' => [
['createdAt' => '2024-02-21T14:29:35.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:RequestObjectTag'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
'additionalActions' => [
['action' => 'oss:GetObject', 'validationType' => 'always'],
['action' => 'oss:GetObjectVersion'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"\\n\\n 2014-07-17T06:27:54.000Z\\n \\"5B3C1A2E053D763E1B002CC607C5****\\"\\n","type":"xml"}]',
],
],
'endpoints' => [
['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-ap-northeast-1.aliyuncs.com', 'endpoint' => 'oss-ap-northeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-ap-northeast-2.aliyuncs.com', 'endpoint' => 'oss-ap-northeast-2.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-ap-southeast-1.aliyuncs.com', 'endpoint' => 'oss-ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-ap-southeast-2.aliyuncs.com', 'endpoint' => 'oss-ap-southeast-2.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-ap-southeast-3.aliyuncs.com', 'endpoint' => 'oss-ap-southeast-3.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-ap-southeast-5.aliyuncs.com', 'endpoint' => 'oss-ap-southeast-5.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-ap-southeast-6.aliyuncs.com', 'endpoint' => 'oss-ap-southeast-6.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-ap-southeast-7.aliyuncs.com', 'endpoint' => 'oss-ap-southeast-7.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-beijing.aliyuncs.com', 'endpoint' => 'oss-cn-beijing.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-chengdu.aliyuncs.com', 'endpoint' => 'oss-cn-chengdu.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-fuzhou', 'regionName' => '华东6(福州-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-fuzhou.aliyuncs.com', 'endpoint' => 'oss-cn-fuzhou.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-guangzhou.aliyuncs.com', 'endpoint' => 'oss-cn-guangzhou.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-hangzhou.aliyuncs.com', 'endpoint' => 'oss-cn-hangzhou.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-heyuan.aliyuncs.com', 'endpoint' => 'oss-cn-heyuan.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-hongkong.aliyuncs.com', 'endpoint' => 'oss-cn-hongkong.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-huhehaote.aliyuncs.com', 'endpoint' => 'oss-cn-huhehaote.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-nanjing', 'regionName' => '华东5(南京-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-nanjing.aliyuncs.com', 'endpoint' => 'oss-cn-nanjing.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-qingdao.aliyuncs.com', 'endpoint' => 'oss-cn-qingdao.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-shanghai.aliyuncs.com', 'endpoint' => 'oss-cn-shanghai.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-shenzhen.aliyuncs.com', 'endpoint' => 'oss-cn-shenzhen.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-wuhan-lr', 'regionName' => '华中1(武汉-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'oss-cn-wuhan-lr.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-wulanchabu.aliyuncs.com', 'endpoint' => 'oss-cn-wulanchabu.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'oss-cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'oss-cn-zhangjiakou.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'oss-us-west-1.aliyuncs.com', 'endpoint' => 'oss-us-west-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'oss-us-east-1.aliyuncs.com', 'endpoint' => 'oss-us-east-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'oss-eu-west-1.aliyuncs.com', 'endpoint' => 'oss-eu-west-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'oss-eu-central-1.aliyuncs.com', 'endpoint' => 'oss-eu-central-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'oss-me-east-1.aliyuncs.com', 'endpoint' => 'oss-me-east-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'oss-ap-south-1.aliyuncs.com', 'endpoint' => 'oss-ap-south-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'oss-cn-shenzhen-finance-1-internal.aliyuncs.com', 'endpoint' => 'oss-cn-shenzhen-finance-1-internal.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'oss-cn-shanghai-finance-1-internal.aliyuncs.com', 'endpoint' => 'oss-cn-shanghai-finance-1-internal.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'oss-cn-hzjbp-b-console.aliyuncs.com', 'endpoint' => 'oss-cn-hzjbp-b-console.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'oss-cn-beijing-finance-1-internal.aliyuncs.com', 'endpoint' => 'oss-cn-beijing-finance-1-internal.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [
['code' => 'AbnormalBucketOwnerStatus', 'message' => null, 'http_code' => null, 'description' => '账号状态异常,可能是欠费了'],
['code' => 'AccessDenied', 'message' => null, 'http_code' => null, 'description' => '没有相应的访问权限'],
['code' => 'AccessForbidden', 'message' => null, 'http_code' => null, 'description' => '禁止访问'],
['code' => 'aclAccessDenied', 'message' => null, 'http_code' => null, 'description' => '需要授予GetBucketAcl权限'],
['code' => 'AclNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'Acl不允许为空'],
['code' => 'AllowedHeaderMoreThanOneAsterisk', 'message' => null, 'http_code' => null, 'description' => 'AllowedHeader每条来源中最多只能有一个*'],
['code' => 'AllowedMethodNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'AllowedMethod不允许为空'],
['code' => 'AllowedOriginMoreThanOneAsterisk', 'message' => null, 'http_code' => null, 'description' => 'AllowedOrigin每条来源中最多只能有一个*'],
['code' => 'AllowedOriginNotAllowEmpty', 'message' => null, 'http_code' => null, 'description' => 'AllowedOrigin不允许为空'],
['code' => 'BadParamters', 'message' => null, 'http_code' => null, 'description' => '参数错误'],
['code' => 'BindDomainInRiskControlBlackList', 'message' => null, 'http_code' => null, 'description' => '要绑定的域名由于风控规则限制不能进行相应操作'],
['code' => 'BindDomainMustAliyunJoinUp', 'message' => null, 'http_code' => null, 'description' => '非阿里云备案接入的域名不能域名绑定'],
['code' => 'BindDomainNoHaveIcpNo', 'message' => null, 'http_code' => null, 'description' => '输入域名还未备案,不能进行bucket域名绑定,请备案后再添加绑定'],
['code' => 'BindDomainNotAllowedContainsChinese', 'message' => null, 'http_code' => null, 'description' => '暂不支持中文域名的绑定,请使用英文域名进行绑定'],
['code' => 'BindedBucketCNameDeleteFail', 'message' => null, 'http_code' => null, 'description' => '域名绑定删除不成功,请重试'],
['code' => 'BucketAlreadyExists', 'message' => null, 'http_code' => null, 'description' => '该Bucket已存在或被其他用户占用'],
['code' => 'BucketAlreadyExists', 'message' => 'The requested bucket name is not available.', 'http_code' => null, 'description' => '该Bucket已存在或被其他用户占用'],
['code' => 'BucketAlreadyHasReplicationConfiguration', 'message' => null, 'http_code' => null, 'description' => '目标Bucket已经开启了跨区域数据复制,请选择其他Bucket'],
['code' => 'BucketCorsRuleAlreadyExist', 'message' => null, 'http_code' => null, 'description' => 'CORS规则已存在'],
['code' => 'BucketDisable', 'message' => null, 'http_code' => null, 'description' => 'Bucket状态被设置为Disable'],
['code' => 'BucketMetaIsNull', 'message' => null, 'http_code' => null, 'description' => '该Bucket没有metadata'],
['code' => 'BucketNameNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'BucketName不允许为空'],
['code' => 'BucketNotBelongTo', 'message' => null, 'http_code' => null, 'description' => '该bucket属于另外一个用户'],
['code' => 'BucketNotEmpty', 'message' => null, 'http_code' => null, 'description' => 'Bucket不为空,请检查该Bucket是否包含未删除的Object或者未成功的Multipart碎片'],
['code' => 'BucketReplicationAlreadyExist', 'message' => null, 'http_code' => null, 'description' => '此Bucket已经开启了跨区域数据复制'],
['code' => 'CachedTimeTooLarge', 'message' => null, 'http_code' => null, 'description' => '缓存时间过大'],
['code' => 'CallbackFailed', 'message' => null, 'http_code' => null, 'description' => '上传回调失败'],
['code' => 'CannotGenerateValidateFile', 'message' => null, 'http_code' => null, 'description' => '校验文件无法下载'],
['code' => 'CapacityOverLimit', 'message' => null, 'http_code' => null, 'description' => '写入数据容量超过上限'],
['code' => 'cdnRefreshError', 'message' => null, 'http_code' => null, 'description' => '刷新CDN缓存失败,可能是url错误,或已达刷新上限,请稍后重试'],
['code' => 'CNameAlreadyBindedByOtherUser', 'message' => null, 'http_code' => null, 'description' => '该域名已被绑定,请更换域名重试'],
['code' => 'CNameNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '绑定域名不允许为空'],
['code' => 'CNameRecordNotExist', 'message' => null, 'http_code' => null, 'description' => '记录不存在,请检查查询参数后重试'],
['code' => 'CNameStatusNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '绑定域名状态不允许为空'],
['code' => 'codeTypeNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '风控类型不允许为空'],
['code' => 'ConfigurationConflict', 'message' => null, 'http_code' => null, 'description' => '规则配置冲突'],
['code' => 'ConnectionRefused', 'message' => null, 'http_code' => null, 'description' => '连接被拒绝'],
['code' => 'ConnectionTimeout', 'message' => null, 'http_code' => null, 'description' => '连接超时'],
['code' => 'ConsoleCommonErrorInvokeAkException', 'message' => null, 'http_code' => null, 'description' => '抱歉,获取AccessKeys异常。'],
['code' => 'ConsoleCommonErrorNoEnabledKeys', 'message' => null, 'http_code' => null, 'description' => '抱歉,没有启用状态的Key。 'ConsoleCommonErrorUserDisabled', 'message' => null, 'http_code' => null, 'description' => '抱歉,您的OSS服务已停用。 'ConsoleCommonErrorUserNotFound', 'message' => null, 'http_code' => null, 'description' => '抱歉,您还未开通OSS服务。 'ConsoleCommonErrorUserServiceException', 'message' => null, 'http_code' => null, 'description' => '抱歉,您的OSS服务状态异常,请联系客服。 'ConsoleNeedLogin', 'message' => null, 'http_code' => null, 'description' => '请求不成功,请重新 'ConsoleServiceNotSupport', 'message' => null, 'http_code' => null, 'description' => '找不到相应的模板或模块'],
['code' => 'ConsoleSysError', 'message' => null, 'http_code' => null, 'description' => '请求不成功,请刷新重试'],
['code' => 'CORSRuleBeyondLimit', 'message' => null, 'http_code' => null, 'description' => '超过CORS可创建规则的上限'],
['code' => 'CORSRuleIdNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'cors的规则id不允许为空'],
['code' => 'CreateAccesskeysFailed', 'message' => null, 'http_code' => null, 'description' => '创建accessKey失败'],
['code' => 'Default', 'message' => null, 'http_code' => null, 'description' => '请求不成功,请重试'],
['code' => 'DeletingPartIsNull', 'message' => null, 'http_code' => null, 'description' => '批量删除Objects不成功'],
['code' => 'DisallowEmptyReferNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'DisallowEmptyRefer不允许为空'],
['code' => 'DomainAlreadyBindedOtherBucket', 'message' => null, 'http_code' => null, 'description' => '其他用户已经绑定该域名到bucket(%s),请更换其他域名进行绑定'],
['code' => 'DomainAlreadyExist', 'message' => null, 'http_code' => null, 'description' => '域名在CDN已经存在,请删除CDN上的域名再进行绑定'],
['code' => 'DomainIdNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'domainId不允许为空'],
['code' => 'domainInCdn', 'message' => null, 'http_code' => null, 'description' => '该域名已在CDN服务中添加,请换域名重试'],
['code' => 'DomainLengthMoreThanAllowed', 'message' => null, 'http_code' => null, 'description' => '域名长度超出限制,允许长度范围3-63个字符'],
['code' => 'DomainNetWorkVisitedException', 'message' => null, 'http_code' => null, 'description' => '域名网络访问异常'],
['code' => 'DomainNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '域名不允许为空'],
['code' => 'DomainNotJoinUpByAliyun', 'message' => null, 'http_code' => null, 'description' => '非阿里云备案接入的域名不能绑定顶级域名'],
['code' => 'DomainValidateFileContentNotMatch', 'message' => null, 'http_code' => null, 'description' => '域名校验文件内容不匹配'],
['code' => 'DomainValidateFileNotExist', 'message' => null, 'http_code' => null, 'description' => '域名校验文件不存在'],
['code' => 'DomainValidateFileVisitedException', 'message' => null, 'http_code' => null, 'description' => '域名校验文件网络访问异常'],
['code' => 'DownloadTrafficRateLimitExceeded', 'message' => null, 'http_code' => null, 'description' => '下载流量超过限制,默认上限是 5Gbps,包括内外网'],
['code' => 'DubboServiceInvokeError', 'message' => null, 'http_code' => null, 'description' => '远程服务调用失败'],
['code' => 'EndpointInvalid', 'message' => null, 'http_code' => null, 'description' => '接收终端Http地址不合法(禁止使用内网IP)'],
['code' => 'EntityTooLarge', 'message' => null, 'http_code' => null, 'description' => '实体过大'],
['code' => 'EntityTooSmall', 'message' => null, 'http_code' => null, 'description' => '实体过小'],
['code' => 'ExpireDaysRuleMaxMoreThanZero', 'message' => null, 'http_code' => null, 'description' => '过期天数必须大于0'],
['code' => 'ExpireTimeMustLessThanTenYears', 'message' => null, 'http_code' => null, 'description' => '过期时间不能超过10年'],
['code' => 'ExpireTimeMustOverThanOneSecond', 'message' => null, 'http_code' => null, 'description' => '过期时间必须多于1秒'],
['code' => 'ExpireTimeNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '签名url过期时间不允许为空'],
['code' => 'FetchCacheDataError', 'message' => null, 'http_code' => null, 'description' => '从缓存获取数据失败'],
['code' => 'FieldItemTooLong', 'message' => null, 'http_code' => null, 'description' => 'Post请求中表单域过大'],
['code' => 'fileContentError', 'message' => null, 'http_code' => null, 'description' => '文件内容异常,请重试'],
['code' => 'FileGroupTooLarge', 'message' => null, 'http_code' => null, 'description' => '文件组过大'],
['code' => 'FilePartInterity', 'message' => null, 'http_code' => null, 'description' => '文件Part已改变'],
['code' => 'FilePartNotExist', 'message' => null, 'http_code' => null, 'description' => '文件Part不存在'],
['code' => 'FilePartStale', 'message' => null, 'http_code' => null, 'description' => '文件Part过时'],
['code' => 'fileUploadFailed', 'message' => null, 'http_code' => null, 'description' => '上传文件不成功,请重试'],
['code' => 'FolderDeletedFail', 'message' => null, 'http_code' => null, 'description' => '虚拟文件夹删除不成功'],
['code' => 'FolderDeleting', 'message' => null, 'http_code' => null, 'description' => '文件夹正在删除,需要一些时间,请勿重复操作'],
['code' => 'ForbidRedirect', 'message' => null, 'http_code' => null, 'description' => 'Bucket所在的节点信息不正确'],
['code' => 'GetBucketListFailed', 'message' => null, 'http_code' => null, 'description' => '获取Bucket列表失败'],
['code' => 'GetServiceDenied', 'message' => null, 'http_code' => null, 'description' => '您当前没有GetService接口的操作权限'],
['code' => 'GetSignUrlException', 'message' => null, 'http_code' => null, 'description' => '获取签名url遇到异常'],
['code' => 'IlegalDomain', 'message' => null, 'http_code' => null, 'description' => '(%s)不是合法域名,请输入合法域名'],
['code' => 'IllegalLocationConstraintException', 'message' => null, 'http_code' => null, 'description' => 'location信息和endpoint不匹配'],
['code' => 'IllegalOperation', 'message' => null, 'http_code' => null, 'description' => '非法域名,无法操作'],
['code' => 'ImageStyleNameError', 'message' => null, 'http_code' => null, 'description' => '图片样式名称错误,只能包含数字、字母、下划线(_)、短横线(-)以及小数点(.);长度必须在1-63字节之间'],
['code' => 'ImageWatermarkNeedObject', 'message' => null, 'http_code' => null, 'description' => '图片水印必须含有object名称'],
['code' => 'IncorrectNumberOfFilesInPOSTRequest', 'message' => null, 'http_code' => null, 'description' => 'Post请求中文件个数非法'],
['code' => 'IndexFileMustBeSetted', 'message' => null, 'http_code' => null, 'description' => '如果设置错误页面,必须设置默认首页'],
['code' => 'InitContextError', 'message' => null, 'http_code' => null, 'description' => '上下文初始化失败'],
['code' => 'InitOMSFailed', 'message' => null, 'http_code' => null, 'description' => 'oms初始化失败'],
['code' => 'InsertDomainDataFail', 'message' => null, 'http_code' => null, 'description' => '域名绑定数据写入不成功,请重试'],
['code' => 'InternalError', 'message' => null, 'http_code' => null, 'description' => '服务繁忙,请重试'],
['code' => 'InvalidAccessKeyId', 'message' => null, 'http_code' => null, 'description' => '无效的AccessId'],
['code' => 'InvalidAllowedOriginOrMehotd', 'message' => null, 'http_code' => null, 'description' => '请求来源或者请求方法不能为空'],
['code' => 'InvalidArgument', 'message' => null, 'http_code' => null, 'description' => '参数格式错误'],
['code' => 'InvalidBindBucketName', 'message' => null, 'http_code' => null, 'description' => '抱歉,您的Bucket名称中包含\'_\'不能作为OSS三级通信域名(Bucket.oss.aliyuncs.com)使用'],
['code' => 'InvalidBucketAclParamter', 'message' => null, 'http_code' => null, 'description' => 'acl不合法,只能从[private,public-read,public-read-write]中选择'],
['code' => 'InvalidBucketLocationParamter', 'message' => null, 'http_code' => null, 'description' => 'location信息不正确'],
['code' => 'InvalidBucketName', 'message' => null, 'http_code' => null, 'description' => 'Bucket命名不合法'],
['code' => 'InvalidBucketName', 'message' => 'The specified bucket is not valid.', 'http_code' => null, 'description' => '无效的Bucket名字,Bucket命名规则请参看开发人员指南'],
['code' => 'InvalidBucketOwner', 'message' => null, 'http_code' => null, 'description' => '您不是该Bucket的拥有者'],
['code' => 'InvalidBuckets', 'message' => null, 'http_code' => null, 'description' => '获取bucket列表失败'],
['code' => 'InvalidDigest', 'message' => null, 'http_code' => null, 'description' => '无效的摘要'],
['code' => 'InvalidDomain', 'message' => null, 'http_code' => null, 'description' => '域名命名规则无效,请输入有效域名'],
['code' => 'InvalidDomain.Configure_failed', 'message' => null, 'http_code' => null, 'description' => '域名配置失败,无法刷新'],
['code' => 'InvalidDomain.NotFound', 'message' => null, 'http_code' => null, 'description' => '域名不存在或不属于当前用户,请检查'],
['code' => 'InvalidDomain.Offline', 'message' => null, 'http_code' => null, 'description' => '域名已下线,请检查'],
['code' => 'InvalidDomainName.Format', 'message' => null, 'http_code' => null, 'description' => '域名格式错误'],
['code' => 'InvalidDomainSuffix', 'message' => null, 'http_code' => null, 'description' => '域名后缀无效,请使用有效的域名后缀'],
['code' => 'InvalidEncryptionAlgorithmError', 'message' => null, 'http_code' => null, 'description' => '签名算法无效'],
['code' => 'InvalidHostPutBucket', 'message' => null, 'http_code' => null, 'description' => '无效的host'],
['code' => 'InvalidLifeCycleStatusParameters', 'message' => null, 'http_code' => null, 'description' => '无效的Status内容,Status仅为Enabled,Disabled,并且严格区分大小写'],
['code' => 'InvalidLinkName', 'message' => null, 'http_code' => null, 'description' => 'ObjectLink与指向的Object同名'],
['code' => 'InvalidLocationConstraint', 'message' => null, 'http_code' => null, 'description' => 'Location信息不正确'],
['code' => 'InvalidObjectName', 'message' => null, 'http_code' => null, 'description' => 'Object命名不合法'],
['code' => 'InvalidObjectPath.Malformed', 'message' => null, 'http_code' => null, 'description' => 'ObjectPath值格式错误,请检查后重试'],
['code' => 'InvalidObjectType.ValueNotSupported', 'message' => null, 'http_code' => null, 'description' => 'ObjectType值不支持,请检查后重试'],
['code' => 'InvalidOCMResponse', 'message' => null, 'http_code' => null, 'description' => '返回结果处理失败,请重试'],
['code' => 'InvalidOSSEndPoint', 'message' => null, 'http_code' => null, 'description' => '无效的ossapiendpoint配置'],
['code' => 'InvalidParameterOfAliUid', 'message' => null, 'http_code' => null, 'description' => '用户Id不合法'],
['code' => 'InvalidParameters', 'message' => null, 'http_code' => null, 'description' => '参数不合法'],
['code' => 'InvalidPart', 'message' => null, 'http_code' => null, 'description' => '无效的Part'],
['code' => 'InvalidPartOrder', 'message' => null, 'http_code' => null, 'description' => '无效的Part顺序'],
['code' => 'InvalidPolicyDocument', 'message' => null, 'http_code' => null, 'description' => 'Post请求中Policy无效'],
['code' => 'InvalidRange', 'message' => null, 'http_code' => null, 'description' => '无效的范围'],
['code' => 'InvalidRegion', 'message' => null, 'http_code' => null, 'description' => '参数错误,region或者aliUid为空'],
['code' => 'InvalidRequestParameters', 'message' => null, 'http_code' => null, 'description' => '请求参数不合法,请检查请求参数后重试'],
['code' => 'InvalidResponse', 'message' => null, 'http_code' => null, 'description' => '无效响应'],
['code' => 'InvalidRiskControlCodeType', 'message' => null, 'http_code' => null, 'description' => '未正确设置风控类型'],
['code' => 'InvalidTargetBucket', 'message' => null, 'http_code' => null, 'description' => '选择的目标Bucket不存在'],
['code' => 'InvalidTargetBucketForLogging', 'message' => null, 'http_code' => null, 'description' => '设置日志的Bucket无效'],
['code' => 'InvalidTargetLocation', 'message' => null, 'http_code' => null, 'description' => '选择的目标地域不存在'],
['code' => 'InvalidXMLFormat', 'message' => null, 'http_code' => null, 'description' => '无效的xml格式'],
['code' => 'InvokeAkException', 'message' => null, 'http_code' => null, 'description' => '抱歉,获取AccessKeys失败'],
['code' => 'InvokeAKServiceFailed', 'message' => null, 'http_code' => null, 'description' => '调用AccessKeys服务失败'],
['code' => 'InvokeLocationServiceFailed', 'message' => null, 'http_code' => null, 'description' => '调用Location服务失败'],
['code' => 'InvokeOmsFailed', 'message' => null, 'http_code' => null, 'description' => '获取Bucket计量数据失败'],
['code' => 'lifeCyclePrefixOverlap', 'message' => null, 'http_code' => null, 'description' => '新增Bucket级别的LifeCycle时需先删除其他LifeCycle,新增前缀匹配的LifeCycle时请确保前缀不存在冲突'],
['code' => 'LifeCycleRuleIdNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'lifeCycle的规则id不允许为空'],
['code' => 'LifeCycleRulePrefixOverLap', 'message' => null, 'http_code' => null, 'description' => 'Prefix规则冲突'],
['code' => 'LifeCycleStatusNotAlllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'LifeCycle的Status不允许为空'],
['code' => 'LinkPartNotExist', 'message' => null, 'http_code' => null, 'description' => 'ObjectLink中指向的Object不存在'],
['code' => 'LoadDataFromOmsFailed', 'message' => null, 'http_code' => null, 'description' => '获取基础资源报表数据失败'],
['code' => 'LoadDataFromOtsFailed', 'message' => null, 'http_code' => null, 'description' => '数据获取失败,请重试'],
['code' => 'LoadingDataFail', 'message' => null, 'http_code' => null, 'description' => '请求繁忙,数据载入不成功,请稍后重试'],
['code' => 'LoadRegionConfigError', 'message' => null, 'http_code' => null, 'description' => 'Region配置信息加载失败'],
['code' => 'LoadReportDataFailed', 'message' => null, 'http_code' => null, 'description' => '报表数据获取失败,请重试'],
['code' => 'MalformedPOSTRequest', 'message' => null, 'http_code' => null, 'description' => 'Post请求的body格式非法'],
['code' => 'MalformedXML', 'message' => null, 'http_code' => null, 'description' => 'XML文件格式不正确'],
['code' => 'MaxPOSTPreDataLengthExceededError', 'message' => null, 'http_code' => null, 'description' => 'Post请求上传文件内容之外的body过大,除了file的表单域大小不要超过4KB'],
['code' => 'MaxPOSTPreDataLengthExceededError', 'message' => 'Your POST request fields preceding the upload file were too large.', 'http_code' => null, 'description' => 'Post请求上传文件内容之外的body过大,除了file的表单域大小不要超过4KB,排除请参看PostObject错误及排查'],
['code' => 'MaxUplodsNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'maxUploads不允许为空'],
['code' => 'MethodNotAllowed', 'message' => null, 'http_code' => null, 'description' => '请求方法不被允许'],
['code' => 'MissingArgument', 'message' => null, 'http_code' => null, 'description' => '缺少参数'],
['code' => 'MissingContentLength', 'message' => null, 'http_code' => null, 'description' => '缺少Content-Length参数'],
['code' => 'MissingContentLength', 'message' => 'You must provide the Content-Length HTTP header.', 'http_code' => null, 'description' => '缺少内容长度,消息即非chunked encoding又没有携带Content-Length。'],
['code' => 'MissingInitOCMParams', 'message' => null, 'http_code' => null, 'description' => '缺少参数'],
['code' => 'MissingParameter', 'message' => null, 'http_code' => null, 'description' => '缺少ObjectPath参数,请检查后重试'],
['code' => 'NoAnyAccesskeys', 'message' => null, 'http_code' => null, 'description' => '还未创建任何accessKey,请先 'NoDeletingItemSelected', 'message' => null, 'http_code' => null, 'description' => '未选中任何要删除的object'],
['code' => 'NoEnabledAccessKey', 'message' => null, 'http_code' => null, 'description' => '抱歉,没有启用状态的Key'],
['code' => 'NoEnabledAKPair', 'message' => null, 'http_code' => null, 'description' => '没有启用状态的accessKeys'],
['code' => 'noLocation', 'message' => null, 'http_code' => null, 'description' => '该地域目前没有可供复制的目标地域,请关注官方公告'],
['code' => 'NonRepeatableRequest', 'message' => null, 'http_code' => null, 'description' => '请勿重复提交请求'],
['code' => 'NoOnlineRegionConfig', 'message' => null, 'http_code' => null, 'description' => '没有可用的Region配置'],
['code' => 'NoRegionConfig', 'message' => null, 'http_code' => null, 'description' => '未配置地域或地域配置为空'],
['code' => 'NoSuchBucket', 'message' => null, 'http_code' => null, 'description' => 'Bucket不存在'],
['code' => 'NoSuchBucket', 'message' => 'The specified bucket does not exist.', 'http_code' => null, 'description' => 'Bucket不存在,请检查该Bucket是否正确。'],
['code' => 'NoSuchChannel', 'message' => null, 'http_code' => null, 'description' => 'Channel不存在'],
['code' => 'NoSuchCname', 'message' => null, 'http_code' => null, 'description' => '暂无cname'],
['code' => 'NoSuchCORSConfiguration', 'message' => null, 'http_code' => null, 'description' => '该Bucket未设置CORS'],
['code' => 'NoSuchKey', 'message' => null, 'http_code' => null, 'description' => 'Object不存在'],
['code' => 'NoSuchLifecycle', 'message' => null, 'http_code' => null, 'description' => '该Bucket未设置LifeCycle'],
['code' => 'NoSuchQuota', 'message' => null, 'http_code' => null, 'description' => '暂无quota信息'],
['code' => 'NoSuchReplicationRule', 'message' => null, 'http_code' => null, 'description' => '跨区域数据复制规则不存在'],
['code' => 'NoSuchRule', 'message' => null, 'http_code' => null, 'description' => 'Rule规则不存在'],
['code' => 'NoSuchStyle', 'message' => null, 'http_code' => null, 'description' => 'Style不存在'],
['code' => 'NoSuchUpload', 'message' => null, 'http_code' => null, 'description' => 'MultipartUploadID不存在'],
['code' => 'NoSuchUser', 'message' => null, 'http_code' => null, 'description' => '用户不存在'],
['code' => 'NoSuchWebsiteConfiguration', 'message' => null, 'http_code' => null, 'description' => 'bucket暂未配置website'],
['code' => 'NotAllowedContainsAsterisk', 'message' => null, 'http_code' => null, 'description' => 'ExposeHeader应用程序响应头中不允许包含*'],
['code' => 'NotAllowedSetAllBucketLifeCycle', 'message' => null, 'http_code' => null, 'description' => '目前已有LifeCycle,请清空后再添加Bucket级别的LifeCycle'],
['code' => 'NotAllowedWebSiteRule', 'message' => null, 'http_code' => null, 'description' => '默认首页或404页面不符合规则,只允许长度为1-63个字符的数字、英文大小写字母且以htm(l)作为扩展名的文件或者为空'],
['code' => 'NotImplemented', 'message' => null, 'http_code' => null, 'description' => '请求方法未实现'],
['code' => 'NotModified', 'message' => null, 'http_code' => null, 'description' => '未被修改'],
['code' => 'NotSupportImageService', 'message' => null, 'http_code' => null, 'description' => '该地域暂不支持图片处理,开放时间以官方公告为准'],
['code' => 'ObjectLinkTooLarge', 'message' => null, 'http_code' => null, 'description' => 'ObjectLink中Object个数过多'],
['code' => 'ObjectNameNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'ObjectName不允许为空'],
['code' => 'ObjectNotAppendable', 'message' => null, 'http_code' => null, 'description' => '对象不可追加'],
['code' => 'OccurException', 'message' => null, 'http_code' => null, 'description' => '发生异常'],
['code' => 'OccurIOException', 'message' => null, 'http_code' => null, 'description' => '发生IO异常'],
['code' => 'OperateObjectsNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '操作的object不允许为空,请选择相应的object'],
['code' => 'OperationDenied', 'message' => null, 'http_code' => null, 'description' => '未开通CDN服务或者CDN服务已被停止,请检查'],
['code' => 'OSSRegionParseFalse', 'message' => null, 'http_code' => null, 'description' => '暂无有效的region配置'],
['code' => 'OSSServiceDisabled', 'message' => null, 'http_code' => null, 'description' => '抱歉,您的服务已被停用。请检查您是否欠费或者Bucket中存在被禁止的内容'],
['code' => 'OSSServiceNoSuchUser', 'message' => null, 'http_code' => null, 'description' => '抱歉,您还未开通OSS服务,请先开通'],
['code' => 'OSS_CONSOLE_BUCKET_NOT_EXIST', 'message' => null, 'http_code' => null, 'description' => 'Bucket不存在'],
['code' => 'OSS_CONSOLE_DOMAIN_BIND_BY_CURRENT', 'message' => null, 'http_code' => null, 'description' => '域名已经绑定在当前bucket上'],
['code' => 'OSS_CONSOLE_DOMAIN_BIND_BY_CURRENT_IMG', 'message' => null, 'http_code' => null, 'description' => '域名已经被当前Bucket的图片处理绑定'],
['code' => 'OSS_CONSOLE_DOMAIN_BIND_BY_OTHER', 'message' => null, 'http_code' => null, 'description' => '该域名已经绑定了其他用户的Bucket,每个域名只能绑定在一个bucket上。'],
['code' => 'OSS_CONSOLE_DOMAIN_BIND_BY_SELF', 'message' => null, 'http_code' => null, 'description' => '域名绑定在自己的其他Bucket上,一个域名只能绑定在一个bucket上'],
['code' => 'OSS_CONSOLE_FORBIDDEN_DOMAIN', 'message' => null, 'http_code' => null, 'description' => '该域名不可以绑定在OSS上'],
['code' => 'OSS_CONSOLE_ICP_NOT_EXIST', 'message' => null, 'http_code' => null, 'description' => '域名没有备案'],
['code' => 'OSS_CONSOLE_ICP_NOT_HICHINA', 'message' => null, 'http_code' => null, 'description' => '域名备案不在阿里云'],
['code' => 'OSS_STATUS_NULL', 'message' => null, 'http_code' => null, 'description' => '开通状态获取失败,请重试'],
['code' => 'OtherUserAlreadyBindDomain', 'message' => null, 'http_code' => null, 'description' => '其他用户已经绑定该域名,请更换其他域名进行绑定'],
['code' => 'OutOfDomainIdRange', 'message' => null, 'http_code' => null, 'description' => 'domainId超过取值范围,取值范围为[1,Long.MAX_VALUE]'],
['code' => 'OutOfMaxKeysRange', 'message' => null, 'http_code' => null, 'description' => '每次返回的Object数超过范围,取值范围为[1,1000]'],
['code' => 'OutOfMaxRetRange', 'message' => null, 'http_code' => null, 'description' => '超过最大返回结果数的取值范围,取值范围为[1,500]'],
['code' => 'OutOfMaxUploadsRange', 'message' => null, 'http_code' => null, 'description' => '每次返回的uploads数超过范围,取值范围为[1,1000]'],
['code' => 'OVER_DOMAIN_MAX_NUM', 'message' => null, 'http_code' => null, 'description' => '超过bucket域名绑定限制'],
['code' => 'ParameterParserIsNull', 'message' => null, 'http_code' => null, 'description' => 'ParameterParser为空'],
['code' => 'ParamsEndTimeNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '结束时间不允许为空'],
['code' => 'ParamsMaxRetNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '最大返回结果数不允许为空'],
['code' => 'ParamsSelectNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '查询字段不允许为空'],
['code' => 'ParamsStartTimeNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => '开始时间不允许为空'],
['code' => 'ParseCacheDataError', 'message' => null, 'http_code' => null, 'description' => '缓存数据转换失败'],
['code' => 'PermanentRedirect', 'message' => null, 'http_code' => null, 'description' => 'endpoint信息不匹配,请确定bucket对应的endpoint信息'],
['code' => 'PositionNotEqualToLength', 'message' => null, 'http_code' => null, 'description' => '位置和长度不相等'],
['code' => 'PostOnly', 'message' => null, 'http_code' => null, 'description' => '非法请求方式,该请求只允许post方式'],
['code' => 'PreconditionFailed', 'message' => null, 'http_code' => null, 'description' => '预处理错误'],
['code' => 'QueryBAIcpNoFail', 'message' => null, 'http_code' => null, 'description' => '从管局查询域名备案系统查询备案信息请求失败,请重试'],
['code' => 'QueryCNameDataFail', 'message' => null, 'http_code' => null, 'description' => '查询数据不成功,请重试'],
['code' => 'QuotaExceeded.Refresh', 'message' => null, 'http_code' => null, 'description' => '超出当日刷新限制,请隔日再试'],
['code' => 'RC_ErrorParameter', 'message' => null, 'http_code' => null, 'description' => '参数值错误'],
['code' => 'RC_InvalidUser', 'message' => null, 'http_code' => null, 'description' => '用户不存在'],
['code' => 'RC_MissingParameter', 'message' => null, 'http_code' => null, 'description' => '请求参数失败'],
['code' => 'RC_SendMessageFail', 'message' => null, 'http_code' => null, 'description' => '短信发送失败'],
['code' => 'RC_SendVerifyCodeExceedingMax', 'message' => null, 'http_code' => null, 'description' => '用户发送的验证码超过上限'],
['code' => 'RC_TimeIntervalError', 'message' => null, 'http_code' => null, 'description' => '两次发送验证码时间间隔不能小于60秒'],
['code' => 'RC_ValidateVerifyCodeExceedingMax', 'message' => null, 'http_code' => null, 'description' => '同一个验证码验证次数超过上限'],
['code' => 'RC_VerifyCodeError', 'message' => null, 'http_code' => null, 'description' => '验证码错误'],
['code' => 'ReBindBucketCNameFail', 'message' => null, 'http_code' => null, 'description' => '域名绑定不成功,请重试'],
['code' => 'RegionConfigIsNull', 'message' => null, 'http_code' => null, 'description' => 'Region配置表为空'],
['code' => 'RegionNotExistInConfig', 'message' => null, 'http_code' => null, 'description' => '当前Region不在配置表中'],
['code' => 'RegionNotMatched', 'message' => null, 'http_code' => null, 'description' => '地域信息不匹配'],
['code' => 'RequestIsNotMultiPartContent', 'message' => null, 'http_code' => null, 'description' => 'Post请求content-type非法'],
['code' => 'RequestMehodNotAllowed', 'message' => null, 'http_code' => null, 'description' => '系统不允许该请求方法'],
['code' => 'RequestNotOpenForFinanceUser', 'message' => null, 'http_code' => null, 'description' => '此请求暂不对金融客户开放'],
['code' => 'RequestSuccess', 'message' => null, 'http_code' => null, 'description' => '请求成功'],
['code' => 'RequestTimeout', 'message' => null, 'http_code' => null, 'description' => '请求超时,请重试...'],
['code' => 'RequestTimeTooSkewed', 'message' => null, 'http_code' => null, 'description' => '请求发起的时间超过OSS服务器当前时间15分钟'],
['code' => 'RiskControlMessageSendFailed', 'message' => null, 'http_code' => null, 'description' => '风控验证码发送失败,发送时间间隔不能小于60秒,请重试'],
['code' => 'RiskControlMessageValidateFailed', 'message' => null, 'http_code' => null, 'description' => '风控验证短信验证失败'],
['code' => 'SecurityTokenNotSupported', 'message' => null, 'http_code' => null, 'description' => '不支持的安全Token'],
['code' => 'ServiceBusy', 'message' => null, 'http_code' => null, 'description' => '域名正在配置中,请稍后再试'],
['code' => 'ServiceUnavailable', 'message' => null, 'http_code' => null, 'description' => '服务不可访问,请稍后重试'],
['code' => 'SignatureDoesNotMatch', 'message' => null, 'http_code' => null, 'description' => '签名错误,排除请参看'."\n"
.'Header中签名、'."\n"
.'URL中签名'],
['code' => 'SocketException', 'message' => null, 'http_code' => null, 'description' => '网络异常'],
['code' => 'SocketTimeout', 'message' => null, 'http_code' => null, 'description' => '网络超时'],
['code' => 'SomeObjectsDeletedFail', 'message' => null, 'http_code' => null, 'description' => '部分Objects删除不成功'],
['code' => 'SomeObjectsSetHttpHeaderFail', 'message' => null, 'http_code' => null, 'description' => '部分ObjectHttpHeader设置不成功'],
['code' => 'StringToDateConvertError', 'message' => null, 'http_code' => null, 'description' => '日期转换失败,请检查日期格式是否有效'],
['code' => 'StyleContentError', 'message' => null, 'http_code' => null, 'description' => '图片样式内容不能为空'],
['code' => 'StyleListEmpty', 'message' => null, 'http_code' => null, 'description' => '图片样式数量为0,无法导出'],
['code' => 'StyleListTooMany', 'message' => null, 'http_code' => null, 'description' => '当前已有的样式数量加上导入的样式数量已超过数量上限50,处理失败'],
['code' => 'SystemNotAllowBindTheDomain', 'message' => null, 'http_code' => null, 'description' => '系统拒绝使用该域名进行绑定'],
['code' => 'TextWatermarkNeedText', 'message' => null, 'http_code' => null, 'description' => '文字水印必须含有文字内容,长度在16个字符内'],
['code' => 'Throttling', 'message' => null, 'http_code' => null, 'description' => '请求被流量控制限制,请稍后再试'],
['code' => 'TokenError', 'message' => null, 'http_code' => null, 'description' => '抱歉,出错了'],
['code' => 'TooManyBuckets', 'message' => null, 'http_code' => null, 'description' => 'Bucket数目超过限制,默认上限是 10,有调整需求请提交工单。'],
['code' => 'TooManyCname', 'message' => null, 'http_code' => null, 'description' => 'cname数量超过上限'],
['code' => 'TopDomainOnlyBindedByAliyunJoinedUpUser', 'message' => null, 'http_code' => null, 'description' => '顶级域名绑定仅限阿里云备案用户专享,非阿里云备案接入请绑定二级以上域名或接入 'UmidTokenOrCollinaNotAllowEmpty', 'message' => null, 'http_code' => null, 'description' => '未正确传递风控数据,请检查请求参数'],
['code' => 'UnKnowAllowedMethod', 'message' => null, 'http_code' => null, 'description' => 'AllowedMethod仅可以从[GET,PUT,DELETE,POST,HEAD],选择其中的一个或者多个'],
['code' => 'UNKnowCNameStatus', 'message' => null, 'http_code' => null, 'description' => '绑定域名状态仅能从[verifying|enable|disable]中选择其中一个'],
['code' => 'Unknown', 'message' => null, 'http_code' => null, 'description' => '未知错误'],
['code' => 'UnknownAcl', 'message' => null, 'http_code' => null, 'description' => 'Acl仅可以从[private,public-read,public-read-write],选择其中的一个'],
['code' => 'UnknownHost', 'message' => null, 'http_code' => null, 'description' => '未知的Host'],
['code' => 'UnknownLifeCycleStatus', 'message' => null, 'http_code' => null, 'description' => 'LifeCycle的Status仅可以从[Enabled,Disabled],选择其中的一个'],
['code' => 'UpdateCNameDataFail', 'message' => null, 'http_code' => null, 'description' => '更新数据不成功,请重试'],
['code' => 'UploadFileNotExist', 'message' => null, 'http_code' => null, 'description' => '上传文件不存在'],
['code' => 'UploadIdNotAllowedEmpty', 'message' => null, 'http_code' => null, 'description' => 'UploadId不允许为空'],
['code' => 'UploadSizeLimitExceeded', 'message' => null, 'http_code' => null, 'description' => '文件大小不能超过8M'],
['code' => 'UploadTrafficRateLimitExceeded', 'message' => null, 'http_code' => null, 'description' => '上传流量超过限制,默认上限是 5Gbps,包括内外网'],
['code' => 'UploadTrafficRateLimitExceeded', 'message' => 'Please reduce your upload request traffic.', 'http_code' => null, 'description' => '上传流量超过限制,默认上限是 5Gbps,包括内外网,有调整需求请提交工单。'],
['code' => 'URLDecoderError', 'message' => null, 'http_code' => null, 'description' => '不支持的解码操作'],
['code' => 'UserAlreadyExists', 'message' => null, 'http_code' => null, 'description' => '用户已存在'],
['code' => 'UserBucketNotEmpty', 'message' => null, 'http_code' => null, 'description' => 'Bucket不为空,DeleteBucket前请先删除文件和未完成的分片上传任务。'],
['code' => 'UserDisable', 'message' => null, 'http_code' => null, 'description' => '抱歉,您的OSS服务状态异常,请检查是否已经欠费,或联系客服进行安全受限核查'],
['code' => 'VERIFY_TXT_NOT_EXIST', 'message' => null, 'http_code' => null, 'description' => 'TXT记录未设置或者暂时还未生效,请稍等5分钟后再试'],
['code' => 'WhiteListMustBeValidURIAddress', 'message' => null, 'http_code' => null, 'description' => '白名单列表必须全部为有效的URL地址'],
],
'changeSet' => [
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'SealAppendObject'],
],
'createdAt' => '2025-11-28T06:11:42.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'PutBucketPolicy'],
],
'createdAt' => '2025-11-20T03:53:09.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'PutBucketReplication'],
],
'createdAt' => '2025-11-20T03:48:43.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'OpenMetaQuery'],
],
'createdAt' => '2025-11-11T05:51:26.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetBucketAccessMonitor'],
],
'createdAt' => '2025-10-21T08:47:16.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetBucketLogging'],
],
'createdAt' => '2025-10-21T02:39:54.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'ListDataLakeStorageTransferJob'],
],
'createdAt' => '2025-04-18T07:20:44.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'PutDataLakeCachePrefetchJob'],
['description' => 'OpenAPI 下线', 'api' => 'StartDataLakeCachePrefetchJob'],
],
'createdAt' => '2025-04-08T11:00:32.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DoMetaQuery'],
['description' => '请求参数发生变更', 'api' => 'OpenMetaQuery'],
],
'createdAt' => '2025-03-31T01:56:18.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'DeleteBucketCommonHeader'],
['description' => 'OpenAPI 下线', 'api' => 'GetBucketEventNotification'],
['description' => 'OpenAPI 下线', 'api' => 'PutBucketCommonHeader'],
['description' => 'OpenAPI 下线', 'api' => 'PutBucketHash'],
['description' => 'OpenAPI 下线', 'api' => 'PutChannel'],
['description' => 'OpenAPI 下线', 'api' => 'PutProcessConfiguration'],
],
'createdAt' => '2025-03-07T07:21:28.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateSelectObjectMeta'],
['description' => '请求参数发生变更', 'api' => 'SelectObject'],
],
'createdAt' => '2025-03-04T06:20:50.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'PutBucket'],
],
'createdAt' => '2024-12-05T08:32:57.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'ListBuckets'],
['description' => '请求参数发生变更', 'api' => 'PutBucket'],
],
'createdAt' => '2024-12-04T06:52:14.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListAccessPoints'],
],
'createdAt' => '2024-11-28T15:05:14.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListBuckets'],
['description' => '请求参数发生变更', 'api' => 'PutBucket'],
],
'createdAt' => '2024-11-28T14:35:01.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetBucketLifecycle'],
],
'createdAt' => '2024-11-28T09:36:03.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetObjectMeta'],
['description' => '响应参数发生变更', 'api' => 'HeadObject'],
],
'createdAt' => '2024-10-10T07:15:25.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'PutAccessPointPublicAccessBlock'],
],
'createdAt' => '2024-05-08T05:42:11.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'ListBucketDataRedundancyTransition'],
],
'createdAt' => '2024-04-29T06:26:33.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'PutBucketReplication'],
['description' => '请求参数发生变更', 'api' => 'PutBucketRtc'],
],
'createdAt' => '2024-04-24T08:04:59.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetStyle'],
['description' => '请求参数发生变更', 'api' => 'PutStyle'],
],
'createdAt' => '2024-04-23T06:43:24.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CopyObject'],
],
'createdAt' => '2024-03-07T07:14:18.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateCnameToken'],
],
'createdAt' => '2024-03-07T06:07:57.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetBucketWebsite'],
],
'createdAt' => '2024-03-06T01:48:17.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'DeleteCname'],
],
'createdAt' => '2024-03-05T12:07:52.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'DeleteBucketReplication'],
],
'createdAt' => '2024-03-05T07:48:47.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetBucketInventory'],
['description' => '响应参数发生变更', 'api' => 'GetBucketReplicationLocation'],
['description' => '响应参数发生变更', 'api' => 'GetBucketReplicationProgress'],
['description' => '响应参数发生变更', 'api' => 'GetBucketWorm'],
['description' => '请求参数发生变更', 'api' => 'PutBucketLifecycle'],
],
'createdAt' => '2024-03-05T07:08:50.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'ListBuckets'],
],
'createdAt' => '2024-02-22T06:46:06.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'PutBucketWebsite'],
],
'createdAt' => '2024-02-22T03:35:04.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateAccessPoint'],
],
'createdAt' => '2024-02-22T01:55:14.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetBucketHttpsConfig'],
['description' => '请求参数发生变更', 'api' => 'PutBucketHttpsConfig'],
],
'createdAt' => '2024-02-21T14:34:42.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CompleteMultipartUpload'],
['description' => '响应参数发生变更', 'api' => 'CopyObject'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateAccessPoint'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateCnameToken'],
['description' => '请求参数发生变更', 'api' => 'DeleteAccessPoint'],
['description' => '请求参数发生变更', 'api' => 'DeleteAccessPointPolicy'],
['description' => '请求参数发生变更', 'api' => 'DeleteBucketReplication'],
['description' => '请求参数发生变更', 'api' => 'DeleteCname'],
['description' => '响应参数发生变更', 'api' => 'DescribeRegions'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DoMetaQuery'],
],
'createdAt' => '2024-02-21T14:31:20.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'DeleteStyle'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetStyle'],
['description' => '响应参数发生变更', 'api' => 'ListStyle'],
['description' => '请求参数发生变更', 'api' => 'PutStyle'],
],
'createdAt' => '2024-02-21T07:26:44.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetBucketReferer'],
['description' => '请求参数发生变更', 'api' => 'PutBucketReferer'],
],
'createdAt' => '2024-02-20T08:54:03.000Z',
'description' => '',
],
],
'flowControl' => [
'flowControlList' => [],
],
'ram' => [
'productCode' => 'OSS',
'productName' => '对象存储',
'ramCodes' => ['oss'],
'ramLevel' => '资源级',
'ramConditions' => [
[
'name' => 'oss:AccessPointNetworkOrigin',
'schema' => [
'type' => 'String',
'description' => '为互联网或专有网络VPC下的接入点委派权限。委派后,仅指定网络的接入点生效。',
'enums' => ['internet', 'vpc'],
],
],
[
'name' => 'oss:DataAccessPointAccount',
'schema' => ['type' => 'Boolean', 'description' => '为当前账号下的所有接入点委派权限。委派后,账号下所有的接入点生效。取值示例:12345678900000'],
],
[
'name' => 'oss:x-oss-server-side-encryption-key-id',
'schema' => ['type' => 'String', 'description' => '服务器端加密使用的 KMS 托管用户主密钥,仅当 x-oss-server-side-encryption 为 KMS 时存在,取值示例:914a3602-ebf2-4fae-9d8xxx'],
],
[
'name' => 'acs:AccessId',
'schema' => ['type' => 'String', 'description' => '请求中携带的AccessKey ID,取值示例:akidvnUsCXNWxxxxx'],
],
[
'name' => 'oss:x-oss-object-acl',
'schema' => [
'type' => 'String',
'description' => '指定 Object 的访问权限 ACL,支持杭州,北京,成都,青岛,上海,深圳,张家口,新加坡,德国地域',
'enums' => ['public-read-write', 'public-read', 'private', 'default'],
],
],
[
'name' => 'oss:BucketTag',
'schema' => ['type' => 'String', 'description' => '存储空间标签(BucketTag)。 单个BucketTag可以作为一个Condition。当设置多个BucketTag时,需在每个BucketTag前加上oss:BucketTag/,组成多个Condition。取值示例:\\\\"oss:BucketTag/team\\\\": \\\\"dev\\\\"'],
],
[
'name' => 'acs:UserAgent',
'schema' => ['type' => 'String', 'description' => '指定HTTP User-Agent头,取值示例:java-sdk'],
],
[
'name' => 'oss:x-oss-acl',
'schema' => [
'type' => 'String',
'description' => '指定 Bucket 的访问权限 ACL,支持杭州,北京,成都,青岛,上海,深圳,张家口,新加坡,德国地域',
'enums' => ['public-read-write', 'public-read', 'private'],
],
],
[
'name' => 'oss:x-oss-server-side-data-encryption',
'schema' => [
'type' => 'String',
'description' => '服务器端加密的加密算法,仅当 x-oss-server-side-encryption 为 KMS 时存在,支持杭州,北京,成都,青岛,上海,深圳,张家口,新加坡,德国地域',
'enums' => ['SM4'],
],
],
[
'name' => 'oss:TLSVersion',
'schema' => [
'type' => 'String',
'description' => '限制只允许指定TLS版本访问,只支持上海,北京,深圳,香港,新加坡,澳洲地域',
'enums' => ['TLSv1', 'TLSv1.1', 'TLSv1.2', 'TLSv1.3'],
],
],
[
'name' => 'oss:RequestObjectTag',
'schema' => ['type' => 'String', 'description' => '请求中携带的对象标签。 单个ObjectTag可以作为一个Condition。当设置多个ObjectTag时,需在每个ObjectTag前加上oss:RequestObjectTag/,组成多个Condition。 主要针对PutObject、PostObject等写入文件接口以及PutObjectTagging、GetObjectTagging等ObjectTagging接口。取值示例:\\\\"oss:RequestObjectTag/team\\\\": \\\\"dev\\\\"'],
],
[
'name' => 'oss:DataAccessPointArn',
'schema' => ['type' => 'String', 'description' => '为指定的接入点委派权限。委派后,仅指定的接入点生效。取值示例:acs:oss:cn-hangzhou:123456789xxxxx:accesspoint/ap-name'],
],
[
'name' => 'oss:Delimiter',
'schema' => ['type' => 'String', 'description' => '用于ListObjects请求时,对Object名字进行分组的字符,取值示例:/'],
],
[
'name' => 'oss:x-oss-server-side-encryption',
'schema' => [
'type' => 'String',
'description' => '服务器端加密方式,支持杭州,北京,成都,青岛,上海,深圳,张家口,新加坡,德国地域',
'enums' => ['AES256', 'KMS', 'SM4'],
],
],
[
'name' => 'oss:Prefix',
'schema' => ['type' => 'String', 'description' => '用于ListObjects请求时,列举指定前缀的Object,取值示例:prefix01'],
],
[
'name' => 'oss:ExistingObjectTag',
'schema' => ['type' => 'String', 'description' => '请求的Object已存在标签。 单个ObjectTag可以作为一个Condition。当设置多个ObjectTag时,需在每个ObjectTag前加上oss:ExistingObjectTag/,组成多个Condition。 主要针对GetObject、HeadObject等读取文件接口以及PutObjectTagging、GetObjectTagging等ObjectTagging接口。取值示例:\\\\"oss:ExistingObjectTag/team\\\\": \\\\"dev\\\\"'],
],
],
'ramActions' => [
[
'apiName' => 'GetBucketStat',
'description' => '获取存储空间存储容量与文件数量',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketStat',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteBucketCommonHeader',
'description' => '删除存储空间的用户自定义响应头配置',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketCommonHeader',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteAccessPointPublicAccessBlock',
'description' => '删除接入点阻止公共访问配置',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteAccessPointPublicAccessBlock',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketOverwriteConfig',
'description' => '获取存储空间禁止覆盖写规则',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketOverwriteConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutDataLakeCachePrefetchJob',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutDataLakeCachePrefetchJob',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListMultipartUploads',
'description' => '列举执行中的分片上传事件',
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListMultipartUploads',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetStyle',
'description' => '获取图片样式',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetStyle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteLiveChannel',
'description' => '删除指定的直播推流',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteLiveChannel',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'DeleteAccessPointForObjectProcess',
'description' => '删除对象FC接入点',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteAccessPointForObjectProcess',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutAccessPointConfigForObjectProcess',
'description' => '修改对象FC接入点配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutAccessPointConfigForObjectProcess',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteBucketPublicAccessBlock',
'description' => '删除存储空间阻止公共访问配置',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketPublicAccessBlock',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketLogging',
'description' => '开启存储空间的日志转存功能',
'operationType' => 'update',
'additionalActions' => [
['action' => 'oss:PutObject'],
],
'ramAction' => [
'action' => 'oss:PutBucketLogging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketLifecycle',
'description' => '查询存储空间的生命周期规则',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketLifecycle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketTransferAcceleration',
'description' => '为存储空间配置传输加速',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutBucketTransferAcceleration',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PostVodPlaylist',
'description' => '为直播推流生成点播的播放列表',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetObjectMeta',
'description' => '获取文件的元数据信息',
'operationType' => 'get',
'additionalActions' => [
['action' => 'oss:GetObjectVersion'],
],
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetBucketPolicyStatus',
'description' => '获取存储空间授权策略是否是公共访问',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketPolicyStatus',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetObjectAcl',
'description' => '获取文件的访问权限',
'operationType' => 'get',
'additionalActions' => [
['action' => 'oss:GetObjectVersionAcl'],
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:GetObjectAcl',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'DeleteCname',
'description' => '删除Cname',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteCname',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetMetaQueryStatus',
'description' => '获取元数据索引库信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetMetaQueryStatus',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketReferer',
'description' => '设置存储空间的防盗链',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketReferer',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutCname',
'description' => '绑定自定义域名',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutCname',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketLifecycle',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketLifecycle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListAccessPointsForObjectProcess',
'description' => '列举对象FC接入点',
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListAccessPointsForObjectProcess',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetBucketDataRedundancyTransition',
'description' => '获取存储空间存储冗余转换任务',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketDataRedundancyTransition',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'AppendObject',
'description' => '以追加写的方式上传文件',
'operationType' => 'update',
'additionalActions' => [
['action' => 'oss:PutObjectTagging'],
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetAccessPointForObjectProcess',
'description' => '获取对象FC接入点详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetAccessPointForObjectProcess',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutSymlink',
'description' => '创建OSS目标文件的软链接',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:PutObjectTagging'],
],
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'DeleteBucketEncryption',
'description' => '删除存储空间的加密规则',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketEncryption',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'CreateBucketDataRedundancyTransition',
'description' => '创建存储冗余类型转换任务',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:CreateBucketDataRedundancyTransition',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'CleanRestoredObject',
'description' => '清理解冻副本',
'operationType' => 'delete',
'additionalActions' => [
['action' => 'oss:CleanRestoredObjectVersion'],
],
'ramAction' => [
'action' => 'oss:CleanRestoredObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:Prefix'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'PutLiveChannelStatus',
'description' => '切换直播推流状态',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutLiveChannelStatus',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetBucketHttpsConfig',
'description' => '获取存储空间HTTPS配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketHttpsConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:BucketTag'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutAccessPointPolicy',
'description' => '配置接入点策略',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutAccessPointPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetPublicAccessBlock',
'description' => '获取用户级别阻止公共访问配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetPublicAccessBlock',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PutBucketHttpsConfig',
'description' => '修改存储空间HTTPS配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketHttpsConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:BucketTag'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketWebsite',
'description' => '查看存储空间的静态网站托管状态和规则',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketWebsite',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteBucketWebsite',
'description' => '关闭存储空间的静态网站托管模式以及跳转规则',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketWebsite',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListBucketInventory',
'description' => '批量获取存储空间的所有清单任务',
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:GetBucketInventory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutAccessPointPolicyForObjectProcess',
'description' => '修改对象FC接入点授权策略',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutAccessPointPolicyForObjectProcess',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'CopyObject',
'description' => '拷贝文件',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:GetObject', 'validationType' => 'always'],
['action' => 'oss:GetObjectVersion'],
['action' => 'oss:GetObjectTagging'],
['action' => 'oss:PutObjectTagging'],
['action' => 'oss:GetObjectVersionTagging'],
],
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'ListLiveChannel',
'description' => '列举指定的直播推流',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:ListLiveChannel',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PutBucketCommonHeader',
'description' => '设置存储空间的用户自定义响应头配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketCommonHeader',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListUserDataRedundancyTransition',
'description' => '列举用户级别存储冗余类型转换任务',
'operationType' => 'get',
'additionalActions' => [],
'ramAction' => [
'action' => 'oss:ListBucketDataRedundancyTransition',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'CreateCnameToken',
'description' => '创建CnameToken',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:CreateCnameToken',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetAccessPoint',
'description' => '获取接入点信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetAccessPoint',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketRequestPayment',
'description' => '获取请求者付费模式配置信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketRequestPayment',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteBucketReplication',
'description' => '停止存储空间的数据复制并删除其复制配置',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketReplication',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetCnameToken',
'description' => '获取CnameToken',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetCnameToken',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteObject',
'description' => '删除文件',
'operationType' => 'delete',
'additionalActions' => [
['action' => 'oss:DeleteObjectVersion'],
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:DeleteObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'DeleteBucketDataRedundancyTransition',
'description' => '删除存储冗余类型转换任务',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketDataRedundancyTransition',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetAccessPointPublicAccessBlock',
'description' => '获取接入点阻止公共访问配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetAccessPointPublicAccessBlock',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'RestoreObject',
'description' => '解冻归档类型或冷归档的文件',
'operationType' => 'update',
'additionalActions' => [
['action' => 'oss:RestoreObjectVersion'],
],
'ramAction' => [
'action' => 'oss:RestoreObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'PutBucketPolicy',
'description' => '设置存储空间的授权策略',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketCors',
'description' => '设置存储空间的跨域资源共享规则',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketCors',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:BucketTag'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteObjectTagging',
'description' => '删除对象的标签信息',
'operationType' => 'delete',
'additionalActions' => [
['action' => 'oss:DeleteObjectVersionTagging'],
],
'ramAction' => [
'action' => 'oss:DeleteObjectTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetBucketReferer',
'description' => '查看存储空间的防盗链相关配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketReferer',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteBucketLifecycle',
'description' => '删除存储空间的生命周期规则',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketLifecycle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'InitiateMultipartUpload',
'description' => '通知OSS初始化分片上传事件',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:PutObjectTagging'],
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'PutBucketEncryption',
'description' => '配置存储空间的加密规则',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketEncryption',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketReplicationProgress',
'description' => '获取存储空间的数据复制进度',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketReplicationProgress',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketAcl',
'description' => '设置或修改存储空间的访问权限',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketAcl',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:x-oss-acl'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketWorm',
'description' => '获取存储空间的合规保留策略信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'SelectObject',
'description' => '对文件执行SQL语句并返回结果',
'operationType' => 'get',
'additionalActions' => [
['action' => 'oss:GetObjectTagging'],
],
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetLiveChannelInfo',
'description' => '获取直播推流的配置信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetLiveChannel',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'DeleteBucketLogging',
'description' => '关闭存储空间的访问日志记录功能',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketLogging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListObjectVersions',
'description' => '获取文件的版本信息',
'operationType' => 'list',
'additionalActions' => [
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:ListObjectVersions',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:Prefix', 'validationType' => 'always'],
['conditionKey' => 'oss:Delimiter', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketReplicationLocation',
'description' => '获取可复制到的目标存储空间的地域',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketReplicationLocation',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'UploadPartCopy',
'description' => '拷贝数据上传一个数据块',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:GetObject', 'validationType' => 'always'],
['action' => 'oss:GetObjectVersion'],
],
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:RequestObjectTag'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetSymlink',
'description' => '获取软链接',
'operationType' => 'get',
'additionalActions' => [
['action' => 'oss:GetObjectTagging'],
['action' => 'oss:GetObjectVersion'],
['action' => 'oss:GetObjectVersionTagging'],
],
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'ExtendBucketWorm',
'description' => '延长存储空间中文件的保留天数',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:ExtendBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'CreateAccessPointForObjectProcess',
'description' => '创建对象FC接入点',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:CreateAccessPointForObjectProcess',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'CompleteBucketWorm',
'description' => '锁定合规保留策略',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:CompleteBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'CreateAccessPoint',
'description' => '创建接入点',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:CreateAccessPoint',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListBucketAntiDDosInfo',
'description' => '获取Bucket防护信息列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListBucketAntiDDosInfo',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetVodPlaylist',
'description' => '查看直播推流的播放列表',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetVodPlaylist',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PutBucketRtc',
'description' => '设置RTC',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketReplication',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'UploadPart',
'description' => '分块上传数据',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:RequestObjectTag'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'CompleteMultipartUpload',
'description' => '完成整个文件的分片上传',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetBucketVersioning',
'description' => '获取指定存储空间的版本控制状态',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketVersioning',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListObjects',
'description' => '列举存储空间中所有文件的信息',
'operationType' => 'list',
'additionalActions' => [
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:ListObjects',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:Prefix', 'validationType' => 'always'],
['conditionKey' => 'oss:Delimiter', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketReplication',
'description' => '设置存储空间的数据复制规则',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketReplication',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketArchiveDirectRead',
'description' => '修改存储空间归档直读配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketArchiveDirectRead',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketTransferAcceleration',
'description' => '获取存储空间的传输加速配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketTransferAcceleration',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucket',
'description' => '创建存储空间',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:PutBucketAcl'],
],
'ramAction' => [
'action' => 'oss:PutBucket',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:x-oss-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketReplication',
'description' => '指定存储空间的数据复制规则',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:PutObject', 'validationType' => 'conditional'],
['action' => 'oss:ReplicateGet', 'validationType' => 'conditional'],
],
'ramAction' => [
'action' => 'oss:PutBucketReplication',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketInventory',
'description' => '查看存储空间的清单任务',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketInventory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketEventNotification',
'description' => '获取存储空间事件通知配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketEventNotification',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketLocation',
'description' => '查看存储空间的位置信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketLocation',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteBucketInventory',
'description' => '删除存储空间的指定清单任务',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketInventory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketAcl',
'description' => '获取存储空间的访问权限',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketAcl',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketRequestPayment',
'description' => '设置请求者付费模式',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketRequestPayment',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DoMetaQuery',
'description' => '查询满足条件的文件',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:DoMetaQuery',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetUserAntiDDosInfo',
'description' => '查询高防OSS实例信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetUserAntiDDosInfo',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetAccessPointConfigForObjectProcess',
'description' => '获取对象FC接入点配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetAccessPointConfigForObjectProcess',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListCname',
'description' => '查询自定义域名列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListCname',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteBucketPolicy',
'description' => '删除存储空间的权限策略',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetLiveChannelHistory',
'description' => '获取直播推流的推流记录',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetLiveChannelHistory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'PutBucketInventory',
'description' => '配置存储空间的清单规则',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketInventory',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'StartDataLakeCachePrefetchJob',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:StartDataLakeCachePrefetchJob',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'OpenMetaQuery',
'description' => '开启元数据管理功能',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:OpenMetaQuery',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutObject',
'description' => '上传文件',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:DeleteObject'],
['action' => 'oss:PutObjectTagging'],
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:RequestObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'PutBucketWebsite',
'description' => '设置存储空间为静态网站托管模式并设置跳转规则',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketWebsite',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutProcessConfiguration',
'description' => '修改存储空间媒体处理配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketImage',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListAccessPoints',
'description' => '获取接入点信息',
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListAccessPoints',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetObject',
'description' => '获取文件',
'operationType' => 'get',
'additionalActions' => [
['action' => 'oss:GetObjectVersion'],
['action' => 'oss:ProcessImm'],
['action' => 'oss:GetObjectTagging'],
['action' => 'oss:RestoreObjectVersion'],
['action' => 'oss:GetObjectVersionTagging'],
],
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetBucketResourceGroup',
'description' => '获取存储空间资源组ID',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutStyle',
'description' => '新增图片样式',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutStyle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteAccessPoint',
'description' => '删除接入点',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteAccessPoint',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketPublicAccessBlock',
'description' => '开启/关闭存储空间阻止公共访问配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketPublicAccessBlock',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteStyle',
'description' => '删除图片样式',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteStyle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListObjectsV2',
'description' => '列举存储空间中所有文件的信息V2',
'operationType' => 'list',
'additionalActions' => [
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:ListObjects',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:Prefix', 'validationType' => 'always'],
['conditionKey' => 'oss:Delimiter', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteUserDefinedLogFieldsConfig',
'description' => '删除存储空间实时日志用户自定义字段配置',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteUserDefinedLogFieldsConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketArchiveDirectRead',
'description' => '获取存储空间归档直读配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketArchiveDirectRead',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketInfo',
'description' => '查看存储空间的相关信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketInfo',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteBucketTags',
'description' => '删除存储空间的标签',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutObjectTagging',
'description' => '设置或更新文件的标签信息',
'operationType' => 'update',
'additionalActions' => [
['action' => 'oss:PutObjectVersionTagging'],
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:PutObjectTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'oss:RequestObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetBucketTags',
'description' => '获取存储空间的标签信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutUserDefinedLogFieldsConfig',
'description' => '修改存储空间实时日志用户自定义字段配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutUserDefinedLogFieldsConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'AbortBucketWorm',
'description' => '删除未锁定的合规保留策略',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:AbortBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'CreateSelectObjectMeta',
'description' => '获取目标文件总行数、总列数以及Splits个数',
'operationType' => 'create',
'additionalActions' => [
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'InitBucketAntiDDosInfo',
'description' => '初始化Bucket防护',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:InitBucketAntiDDosInfo',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'InitUserAntiDDosInfo',
'description' => '创建高防OSS实例',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:InitUserAntiDDosInfo',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PutLiveChannel',
'description' => '创建直播推流',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutLiveChannel',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'PutBucketTags',
'description' => '为存储空间添加或修改标签',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PostObject',
'description' => '用HTML表单方式上传文件',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:RequestObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:x-oss-object-acl'],
['conditionKey' => 'oss:x-oss-server-side-data-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption'],
['conditionKey' => 'oss:x-oss-server-side-encryption-key-id'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetAccessPointPolicy',
'description' => '获取接入点策略配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetAccessPointPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketEncryption',
'description' => '获取存储空间的加密规则',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketEncryption',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteAccessPointPolicyForObjectProcess',
'description' => '删除对象FC接入点策略',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteAccessPointPolicyForObjectProcess',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetLiveChannelStat',
'description' => '获取直播推流的推流状态信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetLiveChannelStat',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'AbortMultipartUpload',
'description' => '取消分片上传事件并删除数据块数据',
'operationType' => 'delete',
'additionalActions' => [
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:AbortMultipartUpload',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'InitiateBucketWorm',
'description' => '新建合规保留策略',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:InitiateBucketWorm',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetAccessPointPolicyForObjectProcess',
'description' => '获取对象FC接入点策略',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetAccessPointPolicyForObjectProcess',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketOverwriteConfig',
'description' => '设置存储空间禁止覆盖写规则',
'operationType' => 'create',
'ramAction' => [
'action' => 'oss:PutBucketOverwriteConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DescribeRegions',
'description' => '查询地域',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:DescribeRegions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListDataLakeStorageTransferJob',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListDataLakeStorageTransferJob',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetObjectTagging',
'description' => '获取文件的标签信息',
'operationType' => 'get',
'additionalActions' => [
['action' => 'oss:GetObjectVersionTagging'],
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:GetObjectTagging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'oss:RequestObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetBucketPolicy',
'description' => '获取存储空间的权限策略',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutChannel',
'description' => '创建图片处理通道',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketImage',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketVersioning',
'description' => '设置存储空间的版本控制状态',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketVersioning',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutAccessPointPublicAccessBlock',
'description' => '修改接入点阻止公共访问配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutAccessPointPublicAccessBlock',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListStyle',
'description' => '查询图片样式',
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListStyle',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeletePublicAccessBlock',
'description' => '删除用户级别的阻止公共访问配置',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeletePublicAccessBlock',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PutObjectAcl',
'description' => '修改文件的访问权限',
'operationType' => 'update',
'additionalActions' => [
['action' => 'oss:GetObject'],
['action' => 'oss:PutObjectVersionAcl'],
],
'ramAction' => [
'action' => 'oss:PutObjectAcl',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:x-oss-object-acl'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'ListParts',
'description' => '列举所有成功上传的数据块',
'operationType' => 'list',
'additionalActions' => [
['action' => 'oss:GetObject'],
],
'ramAction' => [
'action' => 'oss:ListParts',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:DataAccessPointArn'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
[
'apiName' => 'GetBucketCors',
'description' => '获取存储空间当前的跨域资源共享规则',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketCors',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:BucketTag'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketAccessMonitor',
'description' => '获取存储空间访问追踪状态',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketAccessMonitor',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketLogging',
'description' => '查看存储空间的访问日志配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketLogging',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutPublicAccessBlock',
'description' => '修改用户级别阻止公共访问配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutPublicAccessBlock',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteBucket',
'description' => '删除存储空间',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucket',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'UpdateBucketAntiDDosInfo',
'description' => '更新Bucket防护状态',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:UpdateBucketAntiDDosInfo',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetUserDefinedLogFieldsConfig',
'description' => '获取存储空间实时日志用户自定义字段配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetUserDefinedLogFieldsConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteBucketCors',
'description' => '关闭存储空间跨域资源共享功能',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketCors',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketResourceGroup',
'description' => '修改存储空间资源组',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'DeleteAccessPointPolicy',
'description' => '删除接入点策略',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteAccessPointPolicy',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketHash',
'description' => '修改存储空间哈希算法配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketHash',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'GetBucketPublicAccessBlock',
'description' => '获取存储空间阻止公共访问配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'oss:GetBucketPublicAccessBlock',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'PutBucketAccessMonitor',
'description' => '修改存储空间访问追踪状态',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:PutBucketAccessMonitor',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'CloseMetaQuery',
'description' => '关闭存储空间元数据管理',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:CloseMetaQuery',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'ListBuckets',
'description' => '列举存储空间',
'operationType' => 'list',
'ramAction' => [
'action' => 'oss:ListBuckets',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateUserAntiDDosInfo',
'description' => '更改高防OSS实例状态',
'operationType' => 'update',
'ramAction' => [
'action' => 'oss:UpdateUserAntiDDosInfo',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteBucketOverwriteConfig',
'description' => '删除存储空间的不覆盖写规则',
'operationType' => 'delete',
'ramAction' => [
'action' => 'oss:DeleteBucketOverwriteConfig',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'acs:AccessId'],
['conditionKey' => 'acs:UserAgent'],
['conditionKey' => 'oss:TLSVersion'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
],
],
],
[
'apiName' => 'HeadObject',
'description' => '获取文件的元信息',
'operationType' => 'get',
'additionalActions' => [
['action' => 'oss:GetObjectVersion'],
['action' => 'oss:GetObjectTagging'],
['action' => 'oss:GetObject'],
['action' => 'oss:GetObjectVersionTagging'],
],
'ramAction' => [
'action' => 'oss:GetObject',
'authLevel' => 'resource',
'actionConditions' => [
['conditionKey' => 'oss:ExistingObjectTag', 'validationType' => 'always'],
['conditionKey' => 'acs:UserAgent', 'validationType' => 'always'],
['conditionKey' => 'acs:AccessId', 'validationType' => 'always'],
['conditionKey' => 'oss:BucketTag', 'validationType' => 'always'],
['conditionKey' => 'oss:TLSVersion'],
['conditionKey' => 'oss:DataAccessPointAccount'],
['conditionKey' => 'oss:AccessPointNetworkOrigin'],
['conditionKey' => 'oss:DataAccessPointArn'],
],
'resources' => [
['validationType' => 'always', 'product' => 'OSS', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
],
],
],
],
'resourceTypes' => [
['validationType' => 'always', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}'],
['validationType' => 'always', 'resourceType' => 'Object', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
['validationType' => 'always', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:{#BucketName}/{#ObjectName}'],
['validationType' => 'always', 'resourceType' => 'Bucket', 'arn' => 'acs:oss:*:{#accountId}:{#BucketName}'],
['validationType' => 'always', 'resourceType' => 'Unrestricted', 'arn' => 'acs:oss:oss-{#regionId}:{#accountId}:*'],
],
],
];