summaryrefslogtreecommitdiff
path: root/data/zh_cn/httpdns/2016-02-01/api-docs.php
blob: 94973e0c779dbe24201b5e06ef7f5f96e74283d2 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'RPC', 'product' => 'Httpdns', 'version' => '2016-02-01'],
    'directories' => ['AddDomain', 'DeleteDomain', 'DescribeDomains', 'GetAccountInfo', 'GetResolveCountSummary', 'GetResolveStatistics', 'ListDomains', 'RefreshResolveCache'],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'AddDomain' => [
            'summary' => '根据传入参数添加域名。',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'AccountId',
                    'in' => 'query',
                    'schema' => ['description' => 'HTTPDNS账户ID。', 'type' => 'string', 'required' => false, 'example' => '123456', 'default' => ''],
                ],
                [
                    'name' => 'DomainName',
                    'in' => 'query',
                    'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'www.example.com'],
                            'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ADA27798-6911-4B06-AF34-53F62F62XXXX'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'title' => '添加域名',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => 'create',
                    'ramAction' => [
                        'action' => 'httpdns:AddDomain',
                        'authLevel' => 'resource',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"DomainName\\": \\"www.example.com\\",\\n  \\"RequestId\\": \\"ADA27798-6911-4B06-AF34-53F62F62XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<AddDomainResponse>\\n    <RequestId>ADA27798-6911-4B06-AF34-53F62F624D7B</RequestId>\\n    <DomainName>www.aliyun.com</DomainName>\\n</AddDomainResponse>","errorExample":""}]',
        ],
        'DeleteDomain' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
            'parameters' => [
                [
                    'name' => 'AccountId',
                    'in' => 'query',
                    'schema' => ['description' => 'HTTPDNS账户ID。', 'type' => 'string', 'required' => false, 'example' => '12****', 'default' => ''],
                ],
                [
                    'name' => 'DomainName',
                    'in' => 'query',
                    'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'www.example.com'],
                            'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FA8C2599-362D-4113-8FB4-E88A40C2****'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'title' => '删除域名',
            'summary' => '根据传入参数删除域名。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => 'delete',
                    'ramAction' => [
                        'action' => 'httpdns:DeleteDomain',
                        'authLevel' => 'resource',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"DomainName\\": \\"www.example.com\\",\\n  \\"RequestId\\": \\"FA8C2599-362D-4113-8FB4-E88A40C2****\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<DeleteDomainResponse>\\n    <RequestId>FA8C2599-362D-4113-8FB4-E88A40C2639D</RequestId>\\n    <DomainName>www.aliyun.com</DomainName>\\n</DeleteDomainResponse>","errorExample":""}]',
        ],
        'DescribeDomains' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'systemTags' => [],
            'parameters' => [
                [
                    'name' => 'AccountId',
                    'in' => 'query',
                    'schema' => ['description' => 'HTTPDNS账户ID。', 'type' => 'string', 'required' => false, 'example' => '123456', 'default' => ''],
                ],
                [
                    'name' => 'PageNumber',
                    'in' => 'query',
                    'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '20'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => '请求结果。',
                        'type' => 'object',
                        'properties' => [
                            'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
                            'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A6B3BB61-69CB-50E0-9DC0-0C1658D44A47'],
                            'PageNumber' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
                            'TotalCount' => ['description' => '总条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
                            'Domains' => [
                                'type' => 'object',
                                'itemNode' => true,
                                'properties' => [
                                    'Domain' => [
                                        'description' => '域名列表信息。',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => '域名信息。',
                                            'type' => 'object',
                                            'properties' => [
                                                'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
                                            ],
                                        ],
                                    ],
                                ],
                                'description' => '',
                            ],
                        ],
                    ],
                ],
            ],
            'title' => '获取用户的域名列表',
            'summary' => '根据传入参数列出用户的域名。',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => '',
                    'ramAction' => [
                        'action' => 'httpdns:DescribeDomains',
                        'authLevel' => 'resource',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"PageSize\\": 20,\\n  \\"RequestId\\": \\"A6B3BB61-69CB-50E0-9DC0-0C1658D44A47\\",\\n  \\"PageNumber\\": 1,\\n  \\"TotalCount\\": 12,\\n  \\"Domains\\": {\\n    \\"Domain\\": [\\n      {\\n        \\"DomainName\\": \\"www.aliyun.com\\"\\n      }\\n    ]\\n  }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainsResponse>\\n    <PageSize>20</PageSize>\\n    <RequestId>A6B3BB61-69CB-50E0-9DC0-0C1658D44A47</RequestId>\\n    <PageNumber>1</PageNumber>\\n    <TotalCount>12</TotalCount>\\n    <Domains>\\n        <DomainName>www.aliyun.com</DomainName>\\n    </Domains>\\n</DescribeDomainsResponse>","errorExample":""}]',
        ],
        'GetAccountInfo' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'none',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREemasRC3OWB'],
                'autoTest' => true,
                'tenantRelevance' => 'publicInformation',
            ],
            'parameters' => [],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '50F9C40E-188D-4208-BE2C-74271337****'],
                            'AccountInfo' => [
                                'description' => '当前账户信息。',
                                'type' => 'object',
                                'properties' => [
                                    'SignSecret' => ['description' => '签名密钥。', 'type' => 'string', 'example' => '50F9C40E****'],
                                    'SignedCount' => ['description' => '鉴权接口请求数。', 'type' => 'integer', 'format' => 'int64', 'example' => '611523'],
                                    'PackageCount' => ['description' => '资源包数(历史遗留字段,当前恒为0)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
                                    'MonthResolveCount' => ['description' => '本月HTTP类型解析总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '9927326'],
                                    'AccountId' => ['description' => '账户ID。', 'type' => 'string', 'example' => '1337****'],
                                    'UnsignedEnabled' => ['description' => '非鉴权接口是否开启。', 'type' => 'boolean', 'example' => 'true'],
                                    'UserStatus' => ['description' => 'HTTPDNS账号状态编码,1-账号正常,2-账号欠费,3-账号停服', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
                                    'UnsignedCount' => ['description' => '非鉴权接口请求数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1523'],
                                    'MonthHttpsResolveCount' => ['description' => '本月HTTPS类型解析总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
                                    'MonthFreeCount' => ['description' => '每月免费解析量。'."\n"
                                        ."\n"
                                        .'即您每个自然月可以免费调用HTTPDNS服务进行域名解析的次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1500000'],
                                    'DohEnabled' => ['description' => '打开或关闭DoH功能', 'type' => 'boolean', 'example' => 'true'],
                                    'DohResolveAllEnabled' => ['description' => '打开或关闭使用DoH解析全部域名', 'type' => 'boolean', 'example' => 'true'],
                                    'MonthDohResolveCount' => ['description' => '月度DoH解析量', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
                                    'MonthHttpAesResolveCount' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
                                    'MonthHttpsAesResolveCount' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
                                ],
                            ],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => '获取账户信息',
            'summary' => '获取当前HTTPDNS账户信息。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => 'none',
                    'ramAction' => [
                        'action' => 'httpdns:GetAccountInfo',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"50F9C40E-188D-4208-BE2C-74271337****\\",\\n  \\"AccountInfo\\": {\\n    \\"SignSecret\\": \\"50F9C40E****\\",\\n    \\"SignedCount\\": 611523,\\n    \\"PackageCount\\": 0,\\n    \\"MonthResolveCount\\": 9927326,\\n    \\"AccountId\\": \\"1337****\\",\\n    \\"UnsignedEnabled\\": true,\\n    \\"UserStatus\\": 1,\\n    \\"UnsignedCount\\": 1523,\\n    \\"MonthHttpsResolveCount\\": 3,\\n    \\"MonthFreeCount\\": 1500000,\\n    \\"DohEnabled\\": true,\\n    \\"DohResolveAllEnabled\\": true,\\n    \\"MonthDohResolveCount\\": 10000,\\n    \\"MonthHttpAesResolveCount\\": 0,\\n    \\"MonthHttpsAesResolveCount\\": 0\\n  }\\n}","errorExample":""},{"type":"xml","example":"<GetAccountInfoResponse>\\n    <RequestId>50F9C40E-188D-4208-BE2C-74271337****</RequestId>\\n    <AccountInfo>\\n        <SignSecret>50F9C40E****</SignSecret>\\n        <SignedCount>611523</SignedCount>\\n        <PackageCount>0</PackageCount>\\n        <MonthResolveCount>9927326</MonthResolveCount>\\n        <AccountId>1337****</AccountId>\\n        <UnsignedEnabled>true</UnsignedEnabled>\\n        <UserStatus>1</UserStatus>\\n        <UnsignedCount>1523</UnsignedCount>\\n        <MonthHttpsResolveCount>3</MonthHttpsResolveCount>\\n        <MonthFreeCount>1500000</MonthFreeCount>\\n    </AccountInfo>\\n</GetAccountInfoResponse>","errorExample":""}]',
        ],
        'GetResolveCountSummary' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'systemTags' => [
                'operationType' => 'none',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREemas5UUCVR'],
            ],
            'parameters' => [
                [
                    'name' => 'Granularity',
                    'in' => 'query',
                    'schema' => ['description' => '统计数据粒度,可选值有**day**和**month**。', 'type' => 'string', 'required' => true, 'example' => 'day'],
                ],
                [
                    'name' => 'TimeSpan',
                    'in' => 'query',
                    'schema' => ['description' => '统计时间跨度。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '7'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => '请求结果。',
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3106FFF3-3612-542A-B2CD-3CF4CD48****'],
                            'ResolveSummary' => [
                                'description' => '统计结果。',
                                'type' => 'object',
                                'properties' => [
                                    'Https6' => ['description' => 'ipv6 https解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
                                    'Http6' => ['description' => 'ipv6 http解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
                                    'Http' => ['description' => 'ipv4 http解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
                                    'Https' => ['description' => 'ipv4 https解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
                                    'Doh' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
                                    'HttpAes' => ['type' => 'string', 'description' => ''],
                                    'HttpsAes' => ['type' => 'string', 'description' => ''],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
            'title' => '获取解析及计费统计信息',
            'summary' => '获取解析及计费统计信息,对应控制台中“计费相关”的页面功能。',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => 'none',
                    'ramAction' => [
                        'action' => 'httpdns:GetResolveCountSummary',
                        'authLevel' => 'resource',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"3106FFF3-3612-542A-B2CD-3CF4CD48****\\",\\n  \\"ResolveSummary\\": {\\n    \\"Https6\\": 123,\\n    \\"Http6\\": 123,\\n    \\"Http\\": 123,\\n    \\"Https\\": 123,\\n    \\"Doh\\": 0,\\n    \\"HttpAes\\": \\"\\",\\n    \\"HttpsAes\\": \\"\\"\\n  }\\n}","errorExample":""},{"type":"xml","example":"<GetResolveCountSummaryResponse>\\n    <RequestId>3106FFF3-3612-542A-B2CD-3CF4CD48A4A5</RequestId>\\n    <ResolveSummary>\\n        <Https6>123</Https6>\\n        <Http6>123</Http6>\\n        <Http>123</Http>\\n        <Https>123</Https>\\n    </ResolveSummary>\\n</GetResolveCountSummaryResponse>","errorExample":""}]',
        ],
        'GetResolveStatistics' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [],
            'parameters' => [
                [
                    'name' => 'DomainName',
                    'in' => 'query',
                    'schema' => ['description' => '需要获取统计信息的域名。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.aliyun.com'],
                ],
                [
                    'name' => 'Granularity',
                    'in' => 'query',
                    'schema' => ['description' => '数据粒度,可选值:**day**和**month**。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'month'],
                ],
                [
                    'name' => 'TimeSpan',
                    'in' => 'query',
                    'schema' => ['description' => '时间片长度。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2'],
                ],
                [
                    'name' => 'ProtocolName',
                    'in' => 'query',
                    'schema' => ['description' => '解析的协议类型,可选值:http(默认)和https。', 'type' => 'string', 'required' => false, 'example' => 'https', 'default' => 'http'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '50F9C40E-188D-B00B-BE2C-7427E531****'],
                            'DataPoints' => [
                                'type' => 'object',
                                'itemNode' => true,
                                'properties' => [
                                    'DataPoint' => [
                                        'description' => '数据点。',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'Time' => ['description' => '解析时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '1488297600'],
                                                'Count' => ['description' => '请求数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9703'],
                                            ],
                                            'description' => '',
                                        ],
                                    ],
                                ],
                                'description' => '',
                            ],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'title' => '获取解析统计信息',
            'summary' => '获取某个域名解析请求的统计信息。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResolveStatistics'],
                ],
            ],
            'ramActions' => [
                [
                    'operationType' => '',
                    'ramAction' => [
                        'action' => 'httpdns:GetResolveStatistics',
                        'authLevel' => 'resource',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"50F9C40E-188D-B00B-BE2C-7427E531****\\",\\n  \\"DataPoints\\": {\\n    \\"DataPoint\\": [\\n      {\\n        \\"Time\\": 1488297600,\\n        \\"Count\\": 9703\\n      }\\n    ]\\n  }\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<GetResolveStatisticsResponse>\\n    <RequestId>50F9C40E-1816-B00B-BE2C-7427E5316481</RequestId>\\n    <DataPoints>\\n        <DataPoint>\\n            <Time>1488297600</Time>\\n            <Count>9703</Count>\\n        </DataPoint>\\n        <DataPoint>\\n            <Time>1490976000</Time>\\n            <Count>9390</Count>\\n        </DataPoint>\\n    </DataPoints>\\n</GetResolveStatisticsResponse>","errorExample":""}]',
        ],
        'ListDomains' => [
            'summary' => '根据传入参数列出用户的域名及解析次数。',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'none',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREemas5UUCVR'],
            ],
            'parameters' => [
                [
                    'name' => 'PageNumber',
                    'in' => 'query',
                    'schema' => ['description' => '当前页数,起始值:1,默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['description' => '分页查询时设置的每页行数,最大值为:100,默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '20', 'default' => '20'],
                ],
                [
                    'name' => 'Search',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
                ],
                [
                    'name' => 'WithoutMeteringData',
                    'in' => 'query',
                    'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'PageSize' => ['description' => '本次查询获取的域名数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
                            'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '50F9C40E-188D-4208-BE2C-7427E531****'],
                            'PageNumber' => ['description' => '域名列表总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
                            'TotalCount' => ['description' => '域名列表总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'],
                            'DomainInfos' => [
                                'type' => 'object',
                                'itemNode' => true,
                                'properties' => [
                                    'DomainInfo' => [
                                        'description' => '本次获取的域名列表。',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'ResolvedHttps6' => ['description' => 'HTTPS-IPv6解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
                                                'Resolved' => ['description' => 'HTTP-IPv4解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
                                                'Resolved6' => ['description' => 'HTTP-IPv6解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
                                                'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'www.example.com'],
                                                'ResolvedHttps' => ['description' => 'HTTPS-IPv4解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
                                                'TimeModified' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
                                                'ResolvedDoh' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
                                                'ResolveHttpAes' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
                                                'ResolveHttpsAes' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
                                            ],
                                            'description' => '',
                                        ],
                                    ],
                                ],
                                'description' => '',
                            ],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'title' => '获取用户域名及解析次数',
            'description' => '# 接口说明'."\n"
                ."\n"
                .'- 查询可以指定页码(PageNumber)和每页的数量(PageSize)。'."\n"
                .'- 域名列表的默认排序方式是按照域名添加的时间从新到旧排序的。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDomains'],
                ],
            ],
            'ramActions' => [
                [
                    'operationType' => 'none',
                    'ramAction' => [
                        'action' => 'httpdns:ListDomains',
                        'authLevel' => 'resource',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"PageSize\\": 5,\\n  \\"RequestId\\": \\"50F9C40E-188D-4208-BE2C-7427E531****\\",\\n  \\"PageNumber\\": 1,\\n  \\"TotalCount\\": 18,\\n  \\"DomainInfos\\": {\\n    \\"DomainInfo\\": [\\n      {\\n        \\"ResolvedHttps6\\": 20,\\n        \\"Resolved\\": 10,\\n        \\"Resolved6\\": 20,\\n        \\"DomainName\\": \\"www.example.com\\",\\n        \\"ResolvedHttps\\": 10,\\n        \\"TimeModified\\": 0,\\n        \\"ResolvedDoh\\": 0,\\n        \\"ResolveHttpAes\\": 0,\\n        \\"ResolveHttpsAes\\": 0\\n      }\\n    ]\\n  }\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<ListDomainsResponse>\\n    <RequestId>50F9C40E-188D-4208-BE2C-7427E5316481</RequestId>\\n    <TotalCount>18</TotalCount>\\n    <PageNumber>1</PageNumber>\\n    <PageSize>5</PageSize>\\n    <DomainInfos>\\n        <DomainInfo>\\n            <DomainName>www.aliyun.com</DomainName>\\n            <Resolved>10</Resolved>\\n            <ResolvedHttps>20</ResolvedHttps>\\n        </DomainInfo>\\n        <DomainInfo>\\n            <DomainName>bbs.aliyun.com</DomainName>\\n            <Resolved>10</Resolved>\\n            <ResolvedHttps>20</ResolvedHttps>\\n        </DomainInfo>\\n        <DomainInfo>\\n            <DomainName>www.taobao.com</DomainName>\\n            <Resolved>10</Resolved>\\n            <ResolvedHttps>20</ResolvedHttps>\\n        </DomainInfo>\\n        <DomainInfo>\\n            <DomainName>www.tmall.com</DomainName>\\n            <Resolved>10</Resolved>\\n            <ResolvedHttps>20</ResolvedHttps>\\n        </DomainInfo>\\n        <DomainInfo>\\n            <DomainName>alipay.com</DomainName>\\n            <Resolved>10</Resolved>\\n            <ResolvedHttps>20</ResolvedHttps>\\n        </DomainInfo>\\n    </DomainInfos>\\n</ListDomainsResponse>","errorExample":""}]',
        ],
        'RefreshResolveCache' => [
            'summary' => '刷新域名缓存。',
            'path' => '',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'Domains',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => [
                        'description' => '要刷新的域名列表',
                        'type' => 'array',
                        'items' => ['description' => '域名', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'],
                        'required' => false,
                    ],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '200'],
                            'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => 'success'],
                            'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FA8C2599-362D-4113-8FB4-E88A40C2****'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'RamInsufficientPermission', 'errorMessage' => 'You are not authorized to do this operation.', 'description' => 'RAM权限不足'],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => '刷新域名解析缓存',
            'requestParamsDescription' => '不支持泛域名的刷新',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => 'none',
                    'ramAction' => [
                        'action' => 'httpdns:RefreshResolveCache',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"success\\",\\n  \\"RequestId\\": \\"FA8C2599-362D-4113-8FB4-E88A40C2****\\"\\n}","type":"json"}]',
        ],
    ],
    'endpoints' => [
        ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'httpdns.ap-southeast-1.aliyuncs.com', 'endpoint' => 'httpdns.ap-southeast-1.aliyuncs.com', 'vpc' => 'httpdns-vpc.ap-southeast-1.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'httpdns-api.aliyuncs.com', 'endpoint' => 'httpdns-api.aliyuncs.com', 'vpc' => ''],
    ],
    'errorCodes' => [
        ['code' => 'NoSuchVersion', 'message' => 'The specified version does not exist.', 'http_code' => null, 'description' => '无效的版本'],
        ['code' => 'RamInsufficientPermission', 'message' => 'You are not authorized to do this operation.', 'http_code' => 400, 'description' => 'RAM权限不足'],
        ['code' => 'UserNotFound', 'message' => 'The user is not found.', 'http_code' => 400, 'description' => '未找到该用户信息'],
    ],
    'changeSet' => [],
    'flowControl' => [
        'flowControlList' => [
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResolveStatistics'],
            ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDomains'],
        ],
    ],
    'ram' => [
        'productCode' => 'HTTPDNS',
        'productName' => '移动研发平台',
        'ramCodes' => ['httpdns'],
        'ramLevel' => '资源级',
        'ramConditions' => [],
        'ramActions' => [
            [
                'apiName' => 'GetResolveStatistics',
                'description' => '获取解析统计信息',
                'operationType' => '',
                'ramAction' => [
                    'action' => 'httpdns:GetResolveStatistics',
                    'authLevel' => 'resource',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'],
                    ],
                ],
            ],
            [
                'apiName' => 'DescribeDomains',
                'description' => '获取用户的域名列表',
                'operationType' => '',
                'ramAction' => [
                    'action' => 'httpdns:DescribeDomains',
                    'authLevel' => 'resource',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'],
                    ],
                ],
            ],
            [
                'apiName' => 'RefreshResolveCache',
                'description' => '刷新域名解析缓存',
                'operationType' => 'none',
                'ramAction' => [
                    'action' => 'httpdns:RefreshResolveCache',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'DeleteDomain',
                'description' => '删除域名',
                'operationType' => 'delete',
                'ramAction' => [
                    'action' => 'httpdns:DeleteDomain',
                    'authLevel' => 'resource',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'],
                    ],
                ],
            ],
            [
                'apiName' => 'AddDomain',
                'description' => '添加域名接口',
                'operationType' => 'create',
                'ramAction' => [
                    'action' => 'httpdns:AddDomain',
                    'authLevel' => 'resource',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'],
                    ],
                ],
            ],
            [
                'apiName' => 'GetAccountInfo',
                'description' => '获取账户信息',
                'operationType' => 'none',
                'ramAction' => [
                    'action' => 'httpdns:GetAccountInfo',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'GetResolveCountSummary',
                'description' => '获取解析及计费统计信息',
                'operationType' => 'none',
                'ramAction' => [
                    'action' => 'httpdns:GetResolveCountSummary',
                    'authLevel' => 'resource',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'ListDomains',
                'description' => '获取用户域名及解析次数',
                'operationType' => 'none',
                'ramAction' => [
                    'action' => 'httpdns:ListDomains',
                    'authLevel' => 'resource',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'],
                    ],
                ],
            ],
        ],
        'resourceTypes' => [
            ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'],
            ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'],
        ],
    ],
];