Skip to content

Commit 4e0ed96

Browse files
add updates
1 parent 62d4c2d commit 4e0ed96

3 files changed

Lines changed: 28 additions & 26 deletions

File tree

src/Cdn/CdnClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@
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 = [])
209+
* @method \Jdcloud\Result generateDomainTxt(array $args = [])
210+
* @method \GuzzleHttp\Promise\Promise generateDomainTxtAsync(array $args = [])
211211
* @method \Jdcloud\Result domainTxtValidate(array $args = [])
212212
* @method \GuzzleHttp\Promise\Promise domainTxtValidateAsync(array $args = [])
213213
* @method \Jdcloud\Result queryDomainTempInstList(array $args = [])

src/Cdn/ChangeLog.md

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

44

55

66

77
| 发布时间 | 版本号 | 更新 | 说明 |
88
| ---------- | ------ | ---------------------------------------------------------- | ---- |
9+
| 2023-05-06 | 0.10.46 |新增generateDomainTxt接口解决原有接口java sdk格式兼容问题,domainTxtGenerate仅对内使用|
910
| 2023-04-06 | 0.10.45 |domainTxtGenerate、domainTxtValidate txt生成及校验接口对外开放|
1011
| 2023-02-22 | 0.10.44 |增加域名海外CF状态信息|
1112
| 2023-02-06 | 0.10.43 |控制台增加域名备案检查接口|

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

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -848,14 +848,14 @@
848848
'input' => [ 'shape' => 'QueryDomainConfigRequestShape', ],
849849
'output' => [ 'shape' => 'QueryDomainConfigResponseShape', ],
850850
],
851-
'DomainTxtGenerate' => [
852-
'name' => 'DomainTxtGenerate',
851+
'GenerateDomainTxt' => [
852+
'name' => 'GenerateDomainTxt',
853853
'http' => [
854854
'method' => 'POST',
855-
'requestUri' => '/v1/domainTxtGenerate',
855+
'requestUri' => '/v1/generateDomainTxt',
856856
],
857-
'input' => [ 'shape' => 'DomainTxtGenerateRequestShape', ],
858-
'output' => [ 'shape' => 'DomainTxtGenerateResponseShape', ],
857+
'input' => [ 'shape' => 'GenerateDomainTxtRequestShape', ],
858+
'output' => [ 'shape' => 'GenerateDomainTxtResponseShape', ],
859859
],
860860
'DomainTxtValidate' => [
861861
'name' => 'DomainTxtValidate',
@@ -4962,6 +4962,13 @@
49624962
'result' => [ 'shape' => 'QueryDomainConfigResultShape', ],
49634963
],
49644964
],
4965+
'GenerateDomainTxtResponseShape' => [
4966+
'type' => 'structure',
4967+
'members' => [
4968+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
4969+
'result' => [ 'shape' => 'GenerateDomainTxtResultShape', ],
4970+
],
4971+
],
49654972
'QueryOssBucketsResultShape' => [
49664973
'type' => 'structure',
49674974
'members' => [
@@ -5003,11 +5010,6 @@
50035010
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
50045011
],
50055012
],
5006-
'DomainTxtGenerateResultShape' => [
5007-
'type' => 'structure',
5008-
'members' => [
5009-
],
5010-
],
50115013
'DomainTxtValidateRequestShape' => [
50125014
'type' => 'structure',
50135015
'members' => [
@@ -5018,12 +5020,6 @@
50185020
'url' => [ 'type' => 'string', 'locationName' => 'url', ],
50195021
],
50205022
],
5021-
'DomainTxtGenerateRequestShape' => [
5022-
'type' => 'structure',
5023-
'members' => [
5024-
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
5025-
],
5026-
],
50275023
'GetDomainListByFilterRequestShape' => [
50285024
'type' => 'structure',
50295025
'members' => [
@@ -5099,13 +5095,6 @@
50995095
'members' => [
51005096
],
51015097
],
5102-
'DomainTxtGenerateResponseShape' => [
5103-
'type' => 'structure',
5104-
'members' => [
5105-
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
5106-
'result' => [ 'type' => 'string', 'locationName' => 'result', ],
5107-
],
5108-
],
51095098
'GetDomainDetailRequestShape' => [
51105099
'type' => 'structure',
51115100
'members' => [
@@ -5209,6 +5198,12 @@
52095198
'result' => [ 'shape' => 'QueryOssBucketsResultShape', ],
52105199
],
52115200
],
5201+
'GenerateDomainTxtRequestShape' => [
5202+
'type' => 'structure',
5203+
'members' => [
5204+
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
5205+
],
5206+
],
52125207
'GetDomainDetailResultShape' => [
52135208
'type' => 'structure',
52145209
'members' => [
@@ -5250,6 +5245,12 @@
52505245
'overseaStatus' => [ 'type' => 'long', 'locationName' => 'overseaStatus', ],
52515246
],
52525247
],
5248+
'GenerateDomainTxtResultShape' => [
5249+
'type' => 'structure',
5250+
'members' => [
5251+
'txt' => [ 'type' => 'string', 'locationName' => 'txt', ],
5252+
],
5253+
],
52535254
'BatchCreateResultShape' => [
52545255
'type' => 'structure',
52555256
'members' => [

0 commit comments

Comments
 (0)