summaryrefslogtreecommitdiff
path: root/data/zh_cn/osssddp/2024-02-22/api-docs.php
blob: ff106f07c07a1b3ed947077bff3b5b1d0cfa2280 (plain)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'RPC', 'product' => 'OssSddp', 'version' => '2024-02-22'],
    'directories' => [
        [
            'children' => ['UpgradeSddpVersion', 'GetSddpVersion'],
            'type' => 'directory',
            'title' => '版本信息',
            'id' => 453719,
        ],
    ],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'GetSddpVersion' => [
            'summary' => '查看用户的敏感数据保护版本信息',
            'methods' => ['get', 'post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'none',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeCode' => '213627',
                'abilityTreeNodes' => ['FEATUREoss7J19U0'],
                'tenantRelevance' => 'publicInformation',
            ],
            'parameters' => [
                [
                    'name' => 'ClientToken',
                    'in' => 'query',
                    'allowEmptyValue' => false,
                    'schema' => ['title' => '幂等参数', 'description' => '幂等参数(已废弃)', 'type' => 'string', 'required' => false, 'example' => '-'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '9A5A8001-B192-50DB-A3ED-7BF63D0741C9'],
                            'Content' => ['description' => '敏感数据保护的版本号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
                        ],
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"RequestId\\": \\"9A5A8001-B192-50DB-A3ED-7BF63D0741C9\\",\\n  \\"Content\\": 1\\n}","type":"json"}]',
            'title' => '获取SDDP版本信息',
        ],
        'UpgradeSddpVersion' => [
            'methods' => ['post', 'get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'readAndWrite',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'none',
                'riskType' => 'none',
                'chargeType' => 'paid',
                'abilityTreeCode' => '213631',
                'abilityTreeNodes' => ['FEATUREoss7J19U0'],
                'tenantRelevance' => 'publicInformation',
            ],
            'parameters' => [
                [
                    'name' => 'ClientToken',
                    'in' => 'query',
                    'allowEmptyValue' => false,
                    'schema' => ['title' => '幂等参数', 'description' => '幂等参数(已废弃)', 'type' => 'string', 'required' => false, 'example' => '-'],
                ],
                [
                    'name' => 'OssVersion',
                    'in' => 'query',
                    'allowEmptyValue' => false,
                    'schema' => ['description' => '升级到指定版本号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '0', 'example' => '1', 'default' => '2'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'A0173970-0B6E-5C21-82B3-EBDFEA9E2946'],
                            'Content' => ['description' => '敏感数据保护的版本号', 'type' => 'string', 'example' => '1'],
                        ],
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => '升级SDDP版本',
            'summary' => '升级敏感数据保护版本',
            'changeSet' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"RequestId\\": \\"A0173970-0B6E-5C21-82B3-EBDFEA9E2946\\",\\n  \\"Content\\": \\"1\\"\\n}","type":"json"}]',
        ],
    ],
    'endpoints' => [],
    'errorCodes' => [],
    'changeSet' => [],
];