1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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',
],
],
];
|