diff options
Diffstat (limited to 'data/zh_cn/dm/2017-06-22')
| -rw-r--r-- | data/zh_cn/dm/2017-06-22/api-docs.php | 3776 |
1 files changed, 744 insertions, 3032 deletions
diff --git a/data/zh_cn/dm/2017-06-22/api-docs.php b/data/zh_cn/dm/2017-06-22/api-docs.php index bb0daca..11448e1 100644 --- a/data/zh_cn/dm/2017-06-22/api-docs.php +++ b/data/zh_cn/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' => '地址', 'type' => 'directory', - 'children' => [ - 'CreateMailAddress', - 'DeleteMailAddress', - 'QueryInvalidAddress', - 'QueryMailAddressByParam', - ], + 'children' => ['CreateMailAddress', 'DeleteMailAddress', 'QueryInvalidAddress', 'QueryMailAddressByParam'], ], [ 'id' => 60689, 'title' => '账户', 'type' => 'directory', - 'children' => [ - 'ModifyMailAddress', - 'GetAccountList', - 'DescAccountSummary', - ], + 'children' => ['ModifyMailAddress', 'GetAccountList', 'DescAccountSummary'], ], [ 'id' => 60694, 'title' => '标签', 'type' => 'directory', - 'children' => [ - 'CreateTag', - 'DeleteTag', - 'ModifyTag', - 'QueryTagByParam', - ], + 'children' => ['CreateTag', 'DeleteTag', 'ModifyTag', 'QueryTagByParam'], ], [ 'id' => 60699, 'title' => '收件人', 'type' => 'directory', - 'children' => [ - 'CreateReceiver', - 'DeleteReceiver', - 'DeleteReceiverDetail', - 'QueryReceiverByParam', - 'QueryReceiverDetail', - 'SaveReceiverDetail', - ], + 'children' => ['CreateReceiver', 'DeleteReceiver', 'DeleteReceiverDetail', 'QueryReceiverByParam', 'QueryReceiverDetail', 'SaveReceiverDetail'], ], [ 'id' => 60707, 'title' => '模板', 'type' => 'directory', - 'children' => [ - 'CreateTemplate', - 'DeleteTemplate', - 'ModifyTemplate', - 'QueryTemplateByParam', - 'DescTemplate', - ], + 'children' => ['CreateTemplate', 'DeleteTemplate', 'ModifyTemplate', 'QueryTemplateByParam', 'DescTemplate'], ], [ 'id' => 60713, 'title' => '域名', 'type' => 'directory', - 'children' => [ - 'CreateDomain', - 'DeleteDomain', - 'QueryDomainByParam', - 'CheckDomain', - 'DescDomain', - ], + 'children' => ['CreateDomain', 'DeleteDomain', 'QueryDomainByParam', 'CheckDomain', 'DescDomain'], ], [ 'id' => 60719, 'title' => '发送信息', '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' => '', ], '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' => '', ], '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' => '', ], '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' => '', ], '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' => '', ], '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' => '', ], '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' => '', ], '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,79 +532,44 @@ '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"}]', 'title' => '创建标签', ], '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' => [ @@ -1084,98 +577,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' => '', ], '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' => '标签ID', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '123', - ], + 'schema' => ['description' => '标签ID', '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' => [ @@ -1183,57 +630,31 @@ '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"}]', 'title' => '修改标签', ], 'QueryTagByParam' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1241,41 +662,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' => [ @@ -1283,29 +685,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => '每页大小', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '请求ID', - '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' => '请求ID', '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, @@ -1316,21 +699,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagName' => [ - 'description' => '标签名称', - 'type' => 'string', - 'example' => 'test', - ], - 'TagId' => [ - 'description' => '标签ID', - 'type' => 'string', - 'example' => '52366', - ], - 'TagDescription' => [ - 'description' => '标签描述', - 'type' => 'string', - 'example' => 'test description', - ], + 'TagName' => ['description' => '标签名称', 'type' => 'string', 'example' => 'test'], + 'TagId' => ['description' => '标签ID', 'type' => 'string', 'example' => '52366'], + 'TagDescription' => ['description' => '标签描述', 'type' => 'string', 'example' => 'test description'], ], ], ], @@ -1344,49 +715,30 @@ 'title' => '获取标签', ], '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' => [ @@ -1394,109 +746,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' => '', ], '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' => [ @@ -1504,114 +798,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' => '', ], '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' => [ @@ -1619,151 +854,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' => '', ], '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' => [ @@ -1771,20 +923,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, @@ -1794,31 +936,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'], ], ], ], @@ -1830,129 +955,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' => '', ], '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' => [ @@ -1960,19 +1015,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, @@ -1982,19 +1028,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'], ], ], ], @@ -2006,83 +1043,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' => '', ], 'SaveReceiverDetail' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2094,20 +1080,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' => [ @@ -2115,17 +1093,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, @@ -2135,9 +1105,7 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Email' => [ - 'type' => 'string', - ], + 'Email' => ['type' => 'string'], ], ], ], @@ -2149,170 +1117,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' => '', ], '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' => [ @@ -2320,123 +1201,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' => '', ], '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' => [ @@ -2444,73 +1258,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' => '', ], 'ModifyTemplate' => [ 'summary' => '修改模板信息', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2518,89 +1294,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' => [ @@ -2608,9 +1347,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], + 'RequestId' => ['type' => 'string'], ], ], ], @@ -2618,77 +1355,40 @@ 'responseDemo' => '', ], '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' => [ @@ -2696,21 +1396,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, @@ -2720,41 +1409,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'], ], ], ], @@ -2766,98 +1430,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' => '', ], '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' => [ @@ -2865,120 +1476,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' => '', ], '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' => [ @@ -2986,86 +1533,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' => '', ], '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' => [ @@ -3073,99 +1579,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' => '', ], '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' => [ @@ -3173,21 +1635,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, @@ -3197,40 +1648,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'], ], ], ], @@ -3242,44 +1670,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' => '', ], 'CheckDomain' => [ 'summary' => '校验域名状态', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3287,19 +1694,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' => [ @@ -3307,12 +1707,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DomainStatus' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], + 'DomainStatus' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], ], ], ], @@ -3320,41 +1716,25 @@ 'responseDemo' => '', ], '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' => [ @@ -3362,138 +1742,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' => '', ], 'GetTrackList' => [ 'summary' => '调用GetTrackList邮件跟踪获取发送数据。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3501,107 +1801,57 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '起始时间,时间不能早于30日,格式yyyy-MM-dd。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-09-29', - ], + 'schema' => ['description' => '起始时间,时间不能早于30日,格式yyyy-MM-dd。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-09-29'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间,和起始时间跨度不能超出7天,格式yyyy-MM-dd。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2022-09-29', - ], + 'schema' => ['description' => '结束时间,和起始时间跨度不能超出7天,格式yyyy-MM-dd。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-09-29'], ], [ 'name' => 'Total', 'in' => 'query', - 'schema' => [ - 'description' => '(本字段已废弃)', - 'type' => 'string', - 'required' => false, - 'example' => '(本字段已废弃)', - ], + 'schema' => ['description' => '(本字段已废弃)', 'type' => 'string', 'required' => false, 'example' => '(本字段已废弃)'], ], [ 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => '第一次查询为0,后续固定为1。1为按照时间正序分页查询。(本字段已废弃)', - 'type' => 'string', - 'required' => false, - 'example' => '(本字段已废弃)', - ], + 'schema' => ['description' => '第一次查询为0,后续固定为1。1为按照时间正序分页查询。(本字段已废弃)', 'type' => 'string', 'required' => false, 'example' => '(本字段已废弃)'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ 'name' => 'OffsetCreateTime', 'in' => 'query', - 'schema' => [ - 'description' => '分页用,第一次查询不设置,后续查询设置为上一次Response中sOffsetCreateTime值(本字段已废弃)', - 'type' => 'string', - 'required' => false, - 'example' => '(本字段已废弃)', - ], + 'schema' => ['description' => '分页用,第一次查询不设置,后续查询设置为上一次Response中sOffsetCreateTime值(本字段已废弃)', 'type' => 'string', 'required' => false, 'example' => '(本字段已废弃)'], ], [ 'name' => 'OffsetCreateTimeDesc', 'in' => 'query', - 'schema' => [ - 'description' => '(本字段已废弃)', - 'type' => 'string', - 'required' => false, - 'example' => '(本字段已废弃)', - ], + 'schema' => ['description' => '(本字段已废弃)', 'type' => 'string', 'required' => false, 'example' => '(本字段已废弃)'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '页码', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'TagName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AccountName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -3609,39 +1859,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '10A1AD70-E48E-476D-98D9-39BD92193837', - ], - 'OffsetCreateTime' => [ - 'description' => '分页用,第一次查询不设置,后续查询设置为上一次Response中sOffsetCreateTime值(本字段已废弃)', - 'type' => 'string', - 'example' => '(本字段已废弃)', - ], - 'PageNo' => [ - 'description' => '当前页码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页大小', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Total' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'OffsetCreateTimeDesc' => [ - 'description' => '(本字段已废弃)', - 'type' => 'string', - 'example' => '(本字段已废弃)', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '10A1AD70-E48E-476D-98D9-39BD92193837'], + 'OffsetCreateTime' => ['description' => '分页用,第一次查询不设置,后续查询设置为上一次Response中sOffsetCreateTime值(本字段已废弃)', 'type' => 'string', 'example' => '(本字段已废弃)'], + 'PageNo' => ['description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Total' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'OffsetCreateTimeDesc' => ['description' => '(本字段已废弃)', 'type' => 'string', 'example' => '(本字段已废弃)'], 'data' => [ 'type' => 'object', 'itemNode' => true, @@ -3652,62 +1875,16 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'RcptClickRate' => [ - 'description' => '点击率', - 'type' => 'string', - 'example' => '0', - ], - 'RcptUniqueOpenCount' => [ - 'description' => '独立打开数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RcptClickCount' => [ - 'description' => '点击量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RcptUniqueClickCount' => [ - 'description' => '独立点击数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2019-09-29T13:28Z', - ], - 'RcptUniqueOpenRate' => [ - 'description' => '独立打开率', - 'type' => 'string', - 'example' => '0', - ], - 'RcptUniqueClickRate' => [ - 'description' => '独立点击率', - 'type' => 'string', - 'example' => '0', - ], - 'TotalNumber' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RcptOpenRate' => [ - 'description' => '打开率', - 'type' => 'string', - 'example' => '0', - ], - 'RcptOpenCount' => [ - 'description' => '打开量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RcptClickRate' => ['description' => '点击率', 'type' => 'string', 'example' => '0'], + 'RcptUniqueOpenCount' => ['description' => '独立打开数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'RcptClickCount' => ['description' => '点击量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'RcptUniqueClickCount' => ['description' => '独立点击数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2019-09-29T13:28Z'], + 'RcptUniqueOpenRate' => ['description' => '独立打开率', 'type' => 'string', 'example' => '0'], + 'RcptUniqueClickRate' => ['description' => '独立点击率', 'type' => 'string', 'example' => '0'], + 'TotalNumber' => ['description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'RcptOpenRate' => ['description' => '打开率', 'type' => 'string', 'example' => '0'], + 'RcptOpenCount' => ['description' => '打开量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], ], ], @@ -3721,65 +1898,35 @@ 'title' => '邮件跟踪获取发送数据', ], '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' => [ @@ -3787,21 +1934,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, @@ -3811,34 +1947,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'], ], ], ], @@ -3850,33 +1967,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' => '', ], 'BatchSendMail' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3888,87 +1990,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' => [ @@ -3976,136 +2043,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' => '', ], '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' => [ @@ -4113,13 +2109,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, @@ -4129,27 +2120,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'], ], ], ], @@ -4161,135 +2138,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' => '', ], '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' => [ @@ -4297,13 +2211,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, @@ -4313,31 +2222,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'], ], ], ], @@ -4349,71 +2241,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' => '', ], 'SingleSendMail' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4425,120 +2275,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' => [ @@ -4546,106 +2348,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' => '', ], 'AddIpfilter' => [ 'summary' => '调用dipfilter接口筛选条件。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4658,13 +2396,7 @@ [ 'name' => 'IpAddress', 'in' => 'query', - 'schema' => [ - 'description' => 'IP地址/IP区间/IP段', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '单个IP格式,如:xxx.xxx.xxx.xxxIP区间格式,如:xxx.xxx.xxx.xxx-xxx.xxx.xxx.xxxIP段格式,如:xxx.xxx.xxx.xxx/xxx', - ], + 'schema' => ['description' => 'IP地址/IP区间/IP段', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '单个IP格式,如:xxx.xxx.xxx.xxxIP区间格式,如:xxx.xxx.xxx.xxx-xxx.xxx.xxx.xxxIP段格式,如:xxx.xxx.xxx.xxx/xxx'], ], ], 'responses' => [ @@ -4673,16 +2405,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'F814E960-5AEE-5CB1-881B-6F1A3250B55A', - ], - 'IpFilterId' => [ - 'description' => 'ip对应的ID', - 'type' => 'string', - 'example' => '10795', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F814E960-5AEE-5CB1-881B-6F1A3250B55A'], + 'IpFilterId' => ['description' => 'ip对应的ID', 'type' => 'string', 'example' => '10795'], ], ], ], @@ -4692,21 +2416,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'], ], ]; |
