Skip to content

Commit 62d4c2d

Browse files
add updates
1 parent 4e32ec3 commit 62d4c2d

3 files changed

Lines changed: 150 additions & 81 deletions

File tree

src/Cdn/CdnClient.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@
206206
* @method \GuzzleHttp\Promise\Promise batchCreateAsync(array $args = [])
207207
* @method \Jdcloud\Result queryDomainConfig(array $args = [])
208208
* @method \GuzzleHttp\Promise\Promise queryDomainConfigAsync(array $args = [])
209+
* @method \Jdcloud\Result domainTxtGenerate(array $args = [])
210+
* @method \GuzzleHttp\Promise\Promise domainTxtGenerateAsync(array $args = [])
211+
* @method \Jdcloud\Result domainTxtValidate(array $args = [])
212+
* @method \GuzzleHttp\Promise\Promise domainTxtValidateAsync(array $args = [])
209213
* @method \Jdcloud\Result queryDomainTempInstList(array $args = [])
210214
* @method \GuzzleHttp\Promise\Promise queryDomainTempInstListAsync(array $args = [])
211215
* @method \Jdcloud\Result queryDomainTempProKeys(array $args = [])

src/Cdn/ChangeLog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# 更新历史 #
2-
API版本:0.10.42
2+
API版本:0.10.45
33

44

55

66

77
| 发布时间 | 版本号 | 更新 | 说明 |
88
| ---------- | ------ | ---------------------------------------------------------- | ---- |
9+
| 2023-04-06 | 0.10.45 |domainTxtGenerate、domainTxtValidate txt生成及校验接口对外开放|
10+
| 2023-02-22 | 0.10.44 |增加域名海外CF状态信息|
11+
| 2023-02-06 | 0.10.43 |控制台增加域名备案检查接口|
912
| 2023-01-09 | 0.10.42 |批量下发ip黑名单接口可增加入参可指定下发全部域名|
1013
| 2022-12-29 | 0.10.41 |域名列表详情增加海外状态数据|
1114
| 2022-12-19 | 0.10.40 |商城pin维度离线日志查询接口|

src/data/cdn/v1/api-2.json.php

