summaryrefslogtreecommitdiff
path: root/data/zh_cn/ossadmin/2019-04-22/api-docs.php
diff options
context:
space:
mode:
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.php96
1 files changed, 96 insertions, 0 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
new file mode 100644
index 0000000..0b90438
--- /dev/null
+++ b/data/zh_cn/ossadmin/2019-04-22/api-docs.php
@@ -0,0 +1,96 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'OssAdmin',
+ 'version' => '2019-04-22',
+ ],
+ 'directories' => [
+ [
+ 'id' => 201727,
+ 'title' => '服务开通',
+ 'type' => 'directory',
+ 'children' => [
+ 'OpenOssService',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'OpenOssService' => [
+ 'summary' => '用于为阿里云账号开通OSS服务',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ [
+ 'APP' => [],
+ ],
+ [
+ 'PrivateKey' => [],
+ ],
+ [
+ 'BearerToken' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '接口响应信息',
+ 'type' => 'object',
+ 'properties' => [
+ '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.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden.NoPermission',
+ 'errorMessage' => 'You are not authorized to do this operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"2431*******529\\",\\n \\"RequestId\\": \\"FBD670BB-7930-5350-A313-995C303E8EDB\\"\\n}","type":"json"}]',
+ 'title' => '开通oss服务',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'public',
+ 'endpoint' => 'oss-admin.aliyuncs.com',
+ ],
+ ],
+];