summaryrefslogtreecommitdiff
path: root/data/datahub/2019-11-20/api-docs.php
blob: 06b7b980483ded656467af8c7808a2fb0d7979c1 (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
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'RPC', 'product' => 'datahub', 'version' => '2019-11-20'],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'OpenDataHubService' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
                [
                    'APP' => [],
                ],
                [
                    'PrivateKey' => [],
                ],
                [
                    'BearerToken' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [],
        ],
        'ListProjects' => [
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'PageNumber',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
                ],
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
                ],
                [
                    'name' => 'Keyword',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
    ],
    'endpoints' => [
        ['regionId' => 'cn-beijing', 'endpoint' => 'datahub.cn-beijing.aliyuncs.com'],
        ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'datahub.cn-zhangjiakou.aliyuncs.com'],
        ['regionId' => 'cn-wulanchabu', 'endpoint' => 'datahub.cn-wulanchabu.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou', 'endpoint' => 'datahub.cn-hangzhou.aliyuncs.com'],
        ['regionId' => 'cn-shanghai', 'endpoint' => 'datahub.cn-shanghai.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen', 'endpoint' => 'datahub.cn-shenzhen.aliyuncs.com'],
        ['regionId' => 'cn-hongkong', 'endpoint' => 'datahub.cn-hongkong.aliyuncs.com'],
        ['regionId' => 'ap-southeast-1', 'endpoint' => 'datahub.ap-southeast-1.aliyuncs.com'],
        ['regionId' => 'ap-southeast-3', 'endpoint' => 'datahub.ap-southeast-3.aliyuncs.com'],
        ['regionId' => 'ap-southeast-5', 'endpoint' => 'datahub.ap-southeast-5.aliyuncs.com'],
        ['regionId' => 'us-east-1', 'endpoint' => 'datahub.aliyuncs.com'],
        ['regionId' => 'us-west-1', 'endpoint' => 'datahub.aliyuncs.com'],
        ['regionId' => 'eu-central-1', 'endpoint' => 'datahub.eu-central-1.aliyuncs.com'],
        ['regionId' => 'ap-south-1', 'endpoint' => 'datahub.aliyuncs.com'],
        ['regionId' => 'me-central-1', 'endpoint' => 'datahub.me-central-1.aliyuncs.com'],
    ],
];