summaryrefslogtreecommitdiff
path: root/data/zh_cn/ossadmin/2019-04-22/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/ossadmin/2019-04-22/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/ossadmin/2019-04-22/api-docs.php')
-rw-r--r--data/zh_cn/ossadmin/2019-04-22/api-docs.php60
1 files changed, 12 insertions, 48 deletions
diff --git a/data/zh_cn/ossadmin/2019-04-22/api-docs.php b/data/zh_cn/ossadmin/2019-04-22/api-docs.php
index 0b90438..118cd9c 100644
--- a/data/zh_cn/ossadmin/2019-04-22/api-docs.php
+++ b/data/zh_cn/ossadmin/2019-04-22/api-docs.php
@@ -1,34 +1,15 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'OssAdmin',
- 'version' => '2019-04-22',
- ],
- 'directories' => [
- [
- 'id' => 201727,
- 'title' => '服务开通',
- 'type' => 'directory',
- 'children' => [
- 'OpenOssService',
- ],
- ],
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'OssAdmin', 'version' => '2019-04-22'],
+ 'directories' => ['OpenOssService'],
'components' => [
'schemas' => [],
],
'apis' => [
'OpenOssService' => [
'summary' => '用于为阿里云账号开通OSS服务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -45,9 +26,7 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [],
'responses' => [
200 => [
@@ -55,32 +34,18 @@
'description' => '接口响应信息',
'type' => 'object',
'properties' => [
- 'OrderId' => [
- 'description' => '开通操作订单ID',
- 'type' => 'string',
- 'example' => '2431*******529',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'FBD670BB-7930-5350-A313-995C303E8EDB',
- ],
+ 'OrderId' => ['description' => '开通操作订单ID', 'type' => 'string', 'example' => '2431*******529'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'FBD670BB-7930-5350-A313-995C303E8EDB'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ORDER.OPEND',
- 'errorMessage' => 'You have already open the service. Go to the console to start using it.',
- ],
+ ['errorCode' => 'ORDER.OPEND', 'errorMessage' => 'You have already open the service. Go to the console to start using it.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'Forbidden.NoPermission',
- 'errorMessage' => 'You are not authorized to do this operation.',
- ],
+ ['errorCode' => 'Forbidden.NoPermission', 'errorMessage' => 'You are not authorized to do this operation.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"2431*******529\\",\\n \\"RequestId\\": \\"FBD670BB-7930-5350-A313-995C303E8EDB\\"\\n}","type":"json"}]',
@@ -88,9 +53,8 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'public',
- 'endpoint' => 'oss-admin.aliyuncs.com',
- ],
+ ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'oss-admin.aliyuncs.com', 'endpoint' => 'oss-admin.aliyuncs.com', 'vpc' => ''],
],
+ 'errorCodes' => [],
+ 'changeSet' => [],
];