summaryrefslogtreecommitdiff
path: root/data/en_us/dm/2017-06-22
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/dm/2017-06-22')
-rw-r--r--data/en_us/dm/2017-06-22/api-docs.php3774
1 files changed, 744 insertions, 3030 deletions
diff --git a/data/en_us/dm/2017-06-22/api-docs.php b/data/en_us/dm/2017-06-22/api-docs.php
index badb3d5..b4f9ccb 100644
--- a/data/en_us/dm/2017-06-22/api-docs.php
+++ b/data/en_us/dm/2017-06-22/api-docs.php
@@ -1,100 +1,54 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Dm',
- 'version' => '2017-06-22',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Dm', 'version' => '2017-06-22'],
'directories' => [
[
'id' => 60684,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'CreateMailAddress',
- 'DeleteMailAddress',
- 'QueryInvalidAddress',
- 'QueryMailAddressByParam',
- ],
+ 'children' => ['CreateMailAddress', 'DeleteMailAddress', 'QueryInvalidAddress', 'QueryMailAddressByParam'],
],
[
'id' => 60689,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ModifyMailAddress',
- 'GetAccountList',
- 'DescAccountSummary',
- ],
+ 'children' => ['ModifyMailAddress', 'GetAccountList', 'DescAccountSummary'],
],
[
'id' => 60694,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'CreateTag',
- 'DeleteTag',
- 'ModifyTag',
- 'QueryTagByParam',
- ],
+ 'children' => ['CreateTag', 'DeleteTag', 'ModifyTag', 'QueryTagByParam'],
],
[
'id' => 60699,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'CreateReceiver',
- 'DeleteReceiver',
- 'DeleteReceiverDetail',
- 'QueryReceiverByParam',
- 'QueryReceiverDetail',
- 'SaveReceiverDetail',
- ],
+ 'children' => ['CreateReceiver', 'DeleteReceiver', 'DeleteReceiverDetail', 'QueryReceiverByParam', 'QueryReceiverDetail', 'SaveReceiverDetail'],
],
[
'id' => 60707,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'CreateTemplate',
- 'DeleteTemplate',
- 'ModifyTemplate',
- 'QueryTemplateByParam',
- 'DescTemplate',
- ],
+ 'children' => ['CreateTemplate', 'DeleteTemplate', 'ModifyTemplate', 'QueryTemplateByParam', 'DescTemplate'],
],
[
'id' => 60713,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'CreateDomain',
- 'DeleteDomain',
- 'QueryDomainByParam',
- 'CheckDomain',
- 'DescDomain',
- ],
+ 'children' => ['CreateDomain', 'DeleteDomain', 'QueryDomainByParam', 'CheckDomain', 'DescDomain'],
],
[
'id' => 60719,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'GetTrackList',
- 'QueryTaskByParam',
- 'BatchSendMail',
- 'SenderStatisticsByTagNameAndBatchID',
- 'SenderStatisticsDetailByParam',
- 'SingleSendMail',
- ],
+ 'children' => ['GetTrackList', 'QueryTaskByParam', 'BatchSendMail', 'SenderStatisticsByTagNameAndBatchID', 'SenderStatisticsDetailByParam', 'SingleSendMail'],
],
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'AddIpfilter',
- ],
+ 'children' => ['AddIpfilter'],
],
],
'components' => [
@@ -102,14 +56,8 @@
],
'apis' => [
'CreateMailAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -117,35 +65,22 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'AccountName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ReplyAddress',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Sendtype',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -153,12 +88,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'MailAddressId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'MailAddressId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -166,33 +97,20 @@
'responseDemo' => null,
],
'DeleteMailAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'MailAddressId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -200,137 +118,69 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidMailAddressName.Duplicate',
- 'errorMessage' => 'The specified mailAddress accountName is already existed',
- ],
- [
- 'errorCode' => 'InvalidMailAddressName.Malformed',
- 'errorMessage' => 'The specified MailAddress accountName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressNumber.Malformed',
- 'errorMessage' => 'The amount of MailAddress exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressId.Malformed',
- 'errorMessage' => 'The specified MailAddressId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressReplyName.Malformed',
- 'errorMessage' => 'The specified mailAddress replyAddress is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressSendType.Malformed',
- 'errorMessage' => 'The specified mailAddress sendType is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressDomain.Malformed',
- 'errorMessage' => 'The specified mailAddress domain does not exist.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressDomainStatus.Malformed',
- 'errorMessage' => 'The mailAddress domain Status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressStatus.Malformed',
- 'errorMessage' => 'The specified mailAddress status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressTicket.Malformed',
- 'errorMessage' => 'The specified mailAddress ticket does not exist.',
- ],
- [
- 'errorCode' => 'InvalidMailAddress.delteTimes',
- 'errorMessage' => 'Maximum number of deletion',
- ],
+ ['errorCode' => 'InvalidMailAddressName.Duplicate', 'errorMessage' => 'The specified mailAddress accountName is already existed'],
+ ['errorCode' => 'InvalidMailAddressName.Malformed', 'errorMessage' => 'The specified MailAddress accountName is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressNumber.Malformed', 'errorMessage' => 'The amount of MailAddress exceeds the limit.'],
+ ['errorCode' => 'InvalidMailAddressId.Malformed', 'errorMessage' => 'The specified MailAddressId does not exist.'],
+ ['errorCode' => 'InvalidMailAddressReplyName.Malformed', 'errorMessage' => 'The specified mailAddress replyAddress is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressSendType.Malformed', 'errorMessage' => 'The specified mailAddress sendType is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressDomain.Malformed', 'errorMessage' => 'The specified mailAddress domain does not exist.'],
+ ['errorCode' => 'InvalidMailAddressDomainStatus.Malformed', 'errorMessage' => 'The mailAddress domain Status is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressStatus.Malformed', 'errorMessage' => 'The specified mailAddress status is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressTicket.Malformed', 'errorMessage' => 'The specified mailAddress ticket does not exist.'],
+ ['errorCode' => 'InvalidMailAddress.delteTimes', 'errorMessage' => 'Maximum number of deletion'],
],
404 => [
- [
- 'errorCode' => 'InvalidMailAddress.NotFound',
- 'errorMessage' => 'The specified mailAddress does not found.',
- ],
+ ['errorCode' => 'InvalidMailAddress.NotFound', 'errorMessage' => 'The specified mailAddress does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'QueryInvalidAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'default' => '10',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10'],
],
[
'name' => 'NextStart',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -338,17 +188,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextStart' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'NextStart' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -358,16 +200,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LastUpdateTime' => [
- 'type' => 'string',
- ],
- 'ToAddress' => [
- 'type' => 'string',
- ],
- 'UtcLastUpdateTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'LastUpdateTime' => ['type' => 'string'],
+ 'ToAddress' => ['type' => 'string'],
+ 'UtcLastUpdateTime' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -379,59 +214,26 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidDate.Malformed',
- 'errorMessage' => 'The specified date is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'Start time should earlyer than end time.',
- ],
- [
- 'errorCode' => 'InvalidBetweenTime.Malformed',
- 'errorMessage' => 'More than seven days between start time and end time.',
- ],
- [
- 'errorCode' => 'InvalidYear.Malformed',
- 'errorMessage' => 'The specified year is invalid.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressName.Malformed',
- 'errorMessage' => 'The specified mailAddress accountName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddress.NotFound',
- 'errorMessage' => 'The specified mailAddress does not exist.',
- ],
- [
- 'errorCode' => 'InvalidKeyword.Malformed',
- 'errorMessage' => 'The specified keyword is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidDate.Malformed', 'errorMessage' => 'The specified date is wrongly formed.'],
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Start time should earlyer than end time.'],
+ ['errorCode' => 'InvalidBetweenTime.Malformed', 'errorMessage' => 'More than seven days between start time and end time.'],
+ ['errorCode' => 'InvalidYear.Malformed', 'errorMessage' => 'The specified year is invalid.'],
+ ['errorCode' => 'InvalidMailAddressName.Malformed', 'errorMessage' => 'The specified mailAddress accountName is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddress.NotFound', 'errorMessage' => 'The specified mailAddress does not exist.'],
+ ['errorCode' => 'InvalidKeyword.Malformed', 'errorMessage' => 'The specified keyword is wrongly formed.'],
],
404 => [
- [
- 'errorCode' => 'InvalidDate.NotFound',
- 'errorMessage' => 'The specified date does not found.',
- ],
+ ['errorCode' => 'InvalidDate.NotFound', 'errorMessage' => 'The specified date does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'QueryMailAddressByParam' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -439,48 +241,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'default' => '500',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'default' => '500'],
],
[
'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Sendtype',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -488,21 +269,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -512,42 +282,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'MailAddressId' => [
- 'type' => 'string',
- ],
- 'MonthCount' => [
- 'type' => 'string',
- ],
- 'AccountStatus' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'ReplyStatus' => [
- 'type' => 'string',
- ],
- 'Sendtype' => [
- 'type' => 'string',
- ],
- 'MonthReqCount' => [
- 'type' => 'string',
- ],
- 'ReplyAddress' => [
- 'type' => 'string',
- ],
- 'DailyReqCount' => [
- 'type' => 'string',
- ],
- 'DailyCount' => [
- 'type' => 'string',
- ],
- 'DomainStatus' => [
- 'type' => 'string',
- ],
- 'AccountName' => [
- 'type' => 'string',
- ],
+ 'MailAddressId' => ['type' => 'string'],
+ 'MonthCount' => ['type' => 'string'],
+ 'AccountStatus' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'ReplyStatus' => ['type' => 'string'],
+ 'Sendtype' => ['type' => 'string'],
+ 'MonthReqCount' => ['type' => 'string'],
+ 'ReplyAddress' => ['type' => 'string'],
+ 'DailyReqCount' => ['type' => 'string'],
+ 'DailyCount' => ['type' => 'string'],
+ 'DomainStatus' => ['type' => 'string'],
+ 'AccountName' => ['type' => 'string'],
],
],
],
@@ -560,49 +306,30 @@
'responseDemo' => null,
],
'ModifyMailAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'MailAddressId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ReplyAddress',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Password',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -610,145 +337,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidMailAddressName.Duplicate',
- 'errorMessage' => 'The specified mailAddress accountName is already existed',
- ],
- [
- 'errorCode' => 'InvalidMailAddressName.Malformed',
- 'errorMessage' => 'The specified MailAddress accountName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressNumber.Malformed',
- 'errorMessage' => 'The amount of MailAddress exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressId.Malformed',
- 'errorMessage' => 'The specified MailAddressId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressReplyName.Malformed',
- 'errorMessage' => 'The specified mailAddress replyAddress is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressSendType.Malformed',
- 'errorMessage' => 'The specified mailAddress sendType is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressDomain.Malformed',
- 'errorMessage' => 'The specified mailAddress domain does not exist.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressDomainStatus.Malformed',
- 'errorMessage' => 'The mailAddress domain Status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressStatus.Malformed',
- 'errorMessage' => 'The specified mailAddress status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressTicket.Malformed',
- 'errorMessage' => 'The specified mailAddress ticket does not exist.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressPassword.Malformed',
- 'errorMessage' => 'The specified mailAddress password is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressPassword.equalcurrent',
- 'errorMessage' => 'The password can not equal current one.',
- ],
+ ['errorCode' => 'InvalidMailAddressName.Duplicate', 'errorMessage' => 'The specified mailAddress accountName is already existed'],
+ ['errorCode' => 'InvalidMailAddressName.Malformed', 'errorMessage' => 'The specified MailAddress accountName is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressNumber.Malformed', 'errorMessage' => 'The amount of MailAddress exceeds the limit.'],
+ ['errorCode' => 'InvalidMailAddressId.Malformed', 'errorMessage' => 'The specified MailAddressId does not exist.'],
+ ['errorCode' => 'InvalidMailAddressReplyName.Malformed', 'errorMessage' => 'The specified mailAddress replyAddress is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressSendType.Malformed', 'errorMessage' => 'The specified mailAddress sendType is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressDomain.Malformed', 'errorMessage' => 'The specified mailAddress domain does not exist.'],
+ ['errorCode' => 'InvalidMailAddressDomainStatus.Malformed', 'errorMessage' => 'The mailAddress domain Status is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressStatus.Malformed', 'errorMessage' => 'The specified mailAddress status is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressTicket.Malformed', 'errorMessage' => 'The specified mailAddress ticket does not exist.'],
+ ['errorCode' => 'InvalidMailAddressPassword.Malformed', 'errorMessage' => 'The specified mailAddress password is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressPassword.equalcurrent', 'errorMessage' => 'The password can not equal current one.'],
],
404 => [
- [
- 'errorCode' => 'InvalidMailAddress.NotFound',
- 'errorMessage' => 'The specified mailAddress does not found.',
- ],
+ ['errorCode' => 'InvalidMailAddress.NotFound', 'errorMessage' => 'The specified mailAddress does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'GetAccountList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Total',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Offset',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OffsetCreateTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OffsetCreateTimeDesc',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -756,21 +413,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNo' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Total' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageNo' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'Total' => ['type' => 'integer', 'format' => 'int32'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -780,15 +426,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'UpdateTime' => [
- 'type' => 'string',
- ],
- 'Region' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'string'],
+ 'UpdateTime' => ['type' => 'string'],
+ 'Region' => ['type' => 'string'],
],
],
],
@@ -800,203 +440,91 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidDate.Malformed',
- 'errorMessage' => 'The specified date is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'Start time should earlyer than end time.',
- ],
- [
- 'errorCode' => 'InvalidBetweenTime.Malformed',
- 'errorMessage' => 'More than seven days between start time and end time.',
- ],
- [
- 'errorCode' => 'InvalidYear.Malformed',
- 'errorMessage' => 'The specified year is invalid.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressName.Malformed',
- 'errorMessage' => 'The specified mailAddress accountName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddress.NotFound',
- 'errorMessage' => 'The specified mailAddress does not exist.',
- ],
+ ['errorCode' => 'InvalidDate.Malformed', 'errorMessage' => 'The specified date is wrongly formed.'],
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Start time should earlyer than end time.'],
+ ['errorCode' => 'InvalidBetweenTime.Malformed', 'errorMessage' => 'More than seven days between start time and end time.'],
+ ['errorCode' => 'InvalidYear.Malformed', 'errorMessage' => 'The specified year is invalid.'],
+ ['errorCode' => 'InvalidMailAddressName.Malformed', 'errorMessage' => 'The specified mailAddress accountName is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddress.NotFound', 'errorMessage' => 'The specified mailAddress does not exist.'],
],
404 => [
- [
- 'errorCode' => 'InvalidDate.NotFound',
- 'errorMessage' => 'The specified date does not found.',
- ],
+ ['errorCode' => 'InvalidDate.NotFound', 'errorMessage' => 'The specified date does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DescAccountSummary' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'EnableTimes' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SmsSign' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MonthQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Receivers' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DayuStatus' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DailyQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SmsRecord' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Tags' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Templates' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MailAddresses' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'QuotaLevel' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MaxQuotaLevel' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Domains' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'UserStatus' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SmsTemplates' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RemainFreeQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DailyRemainFreeQuota' => [
- 'type' => 'string',
- ],
+ 'EnableTimes' => ['type' => 'integer', 'format' => 'int32'],
+ 'SmsSign' => ['type' => 'integer', 'format' => 'int32'],
+ 'MonthQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'Receivers' => ['type' => 'integer', 'format' => 'int32'],
+ 'DayuStatus' => ['type' => 'integer', 'format' => 'int32'],
+ 'DailyQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'SmsRecord' => ['type' => 'integer', 'format' => 'int32'],
+ 'Tags' => ['type' => 'integer', 'format' => 'int32'],
+ 'Templates' => ['type' => 'integer', 'format' => 'int32'],
+ 'MailAddresses' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'QuotaLevel' => ['type' => 'integer', 'format' => 'int32'],
+ 'MaxQuotaLevel' => ['type' => 'integer', 'format' => 'int32'],
+ 'Domains' => ['type' => 'integer', 'format' => 'int32'],
+ 'UserStatus' => ['type' => 'integer', 'format' => 'int32'],
+ 'SmsTemplates' => ['type' => 'integer', 'format' => 'int32'],
+ 'RemainFreeQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'DailyRemainFreeQuota' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'User.Blacklisted',
- 'errorMessage' => 'The specified user is in the blacklist.',
- ],
- [
- 'errorCode' => 'User.RegisterTooMuch',
- 'errorMessage' => 'The specified user has registered more than one DirectMail account.',
- ],
+ ['errorCode' => 'User.Blacklisted', 'errorMessage' => 'The specified user is in the blacklist.'],
+ ['errorCode' => 'User.RegisterTooMuch', 'errorMessage' => 'The specified user has registered more than one DirectMail account.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'CreateTag' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'TagName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test'],
],
[
'name' => 'TagDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test description',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
],
'responses' => [
@@ -1004,78 +532,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TagId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'TagId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTagName.Malformed',
- 'errorMessage' => 'The specified tag name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTagName.Duplicate',
- 'errorMessage' => 'The specified tag name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidTagNumber.Malformed',
- 'errorMessage' => 'The amount of tag exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidTagId.Malformed',
- 'errorMessage' => 'The specified tagId does not exist.',
- ],
+ ['errorCode' => 'InvalidTagName.Malformed', 'errorMessage' => 'The specified tag name is wrongly formed.'],
+ ['errorCode' => 'InvalidTagName.Duplicate', 'errorMessage' => 'The specified tag name is already existed.'],
+ ['errorCode' => 'InvalidTagNumber.Malformed', 'errorMessage' => 'The amount of tag exceeds the limit.'],
+ ['errorCode' => 'InvalidTagId.Malformed', 'errorMessage' => 'The specified tagId does not exist.'],
],
404 => [
- [
- 'errorCode' => 'InvalidTag.NotFound',
- 'errorMessage' => 'The specified tag does not found.',
- ],
+ ['errorCode' => 'InvalidTag.NotFound', 'errorMessage' => 'The specified tag does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TagId\\": \\"\\",\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
],
'DeleteTag' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'TagId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -1083,98 +576,52 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTagName.Malformed',
- 'errorMessage' => 'The specified tag name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTagName.Duplicate',
- 'errorMessage' => 'The specified tag name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidTagNumber.Malformed',
- 'errorMessage' => 'The amount of tag exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidTagId.Malformed',
- 'errorMessage' => 'The specified tagId does not exist.',
- ],
+ ['errorCode' => 'InvalidTagName.Malformed', 'errorMessage' => 'The specified tag name is wrongly formed.'],
+ ['errorCode' => 'InvalidTagName.Duplicate', 'errorMessage' => 'The specified tag name is already existed.'],
+ ['errorCode' => 'InvalidTagNumber.Malformed', 'errorMessage' => 'The amount of tag exceeds the limit.'],
+ ['errorCode' => 'InvalidTagId.Malformed', 'errorMessage' => 'The specified tagId does not exist.'],
],
404 => [
- [
- 'errorCode' => 'InvalidTag.NotFound',
- 'errorMessage' => 'The specified tag does not found.',
- ],
+ ['errorCode' => 'InvalidTag.NotFound', 'errorMessage' => 'The specified tag does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'ModifyTag' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'TagId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '123',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '123'],
],
[
'name' => 'TagName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test'],
],
[
'name' => 'TagDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test description',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
],
'responses' => [
@@ -1182,56 +629,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTagName.Malformed',
- 'errorMessage' => 'The specified tag name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTagName.Duplicate',
- 'errorMessage' => 'The specified tag name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidTagNumber.Malformed',
- 'errorMessage' => 'The amount of tag exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidTagId.Malformed',
- 'errorMessage' => 'The specified tagId does not exist.',
- ],
+ ['errorCode' => 'InvalidTagName.Malformed', 'errorMessage' => 'The specified tag name is wrongly formed.'],
+ ['errorCode' => 'InvalidTagName.Duplicate', 'errorMessage' => 'The specified tag name is already existed.'],
+ ['errorCode' => 'InvalidTagNumber.Malformed', 'errorMessage' => 'The amount of tag exceeds the limit.'],
+ ['errorCode' => 'InvalidTagId.Malformed', 'errorMessage' => 'The specified tagId does not exist.'],
],
404 => [
- [
- 'errorCode' => 'InvalidTag.NotFound',
- 'errorMessage' => 'The specified tag does not found.',
- ],
+ ['errorCode' => 'InvalidTag.NotFound', 'errorMessage' => 'The specified tag does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
],
'QueryTagByParam' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1239,41 +660,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'default' => '500',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'default' => '500'],
],
[
'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1281,29 +683,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '10A1AD70-E48E-476D-98D9-39BD92193837',
- ],
- 'PageNumber' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'PageSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '10A1AD70-E48E-476D-98D9-39BD92193837'],
+ 'PageNumber' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -1314,21 +697,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'TagId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '52366',
- ],
- 'TagDescription' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test description',
- ],
+ 'TagName' => ['description' => '', 'type' => 'string', 'example' => 'test'],
+ 'TagId' => ['description' => '', 'type' => 'string', 'example' => '52366'],
+ 'TagDescription' => ['description' => '', 'type' => 'string', 'example' => 'test description'],
],
],
],
@@ -1341,49 +712,30 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"10A1AD70-E48E-476D-98D9-39BD92193837\\",\\n \\"PageNumber\\": 5,\\n \\"TotalCount\\": 2,\\n \\"data\\": {\\n \\"tag\\": [\\n {\\n \\"TagName\\": \\"test\\",\\n \\"TagId\\": \\"52366\\",\\n \\"TagDescription\\": \\"test description\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'CreateReceiver' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'ReceiversName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ReceiversAlias',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Desc',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1391,109 +743,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ReceiverId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'ReceiverId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidReceiverName.Duplicate',
- 'errorMessage' => 'The specified receiver name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverName.Malformed',
- 'errorMessage' => 'The specified receiver name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverNumber.Malformed',
- 'errorMessage' => 'The amount of receiver exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverId.Malformed',
- 'errorMessage' => 'The specified receiverId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidReceiverStatus.Malformed',
- 'errorMessage' => 'The specified receivers status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetailMax.Malformed',
- 'errorMessage' => 'The amount of receivers detail exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDesc.Malformed',
- 'errorMessage' => 'The specified receiversDesc is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Malformed',
- 'errorMessage' => 'The specified receivers detail is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Spam',
- 'errorMessage' => 'The specified receiver detail rejected by spam filter.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Malformed',
- 'errorMessage' => 'The specified receiversAlias is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Duplicate',
- 'errorMessage' => 'The specified receiversAlias is already existed.',
- ],
- [
- 'errorCode' => 'InvalidParameter',
- 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied',
- ],
+ ['errorCode' => 'InvalidReceiverName.Duplicate', 'errorMessage' => 'The specified receiver name is already existed.'],
+ ['errorCode' => 'InvalidReceiverName.Malformed', 'errorMessage' => 'The specified receiver name is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverNumber.Malformed', 'errorMessage' => 'The amount of receiver exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverId.Malformed', 'errorMessage' => 'The specified receiverId does not exist.'],
+ ['errorCode' => 'InvalidReceiverStatus.Malformed', 'errorMessage' => 'The specified receivers status is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetailMax.Malformed', 'errorMessage' => 'The amount of receivers detail exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverDesc.Malformed', 'errorMessage' => 'The specified receiversDesc is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Malformed', 'errorMessage' => 'The specified receivers detail is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Spam', 'errorMessage' => 'The specified receiver detail rejected by spam filter.'],
+ ['errorCode' => 'InvalidReceiverAlias.Malformed', 'errorMessage' => 'The specified receiversAlias is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverAlias.Duplicate', 'errorMessage' => 'The specified receiversAlias is already existed.'],
+ ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied'],
],
404 => [
- [
- 'errorCode' => 'InvalidReceiver.NotFound',
- 'errorMessage' => 'The specified receiver does not found.',
- ],
+ ['errorCode' => 'InvalidReceiver.NotFound', 'errorMessage' => 'The specified receiver does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DeleteReceiver' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'ReceiverId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -1501,114 +795,55 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidReceiverName.Duplicate',
- 'errorMessage' => 'The specified receiver name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverName.Malformed',
- 'errorMessage' => 'The specified receiver name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverNumber.Malformed',
- 'errorMessage' => 'The amount of receiver exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverId.Malformed',
- 'errorMessage' => 'The specified receiverId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidReceiverStatus.Malformed',
- 'errorMessage' => 'The specified receivers status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetailMax.Malformed',
- 'errorMessage' => 'The amount of receivers detail exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDesc.Malformed',
- 'errorMessage' => 'The specified receiversDesc is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Malformed',
- 'errorMessage' => 'The specified receivers detail is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Spam',
- 'errorMessage' => 'The specified receiver detail rejected by spam filter.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Malformed',
- 'errorMessage' => 'The specified receiversAlias is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Duplicate',
- 'errorMessage' => 'The specified receiversAlias is already existed.',
- ],
- [
- 'errorCode' => 'InvalidParameter',
- 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied',
- ],
+ ['errorCode' => 'InvalidReceiverName.Duplicate', 'errorMessage' => 'The specified receiver name is already existed.'],
+ ['errorCode' => 'InvalidReceiverName.Malformed', 'errorMessage' => 'The specified receiver name is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverNumber.Malformed', 'errorMessage' => 'The amount of receiver exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverId.Malformed', 'errorMessage' => 'The specified receiverId does not exist.'],
+ ['errorCode' => 'InvalidReceiverStatus.Malformed', 'errorMessage' => 'The specified receivers status is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetailMax.Malformed', 'errorMessage' => 'The amount of receivers detail exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverDesc.Malformed', 'errorMessage' => 'The specified receiversDesc is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Malformed', 'errorMessage' => 'The specified receivers detail is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Spam', 'errorMessage' => 'The specified receiver detail rejected by spam filter.'],
+ ['errorCode' => 'InvalidReceiverAlias.Malformed', 'errorMessage' => 'The specified receiversAlias is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverAlias.Duplicate', 'errorMessage' => 'The specified receiversAlias is already existed.'],
+ ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied'],
],
404 => [
- [
- 'errorCode' => 'InvalidReceiver.NotFound',
- 'errorMessage' => 'The specified receiver does not found.',
- ],
+ ['errorCode' => 'InvalidReceiver.NotFound', 'errorMessage' => 'The specified receiver does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DeleteReceiverDetail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'ReceiverId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Email',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1616,151 +851,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidReceiverName.Duplicate',
- 'errorMessage' => 'The specified receiver name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverName.Malformed',
- 'errorMessage' => 'The specified receiver name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverNumber.Malformed',
- 'errorMessage' => 'The amount of receiver exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverId.Malformed',
- 'errorMessage' => 'The specified receiverId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidReceiverStatus.Malformed',
- 'errorMessage' => 'The specified receivers status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetailMax.Malformed',
- 'errorMessage' => 'The amount of receivers detail exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDesc.Malformed',
- 'errorMessage' => 'The specified receiversDesc is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Malformed',
- 'errorMessage' => 'The specified receivers detail is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Spam',
- 'errorMessage' => 'The specified receiver detail rejected by spam filter.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Malformed',
- 'errorMessage' => 'The specified receiversAlias is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Duplicate',
- 'errorMessage' => 'The specified receiversAlias is already existed.',
- ],
- [
- 'errorCode' => 'InvalidStatus.Malformed',
- 'errorMessage' => 'The specified status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetatil.NotFound',
- 'errorMessage' => 'The specified receiver detail does not found.',
- ],
- [
- 'errorCode' => 'InvalidReceiverEmail.Malformed',
- 'errorMessage' => 'The specified receiver email is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidParameter',
- 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied',
- ],
+ ['errorCode' => 'InvalidReceiverName.Duplicate', 'errorMessage' => 'The specified receiver name is already existed.'],
+ ['errorCode' => 'InvalidReceiverName.Malformed', 'errorMessage' => 'The specified receiver name is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverNumber.Malformed', 'errorMessage' => 'The amount of receiver exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverId.Malformed', 'errorMessage' => 'The specified receiverId does not exist.'],
+ ['errorCode' => 'InvalidReceiverStatus.Malformed', 'errorMessage' => 'The specified receivers status is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetailMax.Malformed', 'errorMessage' => 'The amount of receivers detail exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverDesc.Malformed', 'errorMessage' => 'The specified receiversDesc is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Malformed', 'errorMessage' => 'The specified receivers detail is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Spam', 'errorMessage' => 'The specified receiver detail rejected by spam filter.'],
+ ['errorCode' => 'InvalidReceiverAlias.Malformed', 'errorMessage' => 'The specified receiversAlias is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverAlias.Duplicate', 'errorMessage' => 'The specified receiversAlias is already existed.'],
+ ['errorCode' => 'InvalidStatus.Malformed', 'errorMessage' => 'The specified status is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetatil.NotFound', 'errorMessage' => 'The specified receiver detail does not found.'],
+ ['errorCode' => 'InvalidReceiverEmail.Malformed', 'errorMessage' => 'The specified receiver email is wrongly formed.'],
+ ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied'],
],
404 => [
- [
- 'errorCode' => 'InvalidReceiver.NotFound',
- 'errorMessage' => 'The specified receiver does not found.',
- ],
+ ['errorCode' => 'InvalidReceiver.NotFound', 'errorMessage' => 'The specified receiver does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'QueryReceiverByParam' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '50',
- 'minimum' => '1',
- 'default' => '40',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '40'],
],
[
'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '0'],
],
],
'responses' => [
@@ -1768,20 +920,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextStart' => [
- 'type' => 'string',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'NextStart' => ['type' => 'string'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -1791,31 +933,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ReceiversAlias' => [
- 'type' => 'string',
- ],
- 'ReceiversName' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'ReceiverId' => [
- 'type' => 'string',
- ],
- 'UtcCreateTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReceiversStatus' => [
- 'type' => 'string',
- ],
- 'Count' => [
- 'type' => 'string',
- ],
- 'Desc' => [
- 'type' => 'string',
- ],
+ 'ReceiversAlias' => ['type' => 'string'],
+ 'ReceiversName' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'ReceiverId' => ['type' => 'string'],
+ 'UtcCreateTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'ReceiversStatus' => ['type' => 'string'],
+ 'Count' => ['type' => 'string'],
+ 'Desc' => ['type' => 'string'],
],
],
],
@@ -1827,129 +952,59 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidReceiverName.Duplicate',
- 'errorMessage' => 'The specified receiver name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverName.Malformed',
- 'errorMessage' => 'The specified receiver name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverNumber.Malformed',
- 'errorMessage' => 'The amount of receiver exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverId.Malformed',
- 'errorMessage' => 'The specified receiverId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidReceiverStatus.Malformed',
- 'errorMessage' => 'The specified receivers status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetailMax.Malformed',
- 'errorMessage' => 'The amount of receivers detail exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDesc.Malformed',
- 'errorMessage' => 'The specified receiversDesc is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Malformed',
- 'errorMessage' => 'The specified receivers detail is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Spam',
- 'errorMessage' => 'The specified receiver detail rejected by spam filter.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Malformed',
- 'errorMessage' => 'The specified receiversAlias is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Duplicate',
- 'errorMessage' => 'The specified receiversAlias is already existed.',
- ],
- [
- 'errorCode' => 'InvalidStatus.Malformed',
- 'errorMessage' => 'The specified status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidParameter',
- 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied',
- ],
+ ['errorCode' => 'InvalidReceiverName.Duplicate', 'errorMessage' => 'The specified receiver name is already existed.'],
+ ['errorCode' => 'InvalidReceiverName.Malformed', 'errorMessage' => 'The specified receiver name is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverNumber.Malformed', 'errorMessage' => 'The amount of receiver exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverId.Malformed', 'errorMessage' => 'The specified receiverId does not exist.'],
+ ['errorCode' => 'InvalidReceiverStatus.Malformed', 'errorMessage' => 'The specified receivers status is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetailMax.Malformed', 'errorMessage' => 'The amount of receivers detail exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverDesc.Malformed', 'errorMessage' => 'The specified receiversDesc is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Malformed', 'errorMessage' => 'The specified receivers detail is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Spam', 'errorMessage' => 'The specified receiver detail rejected by spam filter.'],
+ ['errorCode' => 'InvalidReceiverAlias.Malformed', 'errorMessage' => 'The specified receiversAlias is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverAlias.Duplicate', 'errorMessage' => 'The specified receiversAlias is already existed.'],
+ ['errorCode' => 'InvalidStatus.Malformed', 'errorMessage' => 'The specified status is wrongly formed.'],
+ ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied'],
],
404 => [
- [
- 'errorCode' => 'InvalidReceiver.NotFound',
- 'errorMessage' => 'The specified receiver does not found.',
- ],
+ ['errorCode' => 'InvalidReceiver.NotFound', 'errorMessage' => 'The specified receiver does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'QueryReceiverDetail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ReceiverId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '50',
- 'minimum' => '1',
- 'default' => '40',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '40'],
],
[
'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NextStart',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1957,19 +1012,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DataSchema' => [
- 'type' => 'string',
- ],
- 'NextStart' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'DataSchema' => ['type' => 'string'],
+ 'NextStart' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -1979,19 +1025,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Data' => [
- 'type' => 'string',
- ],
- 'UtcCreateTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Email' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
+ 'Data' => ['type' => 'string'],
+ 'UtcCreateTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'Email' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
],
],
],
@@ -2003,83 +1040,32 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidReceiverName.Duplicate',
- 'errorMessage' => 'The specified receiver name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverName.Malformed',
- 'errorMessage' => 'The specified receiver name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverNumber.Malformed',
- 'errorMessage' => 'The amount of receiver exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverId.Malformed',
- 'errorMessage' => 'The specified receiverId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidReceiverStatus.Malformed',
- 'errorMessage' => 'The specified receivers status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetailMax.Malformed',
- 'errorMessage' => 'The amount of receivers detail exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDesc.Malformed',
- 'errorMessage' => 'The specified receiversDesc is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Malformed',
- 'errorMessage' => 'The specified receivers detail is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Spam',
- 'errorMessage' => 'The specified receiver detail rejected by spam filter.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Malformed',
- 'errorMessage' => 'The specified receiversAlias is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Duplicate',
- 'errorMessage' => 'The specified receiversAlias is already existed.',
- ],
- [
- 'errorCode' => 'InvalidStatus.Malformed',
- 'errorMessage' => 'The specified status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidParameter',
- 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied',
- ],
+ ['errorCode' => 'InvalidReceiverName.Duplicate', 'errorMessage' => 'The specified receiver name is already existed.'],
+ ['errorCode' => 'InvalidReceiverName.Malformed', 'errorMessage' => 'The specified receiver name is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverNumber.Malformed', 'errorMessage' => 'The amount of receiver exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverId.Malformed', 'errorMessage' => 'The specified receiverId does not exist.'],
+ ['errorCode' => 'InvalidReceiverStatus.Malformed', 'errorMessage' => 'The specified receivers status is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetailMax.Malformed', 'errorMessage' => 'The amount of receivers detail exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverDesc.Malformed', 'errorMessage' => 'The specified receiversDesc is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Malformed', 'errorMessage' => 'The specified receivers detail is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Spam', 'errorMessage' => 'The specified receiver detail rejected by spam filter.'],
+ ['errorCode' => 'InvalidReceiverAlias.Malformed', 'errorMessage' => 'The specified receiversAlias is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverAlias.Duplicate', 'errorMessage' => 'The specified receiversAlias is already existed.'],
+ ['errorCode' => 'InvalidStatus.Malformed', 'errorMessage' => 'The specified status is wrongly formed.'],
+ ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied'],
],
404 => [
- [
- 'errorCode' => 'InvalidReceiver.NotFound',
- 'errorMessage' => 'The specified receiver does not found.',
- ],
+ ['errorCode' => 'InvalidReceiver.NotFound', 'errorMessage' => 'The specified receiver does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'SaveReceiverDetail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2091,20 +1077,12 @@
[
'name' => 'ReceiverId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Detail',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -2112,17 +1090,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ErrorCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'SuccessCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'ErrorCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'SuccessCount' => ['type' => 'integer', 'format' => 'int32'],
'Data' => [
'type' => 'object',
'itemNode' => true,
@@ -2132,9 +1102,7 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Email' => [
- 'type' => 'string',
- ],
+ 'Email' => ['type' => 'string'],
],
],
],
@@ -2146,170 +1114,83 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidReceiverName.Duplicate',
- 'errorMessage' => 'The specified receiver name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverName.Malformed',
- 'errorMessage' => 'The specified receiver name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverNumber.Malformed',
- 'errorMessage' => 'The amount of receiver exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverId.Malformed',
- 'errorMessage' => 'The specified receiverId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidReceiverStatus.Malformed',
- 'errorMessage' => 'The specified receivers status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetailMax.Malformed',
- 'errorMessage' => 'The amount of receivers detail exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDesc.Malformed',
- 'errorMessage' => 'The specified receiversDesc is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Malformed',
- 'errorMessage' => 'The specified receivers detail is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverDetail.Spam',
- 'errorMessage' => 'The specified receiver detail rejected by spam filter.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Malformed',
- 'errorMessage' => 'The specified receiversAlias is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverAlias.Duplicate',
- 'errorMessage' => 'The specified receiversAlias is already existed.',
- ],
- [
- 'errorCode' => 'InvalidParameter',
- 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied',
- ],
+ ['errorCode' => 'InvalidReceiverName.Duplicate', 'errorMessage' => 'The specified receiver name is already existed.'],
+ ['errorCode' => 'InvalidReceiverName.Malformed', 'errorMessage' => 'The specified receiver name is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverNumber.Malformed', 'errorMessage' => 'The amount of receiver exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverId.Malformed', 'errorMessage' => 'The specified receiverId does not exist.'],
+ ['errorCode' => 'InvalidReceiverStatus.Malformed', 'errorMessage' => 'The specified receivers status is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetailMax.Malformed', 'errorMessage' => 'The amount of receivers detail exceeds the limit.'],
+ ['errorCode' => 'InvalidReceiverDesc.Malformed', 'errorMessage' => 'The specified receiversDesc is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Malformed', 'errorMessage' => 'The specified receivers detail is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverDetail.Spam', 'errorMessage' => 'The specified receiver detail rejected by spam filter.'],
+ ['errorCode' => 'InvalidReceiverAlias.Malformed', 'errorMessage' => 'The specified receiversAlias is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverAlias.Duplicate', 'errorMessage' => 'The specified receiversAlias is already existed.'],
+ ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied'],
],
404 => [
- [
- 'errorCode' => 'InvalidReceiver.NotFound',
- 'errorMessage' => 'The specified receiver does not found.',
- ],
+ ['errorCode' => 'InvalidReceiver.NotFound', 'errorMessage' => 'The specified receiver does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'CreateTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'TemplateType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2',
- 'minimum' => '0',
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '0', 'default' => '0'],
],
[
'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'TemplateSubject',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TemplateNickName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TemplateText',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SmsType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SmsContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'FromType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2',
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '1', 'default' => '1'],
],
],
'responses' => [
@@ -2317,123 +1198,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TemplateId' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'TemplateId' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTemplateName.Duplicate',
- 'errorMessage' => 'The specified template name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateName.Malformed',
- 'errorMessage' => 'The specified template name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateNumber.Malformed',
- 'errorMessage' => 'The amount of template exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidTemplateId.Malformed',
- 'errorMessage' => 'TemplateId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidTemplateNickName.Malformed',
- 'errorMessage' => 'The specified template nickName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateSubject.Malformed',
- 'errorMessage' => 'The specified template subject is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateRemark.Malformed',
- 'errorMessage' => 'The specified template remark is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateSmsContent.Malformed',
- 'errorMessage' => 'The specified template smsContent is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateType.Malformed',
- 'errorMessage' => 'The specified template type is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateSmsType.Malformed',
- 'errorMessage' => 'The specified template smsType is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateStatus.Malformed',
- 'errorMessage' => 'The specified template status is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidTemplateName.Duplicate', 'errorMessage' => 'The specified template name is already existed.'],
+ ['errorCode' => 'InvalidTemplateName.Malformed', 'errorMessage' => 'The specified template name is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateNumber.Malformed', 'errorMessage' => 'The amount of template exceeds the limit.'],
+ ['errorCode' => 'InvalidTemplateId.Malformed', 'errorMessage' => 'TemplateId does not exist.'],
+ ['errorCode' => 'InvalidTemplateNickName.Malformed', 'errorMessage' => 'The specified template nickName is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateSubject.Malformed', 'errorMessage' => 'The specified template subject is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateRemark.Malformed', 'errorMessage' => 'The specified template remark is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateSmsContent.Malformed', 'errorMessage' => 'The specified template smsContent is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateType.Malformed', 'errorMessage' => 'The specified template type is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateSmsType.Malformed', 'errorMessage' => 'The specified template smsType is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateStatus.Malformed', 'errorMessage' => 'The specified template status is wrongly formed.'],
],
404 => [
- [
- 'errorCode' => 'InvalidTemplate.NotFound',
- 'errorMessage' => 'The specified template does not found.',
- ],
- [
- 'errorCode' => 'MissingTemplateText',
- 'errorMessage' => 'TemplateText is mandatory for this action.',
- ],
+ ['errorCode' => 'InvalidTemplate.NotFound', 'errorMessage' => 'The specified template does not found.'],
+ ['errorCode' => 'MissingTemplateText', 'errorMessage' => 'TemplateText is mandatory for this action.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DeleteTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
[
'name' => 'FromType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2',
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '1', 'default' => '1'],
],
],
'responses' => [
@@ -2441,73 +1255,35 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTemplateName.Duplicate',
- 'errorMessage' => 'The specified template name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateName.Malformed',
- 'errorMessage' => 'The specified template name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateNumber.Malformed',
- 'errorMessage' => 'The amount of template exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidTemplateId.Malformed',
- 'errorMessage' => 'TemplateId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidTemplateNickName.Malformed',
- 'errorMessage' => 'The specified template nickName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateSubject.Malformed',
- 'errorMessage' => 'The specified template subject is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateStatus.Malformed',
- 'errorMessage' => 'The specified template status is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidTemplateName.Duplicate', 'errorMessage' => 'The specified template name is already existed.'],
+ ['errorCode' => 'InvalidTemplateName.Malformed', 'errorMessage' => 'The specified template name is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateNumber.Malformed', 'errorMessage' => 'The amount of template exceeds the limit.'],
+ ['errorCode' => 'InvalidTemplateId.Malformed', 'errorMessage' => 'TemplateId does not exist.'],
+ ['errorCode' => 'InvalidTemplateNickName.Malformed', 'errorMessage' => 'The specified template nickName is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateSubject.Malformed', 'errorMessage' => 'The specified template subject is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateStatus.Malformed', 'errorMessage' => 'The specified template status is wrongly formed.'],
],
404 => [
- [
- 'errorCode' => 'InvalidDayuStatus.Malformed',
- 'errorMessage' => 'The specified dayu status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplate.NotFound',
- 'errorMessage' => 'The specified template does not found.',
- ],
+ ['errorCode' => 'InvalidDayuStatus.Malformed', 'errorMessage' => 'The specified dayu status is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplate.NotFound', 'errorMessage' => 'The specified template does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'ModifyTemplate' => [
'summary' => '修改模板信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2515,89 +1291,52 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
[
'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'TemplateSubject',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TemplateNickName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TemplateText',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SmsType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SmsContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'FromType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2',
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '1', 'default' => '1'],
],
],
'responses' => [
@@ -2605,9 +1344,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -2615,77 +1352,40 @@
'responseDemo' => null,
],
'QueryTemplateByParam' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '50',
- 'minimum' => '1',
- 'default' => '40',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '40'],
],
[
'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '4',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '4', 'minimum' => '0'],
],
[
'name' => 'FromType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2',
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '1', 'default' => '1'],
],
],
'responses' => [
@@ -2693,21 +1393,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -2717,41 +1406,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TemplateComment' => [
- 'type' => 'string',
- ],
- 'UtcCreatetime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Smsrejectinfo' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SmsTemplateCode' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'TemplateStatus' => [
- 'type' => 'string',
- ],
- 'TemplateType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TemplateName' => [
- 'type' => 'string',
- ],
- 'SmsStatus' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TemplateId' => [
- 'type' => 'string',
- ],
+ 'TemplateComment' => ['type' => 'string'],
+ 'UtcCreatetime' => ['type' => 'integer', 'format' => 'int64'],
+ 'Smsrejectinfo' => ['type' => 'integer', 'format' => 'int32'],
+ 'SmsTemplateCode' => ['type' => 'integer', 'format' => 'int32'],
+ 'CreateTime' => ['type' => 'string'],
+ 'TemplateStatus' => ['type' => 'string'],
+ 'TemplateType' => ['type' => 'integer', 'format' => 'int32'],
+ 'TemplateName' => ['type' => 'string'],
+ 'SmsStatus' => ['type' => 'integer', 'format' => 'int32'],
+ 'TemplateId' => ['type' => 'string'],
],
],
],
@@ -2763,98 +1427,45 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTemplateName.Duplicate',
- 'errorMessage' => 'The specified template name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateName.Malformed',
- 'errorMessage' => 'The specified template name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateNumber.Malformed',
- 'errorMessage' => 'The amount of template exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidTemplateId.Malformed',
- 'errorMessage' => 'TemplateId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidTemplateNickName.Malformed',
- 'errorMessage' => 'The specified template nickName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateSubject.Malformed',
- 'errorMessage' => 'The specified template subject is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateStatus.Malformed',
- 'errorMessage' => 'The specified template status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidKeyword.Malformed',
- 'errorMessage' => 'The specified keyword is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidTemplateName.Duplicate', 'errorMessage' => 'The specified template name is already existed.'],
+ ['errorCode' => 'InvalidTemplateName.Malformed', 'errorMessage' => 'The specified template name is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateNumber.Malformed', 'errorMessage' => 'The amount of template exceeds the limit.'],
+ ['errorCode' => 'InvalidTemplateId.Malformed', 'errorMessage' => 'TemplateId does not exist.'],
+ ['errorCode' => 'InvalidTemplateNickName.Malformed', 'errorMessage' => 'The specified template nickName is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateSubject.Malformed', 'errorMessage' => 'The specified template subject is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateStatus.Malformed', 'errorMessage' => 'The specified template status is wrongly formed.'],
+ ['errorCode' => 'InvalidKeyword.Malformed', 'errorMessage' => 'The specified keyword is wrongly formed.'],
],
404 => [
- [
- 'errorCode' => 'InvalidDayuStatus.Malformed',
- 'errorMessage' => 'The specified dayu status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplate.NotFound',
- 'errorMessage' => 'The specified template does not found.',
- ],
+ ['errorCode' => 'InvalidDayuStatus.Malformed', 'errorMessage' => 'The specified dayu status is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplate.NotFound', 'errorMessage' => 'The specified template does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DescTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
[
'name' => 'FromType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2',
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '1', 'default' => '1'],
],
],
'responses' => [
@@ -2862,120 +1473,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SmsContent' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Remark' => [
- 'type' => 'string',
- ],
- 'SmsType' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'TemplateSubject' => [
- 'type' => 'string',
- ],
- 'TemplateStatus' => [
- 'type' => 'string',
- ],
- 'TemplateNickName' => [
- 'type' => 'string',
- ],
- 'TemplateType' => [
- 'type' => 'string',
- ],
- 'TemplateName' => [
- 'type' => 'string',
- ],
- 'TemplateText' => [
- 'type' => 'string',
- ],
+ 'SmsContent' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Remark' => ['type' => 'string'],
+ 'SmsType' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'TemplateSubject' => ['type' => 'string'],
+ 'TemplateStatus' => ['type' => 'string'],
+ 'TemplateNickName' => ['type' => 'string'],
+ 'TemplateType' => ['type' => 'string'],
+ 'TemplateName' => ['type' => 'string'],
+ 'TemplateText' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTemplateName.Duplicate',
- 'errorMessage' => 'The specified template name is already existed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateName.Malformed',
- 'errorMessage' => 'The specified template name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateNumber.Malformed',
- 'errorMessage' => 'The amount of template exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidTemplateId.Malformed',
- 'errorMessage' => 'TemplateId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidTemplateNickName.Malformed',
- 'errorMessage' => 'The specified template nickName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateSubject.Malformed',
- 'errorMessage' => 'The specified template subject is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateStatus.Malformed',
- 'errorMessage' => 'The specified template status is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidTemplateName.Duplicate', 'errorMessage' => 'The specified template name is already existed.'],
+ ['errorCode' => 'InvalidTemplateName.Malformed', 'errorMessage' => 'The specified template name is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateNumber.Malformed', 'errorMessage' => 'The amount of template exceeds the limit.'],
+ ['errorCode' => 'InvalidTemplateId.Malformed', 'errorMessage' => 'TemplateId does not exist.'],
+ ['errorCode' => 'InvalidTemplateNickName.Malformed', 'errorMessage' => 'The specified template nickName is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateSubject.Malformed', 'errorMessage' => 'The specified template subject is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateStatus.Malformed', 'errorMessage' => 'The specified template status is wrongly formed.'],
],
404 => [
- [
- 'errorCode' => 'InvalidDayuStatus.Malformed',
- 'errorMessage' => 'The specified dayu status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplate.NotFound',
- 'errorMessage' => 'The specified template does not found.',
- ],
+ ['errorCode' => 'InvalidDayuStatus.Malformed', 'errorMessage' => 'The specified dayu status is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplate.NotFound', 'errorMessage' => 'The specified template does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'CreateDomain' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -2983,86 +1530,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DomainId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'DomainId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidDomainName.Duplicate',
- 'errorMessage' => 'The specified domain name is already existed',
- ],
- [
- 'errorCode' => 'InvalidDomainName.DuplicateTLD',
- 'errorMessage' => 'The specified domain of top-level domain name already exists.',
- ],
- [
- 'errorCode' => 'InvalidDomainName.TimeOut',
- 'errorMessage' => 'The current response timeout, please try again later.',
- ],
- [
- 'errorCode' => 'InvalidDomainName.Malformed',
- 'errorMessage' => 'The specified domain name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidDomainNumber.Malformed',
- 'errorMessage' => 'The amount of domain exceeds the limit.',
- ],
- [
- 'errorCode' => 'InvalidDomainName.Conflict',
- 'errorMessage' => 'The specified domain name is already used by other user',
- ],
+ ['errorCode' => 'InvalidDomainName.Duplicate', 'errorMessage' => 'The specified domain name is already existed'],
+ ['errorCode' => 'InvalidDomainName.DuplicateTLD', 'errorMessage' => 'The specified domain of top-level domain name already exists.'],
+ ['errorCode' => 'InvalidDomainName.TimeOut', 'errorMessage' => 'The current response timeout, please try again later.'],
+ ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified domain name is wrongly formed.'],
+ ['errorCode' => 'InvalidDomainNumber.Malformed', 'errorMessage' => 'The amount of domain exceeds the limit.'],
+ ['errorCode' => 'InvalidDomainName.Conflict', 'errorMessage' => 'The specified domain name is already used by other user'],
],
404 => [
- [
- 'errorCode' => 'InvalidDomain.NotFound',
- 'errorMessage' => 'The specified domain does not found.',
- ],
+ ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The specified domain does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DeleteDomain' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'DomainId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -3070,99 +1576,55 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidDomainId.Malformed',
- 'errorMessage' => 'The specified domainId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidDomain.Using',
- 'errorMessage' => 'The specified domain has been used to create mailAddress.',
- ],
+ ['errorCode' => 'InvalidDomainId.Malformed', 'errorMessage' => 'The specified domainId does not exist.'],
+ ['errorCode' => 'InvalidDomain.Using', 'errorMessage' => 'The specified domain has been used to create mailAddress.'],
],
404 => [
- [
- 'errorCode' => 'InvalidDomain.NotFound',
- 'errorMessage' => 'The specified domain does not found.',
- ],
+ ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The specified domain does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'QueryDomainByParam' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'default' => '20',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'default' => '20'],
],
[
'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '0'],
],
],
'responses' => [
@@ -3170,21 +1632,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -3194,40 +1645,17 @@
'items' => [
'type' => 'object',
'properties' => [
- 'DomainRecord' => [
- 'type' => 'string',
- ],
- 'SpfAuthStatus' => [
- 'type' => 'string',
- ],
- 'MxAuthStatus' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'CnameAuthStatus' => [
- 'type' => 'string',
- ],
- 'ConfirmStatus' => [
- 'type' => 'string',
- ],
- 'IcpStatus' => [
- 'type' => 'string',
- ],
- 'UtcCreateTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DomainStatus' => [
- 'type' => 'string',
- ],
- 'DomainName' => [
- 'type' => 'string',
- ],
- 'DomainId' => [
- 'type' => 'string',
- ],
+ 'DomainRecord' => ['type' => 'string'],
+ 'SpfAuthStatus' => ['type' => 'string'],
+ 'MxAuthStatus' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'CnameAuthStatus' => ['type' => 'string'],
+ 'ConfirmStatus' => ['type' => 'string'],
+ 'IcpStatus' => ['type' => 'string'],
+ 'UtcCreateTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'DomainStatus' => ['type' => 'string'],
+ 'DomainName' => ['type' => 'string'],
+ 'DomainId' => ['type' => 'string'],
],
],
],
@@ -3239,44 +1667,23 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidKeyword.Malformed',
- 'errorMessage' => 'The specified keyword is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidStatus.Malformed',
- 'errorMessage' => 'The specified status is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidKeyword.Malformed', 'errorMessage' => 'The specified keyword is wrongly formed.'],
+ ['errorCode' => 'InvalidStatus.Malformed', 'errorMessage' => 'The specified status is wrongly formed.'],
],
403 => [
- [
- 'errorCode' => 'User.Blacklisted',
- 'errorMessage' => 'The specified user is in the blacklist.',
- ],
- [
- 'errorCode' => 'User.RegisterTooMuch',
- 'errorMessage' => 'The specified user has registered more than one DirectMail account.',
- ],
+ ['errorCode' => 'User.Blacklisted', 'errorMessage' => 'The specified user is in the blacklist.'],
+ ['errorCode' => 'User.RegisterTooMuch', 'errorMessage' => 'The specified user has registered more than one DirectMail account.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'CheckDomain' => [
'summary' => '校验域名状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3284,19 +1691,12 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'DomainId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -3304,12 +1704,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DomainStatus' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'DomainStatus' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -3317,41 +1713,25 @@
'responseDemo' => null,
],
'DescDomain' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'DomainId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
[
'name' => 'RequireRealTimeDnsRecords',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'default' => 'true',
- ],
+ 'schema' => ['type' => 'boolean', 'default' => 'true'],
],
],
'responses' => [
@@ -3359,138 +1739,58 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SpfRecord' => [
- 'type' => 'string',
- ],
- 'CnameConfirmStatus' => [
- 'type' => 'string',
- ],
- 'DefaultDomain' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'CnameRecord' => [
- 'type' => 'string',
- ],
- 'CnameAuthStatus' => [
- 'type' => 'string',
- ],
- 'IcpStatus' => [
- 'type' => 'string',
- ],
- 'DnsTxt' => [
- 'type' => 'string',
- ],
- 'DomainName' => [
- 'type' => 'string',
- ],
- 'DomainId' => [
- 'type' => 'string',
- ],
- 'DnsSpf' => [
- 'type' => 'string',
- ],
- 'SpfAuthStatus' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'MxRecord' => [
- 'type' => 'string',
- ],
- 'MxAuthStatus' => [
- 'type' => 'string',
- ],
- 'DnsMx' => [
- 'type' => 'string',
- ],
- 'DomainStatus' => [
- 'type' => 'string',
- ],
- 'TlDomainName' => [
- 'type' => 'string',
- ],
- 'TracefRecord' => [
- 'type' => 'string',
- ],
- 'DomainType' => [
- 'type' => 'string',
- ],
- 'SpfRecordV2' => [
- 'type' => 'string',
- ],
- 'DkimRR' => [
- 'type' => 'string',
- ],
- 'DkimPublicKey' => [
- 'type' => 'string',
- ],
- 'DkimAuthStatus' => [
- 'type' => 'string',
- ],
- 'HostRecord' => [
- 'type' => 'string',
- ],
- 'DnsDmarc' => [
- 'type' => 'string',
- ],
- 'DmarcRecord' => [
- 'type' => 'string',
- ],
- 'DmarcAuthStatus' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DmarcHostRecord' => [
- 'type' => 'string',
- ],
+ 'SpfRecord' => ['type' => 'string'],
+ 'CnameConfirmStatus' => ['type' => 'string'],
+ 'DefaultDomain' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'CnameRecord' => ['type' => 'string'],
+ 'CnameAuthStatus' => ['type' => 'string'],
+ 'IcpStatus' => ['type' => 'string'],
+ 'DnsTxt' => ['type' => 'string'],
+ 'DomainName' => ['type' => 'string'],
+ 'DomainId' => ['type' => 'string'],
+ 'DnsSpf' => ['type' => 'string'],
+ 'SpfAuthStatus' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'MxRecord' => ['type' => 'string'],
+ 'MxAuthStatus' => ['type' => 'string'],
+ 'DnsMx' => ['type' => 'string'],
+ 'DomainStatus' => ['type' => 'string'],
+ 'TlDomainName' => ['type' => 'string'],
+ 'TracefRecord' => ['type' => 'string'],
+ 'DomainType' => ['type' => 'string'],
+ 'SpfRecordV2' => ['type' => 'string'],
+ 'DkimRR' => ['type' => 'string'],
+ 'DkimPublicKey' => ['type' => 'string'],
+ 'DkimAuthStatus' => ['type' => 'string'],
+ 'HostRecord' => ['type' => 'string'],
+ 'DnsDmarc' => ['type' => 'string'],
+ 'DmarcRecord' => ['type' => 'string'],
+ 'DmarcAuthStatus' => ['type' => 'integer', 'format' => 'int32'],
+ 'DmarcHostRecord' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidDomainId.Malformed',
- 'errorMessage' => 'The specified domainId does not exist.',
- ],
- [
- 'errorCode' => 'InvalidDomain.Using',
- 'errorMessage' => 'The specified domain has been used to create mailAddress.',
- ],
+ ['errorCode' => 'InvalidDomainId.Malformed', 'errorMessage' => 'The specified domainId does not exist.'],
+ ['errorCode' => 'InvalidDomain.Using', 'errorMessage' => 'The specified domain has been used to create mailAddress.'],
],
404 => [
- [
- 'errorCode' => 'InvalidDomain.NotFound',
- 'errorMessage' => 'The specified domain does not found.',
- ],
- [
- 'errorCode' => 'InvalidDomainId.NotFound',
- 'errorMessage' => 'The specified domainId is not found.',
- ],
+ ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The specified domain does not found.'],
+ ['errorCode' => 'InvalidDomainId.NotFound', 'errorMessage' => 'The specified domainId is not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'GetTrackList' => [
'summary' => '获取打开、点击等跟踪行为的统计结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3498,144 +1798,69 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => '2022-09-29',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => '2022-09-29', 'required' => true, 'type' => 'string'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'docRequired' => true,
- 'example' => '2022-09-29',
- 'required' => true,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'docRequired' => true, 'example' => '2022-09-29', 'required' => true, 'type' => 'string'],
],
[
'name' => 'Total',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'Offset',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '10',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '10', 'required' => false, 'type' => 'string'],
],
[
'name' => 'OffsetCreateTime',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'OffsetCreateTimeDesc',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '', 'required' => false, 'type' => 'string'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'example' => '1',
- 'required' => false,
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '', 'example' => '1', 'required' => false, 'type' => 'string'],
],
[
'name' => 'TagName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'AccountName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'example' => '10A1AD70-E48E-476D-98D9-39BD92193837',
- 'type' => 'string',
- ],
- 'OffsetCreateTime' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
- 'PageNo' => [
- 'description' => '',
- 'example' => '1',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'PageSize' => [
- 'description' => '',
- 'example' => '10',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'Total' => [
- 'description' => '',
- 'example' => '100',
- 'format' => 'int32',
- 'type' => 'integer',
- ],
- 'OffsetCreateTimeDesc' => [
- 'description' => '',
- 'example' => '',
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '', 'example' => '10A1AD70-E48E-476D-98D9-39BD92193837', 'type' => 'string'],
+ 'OffsetCreateTime' => ['description' => '', 'example' => '', 'type' => 'string'],
+ 'PageNo' => ['description' => '', 'example' => '1', 'format' => 'int32', 'type' => 'integer'],
+ 'PageSize' => ['description' => '', 'example' => '10', 'format' => 'int32', 'type' => 'integer'],
+ 'Total' => ['description' => '', 'example' => '100', 'format' => 'int32', 'type' => 'integer'],
+ 'OffsetCreateTimeDesc' => ['description' => '', 'example' => '', 'type' => 'string'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -3645,62 +1870,16 @@
'type' => 'array',
'items' => [
'properties' => [
- 'RcptClickRate' => [
- 'description' => '',
- 'example' => '0',
- 'type' => 'string',
- ],
- 'RcptUniqueOpenCount' => [
- 'description' => '',
- 'example' => '0',
- 'format' => 'int64',
- 'type' => 'integer',
- ],
- 'RcptClickCount' => [
- 'description' => '',
- 'example' => '0',
- 'format' => 'int64',
- 'type' => 'integer',
- ],
- 'RcptUniqueClickCount' => [
- 'description' => '',
- 'example' => '0',
- 'format' => 'int64',
- 'type' => 'integer',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'example' => '2019-09-29T13:28Z',
- 'format' => 'int64',
- 'type' => 'integer',
- ],
- 'RcptUniqueOpenRate' => [
- 'description' => '',
- 'example' => '0',
- 'type' => 'string',
- ],
- 'RcptUniqueClickRate' => [
- 'description' => '',
- 'example' => '0',
- 'type' => 'string',
- ],
- 'TotalNumber' => [
- 'description' => '',
- 'example' => '0',
- 'format' => 'int64',
- 'type' => 'integer',
- ],
- 'RcptOpenRate' => [
- 'description' => '',
- 'example' => '0',
- 'type' => 'string',
- ],
- 'RcptOpenCount' => [
- 'description' => '',
- 'example' => '0',
- 'format' => 'int64',
- 'type' => 'integer',
- ],
+ 'RcptClickRate' => ['description' => '', 'example' => '0', 'type' => 'string'],
+ 'RcptUniqueOpenCount' => ['description' => '', 'example' => '0', 'format' => 'int64', 'type' => 'integer'],
+ 'RcptClickCount' => ['description' => '', 'example' => '0', 'format' => 'int64', 'type' => 'integer'],
+ 'RcptUniqueClickCount' => ['description' => '', 'example' => '0', 'format' => 'int64', 'type' => 'integer'],
+ 'CreateTime' => ['description' => '', 'example' => '2019-09-29T13:28Z', 'format' => 'int64', 'type' => 'integer'],
+ 'RcptUniqueOpenRate' => ['description' => '', 'example' => '0', 'type' => 'string'],
+ 'RcptUniqueClickRate' => ['description' => '', 'example' => '0', 'type' => 'string'],
+ 'TotalNumber' => ['description' => '', 'example' => '0', 'format' => 'int64', 'type' => 'integer'],
+ 'RcptOpenRate' => ['description' => '', 'example' => '0', 'type' => 'string'],
+ 'RcptOpenCount' => ['description' => '', 'example' => '0', 'format' => 'int64', 'type' => 'integer'],
],
'type' => 'object',
],
@@ -3715,65 +1894,35 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"10A1AD70-E48E-476D-98D9-39BD92193837\\",\\n \\"OffsetCreateTime\\": \\"(本字段已废弃)\\",\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"OffsetCreateTimeDesc\\": \\"(本字段已废弃)\\",\\n \\"data\\": {\\n \\"stat\\": [\\n {\\n \\"RcptClickRate\\": \\"0\\",\\n \\"RcptUniqueOpenCount\\": 0,\\n \\"RcptClickCount\\": 0,\\n \\"RcptUniqueClickCount\\": 0,\\n \\"CreateTime\\": 0,\\n \\"RcptUniqueOpenRate\\": \\"0\\",\\n \\"RcptUniqueClickRate\\": \\"0\\",\\n \\"TotalNumber\\": 0,\\n \\"RcptOpenRate\\": \\"0\\",\\n \\"RcptOpenCount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'QueryTaskByParam' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '50',
- 'minimum' => '1',
- 'default' => '10',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '10'],
],
[
'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2', 'minimum' => '0'],
],
],
'responses' => [
@@ -3781,21 +1930,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -3805,34 +1943,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ReceiversName' => [
- 'type' => 'string',
- ],
- 'TagName' => [
- 'type' => 'string',
- ],
- 'TaskStatus' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'RequestCount' => [
- 'type' => 'string',
- ],
- 'AddressType' => [
- 'type' => 'string',
- ],
- 'UtcCreateTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TemplateName' => [
- 'type' => 'string',
- ],
- 'TaskId' => [
- 'type' => 'string',
- ],
+ 'ReceiversName' => ['type' => 'string'],
+ 'TagName' => ['type' => 'string'],
+ 'TaskStatus' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'RequestCount' => ['type' => 'string'],
+ 'AddressType' => ['type' => 'string'],
+ 'UtcCreateTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'TemplateName' => ['type' => 'string'],
+ 'TaskId' => ['type' => 'string'],
],
],
],
@@ -3844,33 +1963,18 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidKeyword.Malformed',
- 'errorMessage' => 'The specified keyword is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidStatus.Malformed',
- 'errorMessage' => 'The specified status is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidKeyword.Malformed', 'errorMessage' => 'The specified keyword is wrongly formed.'],
+ ['errorCode' => 'InvalidStatus.Malformed', 'errorMessage' => 'The specified status is wrongly formed.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'BatchSendMail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3882,87 +1986,52 @@
[
'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'AccountName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ReceiversName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'AddressType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '1',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1', 'minimum' => '0'],
],
[
'name' => 'TagName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ReplyAddress',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ReplyAddressAlias',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ClickTrace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'UnSubscribeLinkType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'UnSubscribeFilterLevel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -3970,136 +2039,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'EnvId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'EnvId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidMailAddressName.Malformed',
- 'errorMessage' => 'The specified MailAddress name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverName.Malformed',
- 'errorMessage' => 'The specified receiver name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateName.Malformed',
- 'errorMessage' => 'The specified template name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidSendMail.Spam',
- 'errorMessage' => 'Sendmail rejected by spam filter.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressSendType.Malformed',
- 'errorMessage' => 'The specified mailAddress sendType is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressStatus.Malformed',
- 'errorMessage' => 'The specified mailAddress status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressDomain.Malformed',
- 'errorMessage' => 'The specified mailAddress domain does not exist.',
- ],
- [
- 'errorCode' => 'InvalidTemplateStatus.Malformed',
- 'errorMessage' => 'The specified template status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverStatus.Malformed',
- 'errorMessage' => 'The specified receivers status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReplyAddressAlias.Malformed',
- 'errorMessage' => 'The specified replyAddressAlias is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReplyAddress.Malformed',
- 'errorMessage' => 'The specified replyAddress is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidMailAddressName.Malformed', 'errorMessage' => 'The specified MailAddress name is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverName.Malformed', 'errorMessage' => 'The specified receiver name is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateName.Malformed', 'errorMessage' => 'The specified template name is wrongly formed.'],
+ ['errorCode' => 'InvalidSendMail.Spam', 'errorMessage' => 'Sendmail rejected by spam filter.'],
+ ['errorCode' => 'InvalidMailAddressSendType.Malformed', 'errorMessage' => 'The specified mailAddress sendType is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressStatus.Malformed', 'errorMessage' => 'The specified mailAddress status is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressDomain.Malformed', 'errorMessage' => 'The specified mailAddress domain does not exist.'],
+ ['errorCode' => 'InvalidTemplateStatus.Malformed', 'errorMessage' => 'The specified template status is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverStatus.Malformed', 'errorMessage' => 'The specified receivers status is wrongly formed.'],
+ ['errorCode' => 'InvalidReplyAddressAlias.Malformed', 'errorMessage' => 'The specified replyAddressAlias is wrongly formed.'],
+ ['errorCode' => 'InvalidReplyAddress.Malformed', 'errorMessage' => 'The specified replyAddress is wrongly formed.'],
],
404 => [
- [
- 'errorCode' => 'InvalidMailAddress.NotFound',
- 'errorMessage' => 'The specified mailAddress does not exist.',
- ],
- [
- 'errorCode' => 'InvalidTemplate.NotFound',
- 'errorMessage' => 'The specified template does not exist.',
- ],
- [
- 'errorCode' => 'InvalidReceiver.NotFound',
- 'errorMessage' => 'The specified receiver does not exist.',
- ],
- [
- 'errorCode' => 'InvalidIP.NotFound',
- 'errorMessage' => 'Invalid IP',
- ],
+ ['errorCode' => 'InvalidMailAddress.NotFound', 'errorMessage' => 'The specified mailAddress does not exist.'],
+ ['errorCode' => 'InvalidTemplate.NotFound', 'errorMessage' => 'The specified template does not exist.'],
+ ['errorCode' => 'InvalidReceiver.NotFound', 'errorMessage' => 'The specified receiver does not exist.'],
+ ['errorCode' => 'InvalidIP.NotFound', 'errorMessage' => 'Invalid IP'],
],
],
'responseDemo' => null,
],
'SenderStatisticsByTagNameAndBatchID' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'AccountName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'TagName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -4107,13 +2105,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -4123,27 +2116,13 @@
'items' => [
'type' => 'object',
'properties' => [
- 'unavailablePercent' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'succeededPercent' => [
- 'type' => 'string',
- ],
- 'faildCount' => [
- 'type' => 'string',
- ],
- 'unavailableCount' => [
- 'type' => 'string',
- ],
- 'successCount' => [
- 'type' => 'string',
- ],
- 'requestCount' => [
- 'type' => 'string',
- ],
+ 'unavailablePercent' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'succeededPercent' => ['type' => 'string'],
+ 'faildCount' => ['type' => 'string'],
+ 'unavailableCount' => ['type' => 'string'],
+ 'successCount' => ['type' => 'string'],
+ 'requestCount' => ['type' => 'string'],
],
],
],
@@ -4155,135 +2134,72 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidDate.Malformed',
- 'errorMessage' => 'The specified date is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'Start time should earlyer than end time.',
- ],
- [
- 'errorCode' => 'InvalidBetweenTime.Malformed',
- 'errorMessage' => 'More than seven days between start time and end time.',
- ],
- [
- 'errorCode' => 'InvalidYear.Malformed',
- 'errorMessage' => 'The specified year is invalid.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressName.Malformed',
- 'errorMessage' => 'The specified mailAddress accountName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddress.NotFound',
- 'errorMessage' => 'The specified mailAddress does not exist.',
- ],
+ ['errorCode' => 'InvalidDate.Malformed', 'errorMessage' => 'The specified date is wrongly formed.'],
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Start time should earlyer than end time.'],
+ ['errorCode' => 'InvalidBetweenTime.Malformed', 'errorMessage' => 'More than seven days between start time and end time.'],
+ ['errorCode' => 'InvalidYear.Malformed', 'errorMessage' => 'The specified year is invalid.'],
+ ['errorCode' => 'InvalidMailAddressName.Malformed', 'errorMessage' => 'The specified mailAddress accountName is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddress.NotFound', 'errorMessage' => 'The specified mailAddress does not exist.'],
],
404 => [
- [
- 'errorCode' => 'InvalidDate.NotFound',
- 'errorMessage' => 'The specified date does not found.',
- ],
+ ['errorCode' => 'InvalidDate.NotFound', 'errorMessage' => 'The specified date does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'SenderStatisticsDetailByParam' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'AccountName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ToAddress',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '4',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '4', 'minimum' => '0'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TagName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'default' => '10',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10'],
],
[
'name' => 'NextStart',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -4291,13 +2207,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextStart' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'NextStart' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
'data' => [
'type' => 'object',
'itemNode' => true,
@@ -4307,31 +2218,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'LastUpdateTime' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'ToAddress' => [
- 'type' => 'string',
- ],
- 'UtcLastUpdateTime' => [
- 'type' => 'string',
- ],
- 'AccountName' => [
- 'type' => 'string',
- ],
- 'Subject' => [
- 'type' => 'string',
- ],
- 'ErrorClassification' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'integer', 'format' => 'int32'],
+ 'LastUpdateTime' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'ToAddress' => ['type' => 'string'],
+ 'UtcLastUpdateTime' => ['type' => 'string'],
+ 'AccountName' => ['type' => 'string'],
+ 'Subject' => ['type' => 'string'],
+ 'ErrorClassification' => ['type' => 'string'],
],
],
],
@@ -4343,71 +2237,29 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidDate.Malformed',
- 'errorMessage' => 'The specified date is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'Start time should earlyer than end time.',
- ],
- [
- 'errorCode' => 'InvalidBetweenTime.Malformed',
- 'errorMessage' => 'More than seven days between start time and end time.',
- ],
- [
- 'errorCode' => 'InvalidYear.Malformed',
- 'errorMessage' => 'The specified year is invalid.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressName.Malformed',
- 'errorMessage' => 'The specified mailAddress accountName is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddress.NotFound',
- 'errorMessage' => 'The specified mailAddress does not exist.',
- ],
- [
- 'errorCode' => 'InvalidKeyword.Malformed',
- 'errorMessage' => 'The specified keyword is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTagName.Malformed',
- 'errorMessage' => 'The specified tag name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidParameter',
- 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied',
- ],
- [
- 'errorCode' => 'InvalidToAddress',
- 'errorMessage' => 'The specified toAddress is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidDate.Malformed', 'errorMessage' => 'The specified date is wrongly formed.'],
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Start time should earlyer than end time.'],
+ ['errorCode' => 'InvalidBetweenTime.Malformed', 'errorMessage' => 'More than seven days between start time and end time.'],
+ ['errorCode' => 'InvalidYear.Malformed', 'errorMessage' => 'The specified year is invalid.'],
+ ['errorCode' => 'InvalidMailAddressName.Malformed', 'errorMessage' => 'The specified mailAddress accountName is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddress.NotFound', 'errorMessage' => 'The specified mailAddress does not exist.'],
+ ['errorCode' => 'InvalidKeyword.Malformed', 'errorMessage' => 'The specified keyword is wrongly formed.'],
+ ['errorCode' => 'InvalidTagName.Malformed', 'errorMessage' => 'The specified tag name is wrongly formed.'],
+ ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The input parameter is mandatory for processing this request is not supplied'],
+ ['errorCode' => 'InvalidToAddress', 'errorMessage' => 'The specified toAddress is wrongly formed.'],
],
404 => [
- [
- 'errorCode' => 'InvalidDate.NotFound',
- 'errorMessage' => 'The specified date does not found.',
- ],
+ ['errorCode' => 'InvalidDate.NotFound', 'errorMessage' => 'The specified date does not found.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'SingleSendMail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4419,120 +2271,72 @@
[
'name' => 'AccountName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'AddressType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '1',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1', 'minimum' => '0'],
],
[
'name' => 'TagName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ReplyToAddress',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ToAddress',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Subject',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'HtmlBody',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TextBody',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'FromAlias',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ReplyAddress',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ReplyAddressAlias',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ClickTrace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'UnSubscribeLinkType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'UnSubscribeFilterLevel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -4540,106 +2344,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'EnvId' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'EnvId' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidMailAddressName.Malformed',
- 'errorMessage' => 'The specified mailAddress name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReceiverName.Malformed',
- 'errorMessage' => 'The specified receiver name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidTemplateName.Malformed',
- 'errorMessage' => 'The specified template name is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidToAddress',
- 'errorMessage' => 'The specified toAddress is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidToAddress.Spam',
- 'errorMessage' => 'Sendmail rejected by invalid address.',
- ],
- [
- 'errorCode' => 'InvalidBody',
- 'errorMessage' => 'The specified textBody or htmlBody is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidSendMail.Spam',
- 'errorMessage' => 'Sendmail rejected by spam filter.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressSendType.Malformed',
- 'errorMessage' => 'The specified mailAddress sendType is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressStatus.Malformed',
- 'errorMessage' => 'The specified mailAddress status is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidMailAddressDomain.Malformed',
- 'errorMessage' => 'The specified mailAddress domain does not exist.',
- ],
- [
- 'errorCode' => 'InvalidSubject.Malformed',
- 'errorMessage' => 'The specified subject is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidFromAlias.Malformed',
- 'errorMessage' => 'The specified fromAlias is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReplyAddressAlias.Malformed',
- 'errorMessage' => 'The specified replyAddressAlias is wrongly formed.',
- ],
- [
- 'errorCode' => 'InvalidReplyAddress.Malformed',
- 'errorMessage' => 'The specified replyAddress is wrongly formed.',
- ],
+ ['errorCode' => 'InvalidMailAddressName.Malformed', 'errorMessage' => 'The specified mailAddress name is wrongly formed.'],
+ ['errorCode' => 'InvalidReceiverName.Malformed', 'errorMessage' => 'The specified receiver name is wrongly formed.'],
+ ['errorCode' => 'InvalidTemplateName.Malformed', 'errorMessage' => 'The specified template name is wrongly formed.'],
+ ['errorCode' => 'InvalidToAddress', 'errorMessage' => 'The specified toAddress is wrongly formed.'],
+ ['errorCode' => 'InvalidToAddress.Spam', 'errorMessage' => 'Sendmail rejected by invalid address.'],
+ ['errorCode' => 'InvalidBody', 'errorMessage' => 'The specified textBody or htmlBody is wrongly formed.'],
+ ['errorCode' => 'InvalidSendMail.Spam', 'errorMessage' => 'Sendmail rejected by spam filter.'],
+ ['errorCode' => 'InvalidMailAddressSendType.Malformed', 'errorMessage' => 'The specified mailAddress sendType is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressStatus.Malformed', 'errorMessage' => 'The specified mailAddress status is wrongly formed.'],
+ ['errorCode' => 'InvalidMailAddressDomain.Malformed', 'errorMessage' => 'The specified mailAddress domain does not exist.'],
+ ['errorCode' => 'InvalidSubject.Malformed', 'errorMessage' => 'The specified subject is wrongly formed.'],
+ ['errorCode' => 'InvalidFromAlias.Malformed', 'errorMessage' => 'The specified fromAlias is wrongly formed.'],
+ ['errorCode' => 'InvalidReplyAddressAlias.Malformed', 'errorMessage' => 'The specified replyAddressAlias is wrongly formed.'],
+ ['errorCode' => 'InvalidReplyAddress.Malformed', 'errorMessage' => 'The specified replyAddress is wrongly formed.'],
],
404 => [
- [
- 'errorCode' => 'InvalidMailAddress.NotFound',
- 'errorMessage' => 'The specified mailAddress does not exist.',
- ],
- [
- 'errorCode' => 'InvalidTemplate.NotFound',
- 'errorMessage' => 'The specified template does not exist.',
- ],
- [
- 'errorCode' => 'InvalidReceiver.NotFound',
- 'errorMessage' => 'The specified receiver does not exist.',
- ],
- [
- 'errorCode' => 'InvalidIP.NotFound',
- 'errorMessage' => 'Invalid IP',
- ],
+ ['errorCode' => 'InvalidMailAddress.NotFound', 'errorMessage' => 'The specified mailAddress does not exist.'],
+ ['errorCode' => 'InvalidTemplate.NotFound', 'errorMessage' => 'The specified template does not exist.'],
+ ['errorCode' => 'InvalidReceiver.NotFound', 'errorMessage' => 'The specified receiver does not exist.'],
+ ['errorCode' => 'InvalidIP.NotFound', 'errorMessage' => 'Invalid IP'],
],
],
'responseDemo' => null,
],
'AddIpfilter' => [
'summary' => '添加IP白名单',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4652,13 +2392,7 @@
[
'name' => 'IpAddress',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => ''],
],
],
'responses' => [
@@ -4667,16 +2401,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'F814E960-5AEE-5CB1-881B-6F1A3250B55A',
- ],
- 'IpFilterId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '10795',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'F814E960-5AEE-5CB1-881B-6F1A3250B55A'],
+ 'IpFilterId' => ['description' => '', 'type' => 'string', 'example' => '10795'],
],
],
],
@@ -4685,21 +2411,9 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'dm.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'dm.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'dm.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'dm.eu-central-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'dm.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'dm.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'dm.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'dm.eu-central-1.aliyuncs.com'],
],
];