Lines changed: 142 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,24 @@
848848
'input' => [ 'shape' => 'QueryDomainConfigRequestShape', ],
849849
'output' => [ 'shape' => 'QueryDomainConfigResponseShape', ],
850850
],
851+
'DomainTxtGenerate' => [
852+
'name' => 'DomainTxtGenerate',
853+
'http' => [
854+
'method' => 'POST',
855+
'requestUri' => '/v1/domainTxtGenerate',
856+
],
857+
'input' => [ 'shape' => 'DomainTxtGenerateRequestShape', ],
858+
'output' => [ 'shape' => 'DomainTxtGenerateResponseShape', ],
859+
],
860+
'DomainTxtValidate' => [
861+
'name' => 'DomainTxtValidate',
862+
'http' => [
863+
'method' => 'POST',
864+
'requestUri' => '/v1/domainTxtValidate',
865+
],
866+
'input' => [ 'shape' => 'DomainTxtValidateRequestShape', ],
867+
'output' => [ 'shape' => 'DomainTxtValidateResponseShape', ],
868+
],
851869
'QueryDomainTempInstList' => [
852870
'name' => 'QueryDomainTempInstList',
853871
'http' => [
@@ -2421,6 +2439,7 @@
24212439
'type' => [ 'type' => 'string', 'locationName' => 'type', ],
24222440
'auditStatus' => [ 'type' => 'string', 'locationName' => 'auditStatus', ],
24232441
'accelerateRegion' => [ 'type' => 'string', 'locationName' => 'accelerateRegion', ],
2442+
'overseaStatus' => [ 'type' => 'long', 'locationName' => 'overseaStatus', ],
24242443
],
24252444
],
24262445
'DomainSourceInfo' => [
@@ -4887,6 +4906,124 @@
48874906
'members' => [
48884907
],
48894908
],
4909+
'QueryOssBucketsRequestShape' => [
4910+
'type' => 'structure',
4911+
'members' => [
4912+
],
4913+
],
4914+
'GetDomainListResultShape' => [
4915+
'type' => 'structure',
4916+
'members' => [
4917+
'totalCount' => [ 'type' => 'integer', 'locationName' => 'totalCount', ],
4918+
'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ],
4919+
'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ],
4920+
'domains' => [ 'type' => 'list', 'member' => [ 'shape' => 'ListDomainItem', ], ],
4921+
],
4922+
],
4923+
'QueryDomainCnameTagResultShape' => [
4924+
'type' => 'structure',
4925+
'members' => [
4926+
'cnameTags' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ],
4927+
],
4928+
],
4929+
'BatchCreateRequestShape' => [
4930+
'type' => 'structure',
4931+
'members' => [
4932+
'domains' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ],
4933+
'sourceType' => [ 'type' => 'string', 'locationName' => 'sourceType', ],
4934+
'cdnType' => [ 'type' => 'string', 'locationName' => 'cdnType', ],
4935+
'backSourceType' => [ 'type' => 'string', 'locationName' => 'backSourceType', ],
4936+
'dailyBandWidth' => [ 'type' => 'long', 'locationName' => 'dailyBandWidth', ],
4937+
'quaility' => [ 'type' => 'string', 'locationName' => 'quaility', ],
4938+
'maxFileSize' => [ 'type' => 'long', 'locationName' => 'maxFileSize', ],
4939+
'minFileSize' => [ 'type' => 'long', 'locationName' => 'minFileSize', ],
4940+
'sumFileSize' => [ 'type' => 'long', 'locationName' => 'sumFileSize', ],
4941+
'avgFileSize' => [ 'type' => 'long', 'locationName' => 'avgFileSize', ],
4942+
'defaultSourceHost' => [ 'type' => 'string', 'locationName' => 'defaultSourceHost', ],
4943+
'httpType' => [ 'type' => 'string', 'locationName' => 'httpType', ],
4944+
'ipSource' => [ 'type' => 'list', 'member' => [ 'shape' => 'IpSourceInfo', ], ],
4945+
'domainSource' => [ 'type' => 'list', 'member' => [ 'shape' => 'DomainSourceInfo', ], ],
4946+
'ossSource' => [ 'type' => 'string', 'locationName' => 'ossSource', ],
4947+
'accelerateRegion' => [ 'type' => 'string', 'locationName' => 'accelerateRegion', ],
4948+
'tempInstId' => [ 'type' => 'long', 'locationName' => 'tempInstId', ],
4949+
],
4950+
],
4951+
'DomainTxtValidateResultShape' => [
4952+
'type' => 'structure',
4953+
'members' => [
4954+
'pass' => [ 'type' => 'boolean', 'locationName' => 'pass', ],
4955+
'errMsg' => [ 'type' => 'string', 'locationName' => 'errMsg', ],
4956+
],
4957+
],
4958+
'QueryDomainConfigResponseShape' => [
4959+
'type' => 'structure',
4960+
'members' => [
4961+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
4962+
'result' => [ 'shape' => 'QueryDomainConfigResultShape', ],
4963+
],
4964+
],
4965+
'QueryOssBucketsResultShape' => [
4966+
'type' => 'structure',
4967+
'members' => [
4968+
'total' => [ 'type' => 'integer', 'locationName' => 'total', ],
4969+
'ossBuckets' => [ 'type' => 'list', 'member' => [ 'type' => 'object', ], ],
4970+
],
4971+
],
4972+
'DomainTxtValidateResponseShape' => [
4973+
'type' => 'structure',
4974+
'members' => [
4975+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
4976+
'result' => [ 'shape' => 'DomainTxtValidateResultShape', ],
4977+
],
4978+
],
4979+
'QueryDomainCnameTagResponseShape' => [
4980+
'type' => 'structure',
4981+
'members' => [
4982+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
4983+
'result' => [ 'shape' => 'QueryDomainCnameTagResultShape', ],
4984+
],
4985+
],
4986+
'GetDomainListByFilterResponseShape' => [
4987+
'type' => 'structure',
4988+
'members' => [
4989+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
4990+
'result' => [ 'shape' => 'GetDomainListByFilterResultShape', ],
4991+
],
4992+
],
4993+
'CreateDomainResponseShape' => [
4994+
'type' => 'structure',
4995+
'members' => [
4996+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
4997+
'result' => [ 'shape' => 'CreateDomainResultShape', ],
4998+
],
4999+
],
5000+
'DeleteDomainRequestShape' => [
5001+
'type' => 'structure',
5002+
'members' => [
5003+
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
5004+
],
5005+
],
5006+
'DomainTxtGenerateResultShape' => [
5007+
'type' => 'structure',
5008+
'members' => [
5009+
],
5010+
],
5011+
'DomainTxtValidateRequestShape' => [
5012+
'type' => 'structure',
5013+
'members' => [
5014+
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
5015+
'validateType' => [ 'type' => 'string', 'locationName' => 'validateType', ],
5016+
'hostRecord' => [ 'type' => 'string', 'locationName' => 'hostRecord', ],
5017+
'txt' => [ 'type' => 'string', 'locationName' => 'txt', ],
5018+
'url' => [ 'type' => 'string', 'locationName' => 'url', ],
5019+
],
5020+
],
5021+
'DomainTxtGenerateRequestShape' => [
5022+
'type' => 'structure',
5023+
'members' => [
5024+
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
5025+
],
5026+
],
48905027
'GetDomainListByFilterRequestShape' => [
48915028
'type' => 'structure',
48925029
'members' => [
@@ -4906,11 +5043,6 @@
49065043
'members' => [
49075044
],
49085045
],
4909-
'QueryOssBucketsRequestShape' => [
4910-
'type' => 'structure',
4911-
'members' => [
4912-
],
4913-
],
49145046
'GetDomainListRequestShape' => [
49155047
'type' => 'structure',
49165048
'members' => [
@@ -4920,6 +5052,7 @@
49205052
'status' => [ 'type' => 'string', 'locationName' => 'status', ],
49215053
'type' => [ 'type' => 'string', 'locationName' => 'type', ],
49225054
'accelerateRegion' => [ 'type' => 'string', 'locationName' => 'accelerateRegion', ],
5055+
'withThirdPartyStatus' => [ 'type' => 'boolean', 'locationName' => 'withThirdPartyStatus', ],
49235056
],
49245057
],
49255058
'CreateDomainRequestShape' => [
@@ -4961,46 +5094,16 @@
49615094
'domains' => [ 'type' => 'list', 'member' => [ 'shape' => 'ListDomainItemByFilter', ], ],
49625095
],
49635096
],
4964-
'GetDomainListResultShape' => [
4965-
'type' => 'structure',
4966-
'members' => [
4967-
'totalCount' => [ 'type' => 'integer', 'locationName' => 'totalCount', ],
4968-
'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ],
4969-
'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ],
4970-
'domains' => [ 'type' => 'list', 'member' => [ 'shape' => 'ListDomainItem', ], ],
4971-
],
4972-
],
4973-
'QueryDomainCnameTagResultShape' => [
4974-
'type' => 'structure',
4975-
'members' => [
4976-
'cnameTags' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ],
4977-
],
4978-
],
4979-
'BatchCreateRequestShape' => [
5097+
'CreateDomainResultShape' => [
49805098
'type' => 'structure',
49815099
'members' => [
4982-
'domains' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ],
4983-
'sourceType' => [ 'type' => 'string', 'locationName' => 'sourceType', ],
4984-
'cdnType' => [ 'type' => 'string', 'locationName' => 'cdnType', ],
4985-
'backSourceType' => [ 'type' => 'string', 'locationName' => 'backSourceType', ],
4986-
'dailyBandWidth' => [ 'type' => 'long', 'locationName' => 'dailyBandWidth', ],
4987-
'quaility' => [ 'type' => 'string', 'locationName' => 'quaility', ],
4988-
'maxFileSize' => [ 'type' => 'long', 'locationName' => 'maxFileSize', ],
4989-
'minFileSize' => [ 'type' => 'long', 'locationName' => 'minFileSize', ],
4990-
'sumFileSize' => [ 'type' => 'long', 'locationName' => 'sumFileSize', ],
4991-
'avgFileSize' => [ 'type' => 'long', 'locationName' => 'avgFileSize', ],
4992-
'defaultSourceHost' => [ 'type' => 'string', 'locationName' => 'defaultSourceHost', ],
4993-
'httpType' => [ 'type' => 'string', 'locationName' => 'httpType', ],
4994-
'ipSource' => [ 'type' => 'list', 'member' => [ 'shape' => 'IpSourceInfo', ], ],
4995-
'domainSource' => [ 'type' => 'list', 'member' => [ 'shape' => 'DomainSourceInfo', ], ],
4996-
'ossSource' => [ 'type' => 'string', 'locationName' => 'ossSource', ],
4997-
'accelerateRegion' => [ 'type' => 'string', 'locationName' => 'accelerateRegion', ],
4998-
'tempInstId' => [ 'type' => 'long', 'locationName' => 'tempInstId', ],
49995100
],
50005101
],
5001-
'CreateDomainResultShape' => [
5102+
'DomainTxtGenerateResponseShape' => [
50025103
'type' => 'structure',
50035104
'members' => [
5105+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
5106+
'result' => [ 'type' => 'string', 'locationName' => 'result', ],
50045107
],
50055108
],
50065109
'GetDomainDetailRequestShape' => [
@@ -5044,41 +5147,20 @@
50445147
'result' => [ 'shape' => 'BatchCreateResultShape', ],
50455148
],
50465149
],
5047-
'QueryDomainConfigResponseShape' => [
5048-
'type' => 'structure',
5049-
'members' => [
5050-
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
5051-
'result' => [ 'shape' => 'QueryDomainConfigResultShape', ],
5052-
],
5053-
],
50545150
'GetDomainListResponseShape' => [
50555151
'type' => 'structure',
50565152
'members' => [
50575153
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
50585154
'result' => [ 'shape' => 'GetDomainListResultShape', ],
50595155
],
50605156
],
5061-
'QueryOssBucketsResultShape' => [
5062-
'type' => 'structure',
5063-
'members' => [
5064-
'total' => [ 'type' => 'integer', 'locationName' => 'total', ],
5065-
'ossBuckets' => [ 'type' => 'list', 'member' => [ 'type' => 'object', ], ],
5066-
],
5067-
],
50685157
'DeleteDomainResponseShape' => [
50695158
'type' => 'structure',
50705159
'members' => [
50715160
'result' => [ 'shape' => 'DeleteDomainResultShape', ],
50725161
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
50735162
],
50745163
],
5075-
'QueryDomainCnameTagResponseShape' => [
5076-
'type' => 'structure',
5077-
'members' => [
5078-
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
5079-
'result' => [ 'shape' => 'QueryDomainCnameTagResultShape', ],
5080-
],
5081-
],
50825164
'DeleteDomainResultShape' => [
50835165
'type' => 'structure',
50845166
'members' => [
@@ -5090,26 +5172,6 @@
50905172
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
50915173
],
50925174
],
5093-
'GetDomainListByFilterResponseShape' => [
5094-
'type' => 'structure',
5095-
'members' => [
5096-
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
5097-
'result' => [ 'shape' => 'GetDomainListByFilterResultShape', ],
5098-
],
5099-
],
5100-
'CreateDomainResponseShape' => [
5101-
'type' => 'structure',
5102-
'members' => [
5103-
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
5104-
'result' => [ 'shape' => 'CreateDomainResultShape', ],
5105-
],
5106-
],
5107-
'DeleteDomainRequestShape' => [
5108-
'type' => 'structure',
5109-
'members' => [
5110-
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
5111-
],
5112-
],
51135175
'QueryDomainCnameTagRequestShape' => [
51145176
'type' => 'structure',
51155177
'members' => [

0 commit comments

Comments
 (0)