summaryrefslogtreecommitdiff
path: root/data/zh_cn/workorder
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/workorder
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/workorder')
-rw-r--r--data/zh_cn/workorder/2016-03-21/api-docs.php575
-rw-r--r--data/zh_cn/workorder/2016-04-18/api-docs.php557
-rw-r--r--data/zh_cn/workorder/2016-08-30/api-docs.php330
-rw-r--r--data/zh_cn/workorder/2016-09-19/api-docs.php552
-rw-r--r--data/zh_cn/workorder/2018-10-10/api-docs.php320
-rw-r--r--data/zh_cn/workorder/2018-10-12/api-docs.php321
-rw-r--r--data/zh_cn/workorder/2019-05-16/api-docs.php508
-rw-r--r--data/zh_cn/workorder/2020-03-26/api-docs.php1293
-rw-r--r--data/zh_cn/workorder/2020-08-01/api-docs.php830
-rw-r--r--data/zh_cn/workorder/2020-12-10/api-docs.php819
-rw-r--r--data/zh_cn/workorder/2021-05-10/api-docs.php808
-rw-r--r--data/zh_cn/workorder/2021-06-10/api-docs.php2208
12 files changed, 2065 insertions, 7056 deletions
diff --git a/data/zh_cn/workorder/2016-03-21/api-docs.php b/data/zh_cn/workorder/2016-03-21/api-docs.php
index 0066e8e..b506d0b 100644
--- a/data/zh_cn/workorder/2016-03-21/api-docs.php
+++ b/data/zh_cn/workorder/2016-03-21/api-docs.php
@@ -1,21 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2016-03-21',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2016-03-21'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'add',
- 'QuestionList',
- 'QuestionListNote',
- 'QuestionReply',
- ],
+ 'children' => ['add', 'QuestionList', 'QuestionListNote', 'QuestionReply'],
],
],
'components' => [
@@ -23,99 +14,59 @@
],
'apis' => [
'add' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'content',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'secContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'productId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'customerCommonQuestionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'aliUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'phone',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'email',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'smsAlertTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'none',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'none'],
],
],
'responses' => [
@@ -123,18 +74,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'code' => [
- 'type' => 'string',
- ],
- 'success' => [
- 'type' => 'boolean',
- ],
- 'data' => [
- 'type' => 'string',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'code' => ['type' => 'string'],
+ 'success' => ['type' => 'boolean'],
+ 'data' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
],
],
],
@@ -142,92 +85,54 @@
'responseDemo' => '',
],
'QuestionList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'AddStartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'AddEndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProductIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QuestionStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageStart',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'callerBid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
'responses' => [
@@ -235,19 +140,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Count' => ['type' => 'integer', 'format' => 'int32'],
'ListResult' => [
'type' => 'object',
'itemNode' => true,
@@ -257,27 +153,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'QuestionStatus' => [
- 'type' => 'string',
- ],
- 'ProductId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Title' => [
- 'type' => 'string',
- ],
- 'AddTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
- 'Uid' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'QuestionStatus' => ['type' => 'string'],
+ 'ProductId' => ['type' => 'integer', 'format' => 'int64'],
+ 'Title' => ['type' => 'string'],
+ 'AddTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'Id' => ['type' => 'string'],
+ 'Uid' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -290,40 +171,24 @@
'responseDemo' => '',
],
'QuestionListNote' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'QuestionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'callerBid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
'responses' => [
@@ -331,19 +196,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Count' => ['type' => 'integer', 'format' => 'int32'],
'ListResult' => [
'type' => 'object',
'itemNode' => true,
@@ -353,19 +209,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'NoteType' => [
- 'type' => 'string',
- ],
- 'FromOfficial' => [
- 'type' => 'boolean',
- ],
- 'GmtCreated' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Content' => [
- 'type' => 'string',
- ],
+ 'NoteType' => ['type' => 'string'],
+ 'FromOfficial' => ['type' => 'boolean'],
+ 'GmtCreated' => ['type' => 'integer', 'format' => 'int64'],
+ 'Content' => ['type' => 'string'],
],
],
],
@@ -378,56 +225,34 @@
'responseDemo' => '',
],
'QuestionReply' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'QuestionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'QuestionContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QuestionSecContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'callerBid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
'responses' => [
@@ -435,15 +260,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
@@ -452,221 +271,59 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2016-04-18/api-docs.php b/data/zh_cn/workorder/2016-04-18/api-docs.php
index 3d518f3..70ddecd 100644
--- a/data/zh_cn/workorder/2016-04-18/api-docs.php
+++ b/data/zh_cn/workorder/2016-04-18/api-docs.php
@@ -1,21 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2016-04-18',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2016-04-18'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'add',
- 'QuestionList',
- 'QuestionListNote',
- 'QuestionReply',
- ],
+ 'children' => ['add', 'QuestionList', 'QuestionListNote', 'QuestionReply'],
],
],
'components' => [
@@ -23,99 +14,59 @@
],
'apis' => [
'add' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'content',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'secContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'productId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'customerCommonQuestionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'aliUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'phone',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'email',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'smsAlertTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'none',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'none'],
],
],
'responses' => [
@@ -123,18 +74,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'code' => [
- 'type' => 'string',
- ],
- 'success' => [
- 'type' => 'boolean',
- ],
- 'data' => [
- 'type' => 'string',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'code' => ['type' => 'string'],
+ 'success' => ['type' => 'boolean'],
+ 'data' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
],
],
],
@@ -142,83 +85,49 @@
'responseDemo' => '',
],
'QuestionList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'AddStartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'AddEndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProductIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QuestionStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageStart',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'responses' => [
@@ -226,19 +135,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Count' => ['type' => 'integer', 'format' => 'int32'],
'ListResult' => [
'type' => 'object',
'itemNode' => true,
@@ -248,27 +148,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'QuestionStatus' => [
- 'type' => 'string',
- ],
- 'ProductId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Title' => [
- 'type' => 'string',
- ],
- 'AddTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
- 'Uid' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'QuestionStatus' => ['type' => 'string'],
+ 'ProductId' => ['type' => 'integer', 'format' => 'int64'],
+ 'Title' => ['type' => 'string'],
+ 'AddTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'Id' => ['type' => 'string'],
+ 'Uid' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -281,31 +166,19 @@
'responseDemo' => '',
],
'QuestionListNote' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'QuestionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -313,19 +186,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Count' => ['type' => 'integer', 'format' => 'int32'],
'ListResult' => [
'type' => 'object',
'itemNode' => true,
@@ -335,19 +199,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'NoteType' => [
- 'type' => 'string',
- ],
- 'FromOfficial' => [
- 'type' => 'boolean',
- ],
- 'GmtCreated' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Content' => [
- 'type' => 'string',
- ],
+ 'NoteType' => ['type' => 'string'],
+ 'FromOfficial' => ['type' => 'boolean'],
+ 'GmtCreated' => ['type' => 'integer', 'format' => 'int64'],
+ 'Content' => ['type' => 'string'],
],
],
],
@@ -360,47 +215,29 @@
'responseDemo' => '',
],
'QuestionReply' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'QuestionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'QuestionContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QuestionSecContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -408,15 +245,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
@@ -425,221 +256,59 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2016-08-30/api-docs.php b/data/zh_cn/workorder/2016-08-30/api-docs.php
index faf034d..ff9bda8 100644
--- a/data/zh_cn/workorder/2016-08-30/api-docs.php
+++ b/data/zh_cn/workorder/2016-08-30/api-docs.php
@@ -1,18 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2016-08-30',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2016-08-30'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'QueryUserStatByQuestionStatus',
- ],
+ 'children' => ['QueryUserStatByQuestionStatus'],
],
],
'components' => [
@@ -20,33 +14,20 @@
],
'apis' => [
'QueryUserStatByQuestionStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
'responses' => [
@@ -54,21 +35,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Count' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Count' => ['type' => 'string'],
'ListResult' => [
'type' => 'object',
'itemNode' => true,
@@ -78,13 +49,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'StatusCode' => [
- 'type' => 'string',
- ],
- 'Num' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'StatusCode' => ['type' => 'string'],
+ 'Num' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -98,221 +64,59 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2016-09-19/api-docs.php b/data/zh_cn/workorder/2016-09-19/api-docs.php
index 48207a6..e1cb959 100644
--- a/data/zh_cn/workorder/2016-09-19/api-docs.php
+++ b/data/zh_cn/workorder/2016-09-19/api-docs.php
@@ -1,21 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2016-09-19',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2016-09-19'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'QueryQuestionCountByAccount',
- 'QueryQuestionFromOtherSite',
- 'QueryRecordList',
- 'QueryUserStatByQuestionStatus',
- ],
+ 'children' => ['QueryQuestionCountByAccount', 'QueryQuestionFromOtherSite', 'QueryRecordList', 'QueryUserStatByQuestionStatus'],
],
],
'components' => [
@@ -23,33 +14,20 @@
],
'apis' => [
'QueryQuestionCountByAccount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'FaqUserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
'responses' => [
@@ -57,29 +35,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
'Data' => [
'type' => 'object',
'properties' => [
- 'LeftTime' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'LeftTime' => ['type' => 'integer', 'format' => 'int32'],
+ 'Count' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -89,51 +53,30 @@
'responseDemo' => '',
],
'QueryQuestionFromOtherSite' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'FaqUserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'responses' => [
@@ -141,21 +84,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Count' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Count' => ['type' => 'string'],
'ListResult' => [
'type' => 'object',
'itemNode' => true,
@@ -165,33 +98,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'QuestionTitle' => [
- 'type' => 'string',
- ],
- 'DisposeName' => [
- 'type' => 'string',
- ],
- 'Owner' => [
- 'type' => 'string',
- ],
- 'Site' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'StatusCode' => [
- 'type' => 'string',
- ],
- 'QuestionId' => [
- 'type' => 'string',
- ],
- 'LeftTime' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'string'],
+ 'QuestionTitle' => ['type' => 'string'],
+ 'DisposeName' => ['type' => 'string'],
+ 'Owner' => ['type' => 'string'],
+ 'Site' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'StatusCode' => ['type' => 'string'],
+ 'QuestionId' => ['type' => 'string'],
+ 'LeftTime' => ['type' => 'string'],
],
],
],
@@ -204,76 +119,45 @@
'responseDemo' => '',
],
'QueryRecordList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'QuestionVid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'QuestionNoteId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'AuthorizationTypeId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'AuthorizationTypeName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ShowHidden',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'responses' => [
@@ -281,21 +165,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Count' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Count' => ['type' => 'string'],
'ListResult' => [
'type' => 'object',
'itemNode' => true,
@@ -305,17 +179,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Remark' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'Status' => ['type' => 'integer', 'format' => 'int32'],
+ 'Remark' => ['type' => 'string'],
+ 'Id' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -328,33 +194,20 @@
'responseDemo' => '',
],
'QueryUserStatByQuestionStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
'responses' => [
@@ -362,21 +215,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Count' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Count' => ['type' => 'string'],
'ListResult' => [
'type' => 'object',
'itemNode' => true,
@@ -386,13 +229,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'StatusCode' => [
- 'type' => 'string',
- ],
- 'Num' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'StatusCode' => ['type' => 'string'],
+ 'Num' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -406,221 +244,59 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2018-10-10/api-docs.php b/data/zh_cn/workorder/2018-10-10/api-docs.php
index 53c6763..2f77d65 100644
--- a/data/zh_cn/workorder/2018-10-10/api-docs.php
+++ b/data/zh_cn/workorder/2018-10-10/api-docs.php
@@ -1,18 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2018-10-10',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2018-10-10'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'GetAttachTempURLAuth',
- ],
+ 'children' => ['GetAttachTempURLAuth'],
],
],
'components' => [
@@ -20,32 +14,20 @@
],
'apis' => [
'GetAttachTempURLAuth' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'AttachId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -53,21 +35,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
@@ -76,221 +48,59 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2018-10-12/api-docs.php b/data/zh_cn/workorder/2018-10-12/api-docs.php
index 84fa12f..1857bec 100644
--- a/data/zh_cn/workorder/2018-10-12/api-docs.php
+++ b/data/zh_cn/workorder/2018-10-12/api-docs.php
@@ -1,18 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2018-10-12',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2018-10-12'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'GetAttachTempURL',
- ],
+ 'children' => ['GetAttachTempURL'],
],
],
'components' => [
@@ -20,33 +14,20 @@
],
'apis' => [
'GetAttachTempURL' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'AttachId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -54,21 +35,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
@@ -77,221 +48,59 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2019-05-16/api-docs.php b/data/zh_cn/workorder/2019-05-16/api-docs.php
index 0c7d199..349be62 100644
--- a/data/zh_cn/workorder/2019-05-16/api-docs.php
+++ b/data/zh_cn/workorder/2019-05-16/api-docs.php
@@ -1,20 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2019-05-16',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2019-05-16'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'GetQuestionOwnerById',
- 'GetQuestionOwnerByVid',
- 'QueryQuestionByFaultIdList',
- ],
+ 'children' => ['GetQuestionOwnerById', 'GetQuestionOwnerByVid', 'QueryQuestionByFaultIdList'],
],
],
'components' => [
@@ -22,15 +14,8 @@
],
'apis' => [
'GetQuestionOwnerById' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -38,35 +23,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'RequestId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AppName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
'responses' => [
@@ -74,22 +46,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'integer', 'format' => 'int64'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
@@ -97,15 +58,8 @@
'responseDemo' => '',
],
'GetQuestionOwnerByVid' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -113,34 +67,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Vid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RequestId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AppName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -148,22 +90,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'integer', 'format' => 'int64'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
@@ -171,15 +102,8 @@
'responseDemo' => '',
],
'QueryQuestionByFaultIdList' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -187,46 +111,28 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'AppName',
'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,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'FaultIdList',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'object', 'required' => false],
],
],
'responses' => [
@@ -234,38 +140,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DataSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'CurrentPage' => ['type' => 'integer', 'format' => 'int32'],
+ 'DataSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'Count' => ['type' => 'integer', 'format' => 'int32'],
'Data' => [
'type' => 'object',
'itemNode' => true,
@@ -275,38 +158,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'FaultId' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ProductName' => [
- 'type' => 'string',
- ],
- 'Class' => [
- 'type' => 'string',
- ],
- 'QuestionId' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'AliUid' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ProductId' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'QuestionVid' => [
- 'type' => 'string',
- ],
- 'AddTime' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ProductCode' => [
- 'type' => 'string',
- ],
+ 'FaultId' => ['type' => 'integer', 'format' => 'int32'],
+ 'ProductName' => ['type' => 'string'],
+ 'Class' => ['type' => 'string'],
+ 'QuestionId' => ['type' => 'integer', 'format' => 'int32'],
+ 'AliUid' => ['type' => 'integer', 'format' => 'int64'],
+ 'ProductId' => ['type' => 'integer', 'format' => 'int32'],
+ 'QuestionVid' => ['type' => 'string'],
+ 'AddTime' => ['type' => 'integer', 'format' => 'int32'],
+ 'ProductCode' => ['type' => 'string'],
],
],
],
@@ -320,221 +180,59 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2020-03-26/api-docs.php b/data/zh_cn/workorder/2020-03-26/api-docs.php
index 2f8ea33..9ea955b 100644
--- a/data/zh_cn/workorder/2020-03-26/api-docs.php
+++ b/data/zh_cn/workorder/2020-03-26/api-docs.php
@@ -1,30 +1,18 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2020-03-26',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2020-03-26'],
'directories' => [
[
'id' => 69792,
'title' => '工单',
'type' => 'directory',
- 'children' => [
- 'CreateTicket',
- 'ListTicketNotes',
- 'ListTickets',
- 'CloseTicket',
- ],
+ 'children' => ['CreateTicket', 'ListTicketNotes', 'ListTickets', 'CloseTicket'],
],
[
'id' => 69798,
'title' => '类别',
'type' => 'directory',
- 'children' => [
- 'ListCategories',
- 'ListProducts',
- ],
+ 'children' => ['ListCategories', 'ListProducts'],
],
],
'components' => [
@@ -32,14 +20,8 @@
],
'apis' => [
'CreateTicket' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -47,196 +29,146 @@
],
'operationType' => 'write',
'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'create',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'create', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '您使用的语言,支持,中文,英文,日文。值定义:zh:中文,en:英文,jp:日文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '您使用的语言,支持,中文,英文,日文。值定义:zh:中文,en:英文,jp:日文。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'description' => '工单标题。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs连不上了',
- ],
+ 'schema' => ['description' => '工单标题。', 'type' => 'string', 'required' => false, 'example' => 'ecs连不上了'],
],
[
'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'description' => '问题描述。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '我的一台ecs连不上了,还请帮忙看看咋回事',
- ],
+ 'schema' => ['description' => '问题描述。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '我的一台ecs连不上了,还请帮忙看看咋回事'],
],
[
'name' => 'SecretContent',
'in' => 'query',
- 'schema' => [
- 'description' => '机密备注,您的ecs实例信息、个人相关的信息,请通过机密备注提交。机密备注有更高的数据安全等级。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '实例id是XXXXXX',
- ],
+ 'schema' => ['description' => '机密备注,您的ecs实例信息、个人相关的信息,请通过机密备注提交。机密备注有更高的数据安全等级。', 'type' => 'string', 'required' => false, 'example' => '实例id是XXXXXX'],
],
[
'name' => 'ProductCode',
'in' => 'query',
- 'schema' => [
- 'description' => '产品code,枚举值定义如下:'."\n"
- .'ecs:云服务器 ECS,finance:财务类,rds 云数据库 RDS,'."\n"
- .'account:会员账号,'."\n"
- .'oss:对象存储 OSS,'."\n"
- .'sms:短信服务,'."\n"
- .'host_xuni:虚拟主机,'."\n"
- .'cas:SSL证书,'."\n"
- .'cdn:CDN,'."\n"
- .'slb:负载均衡,'."\n"
- .'mail:企业邮箱,'."\n"
- .'trademark:商标服务,'."\n"
- .'swas:轻量应用服务器,'."\n"
- .'domain:域名,'."\n"
- .'cs:容器服务,'."\n"
- .'presales:购买/续费咨询,'."\n"
- .'vod:视频点播,'."\n"
- .'beian:备案,'."\n"
- .'live:视频直播,'."\n"
- .'iot:物联网平台,'."\n"
- .'alidns:云解析DNS,'."\n"
- .'contract:合同类,'."\n"
- .'vpc:专有网络VPC,'."\n"
- .'sls:日志服务,'."\n"
- .'cms:云监控,'."\n"
- .'dts:数据传输,'."\n"
- .'dm:邮件推送,'."\n"
- .'sas:云安全中心,'."\n"
- .'redis:云数据库Redis版,'."\n"
- .'ide:DataWorks,'."\n"
- .'ons:消息队列 RocketMQ,'."\n"
- .'others:其它,'."\n"
- .'dcdn:全站加速,'."\n"
- .'mpaas:移动开发平台 mPaaS,'."\n"
- .'eip:弹性公网IP,'."\n"
- .'companyreg:企业工商注册服务,'."\n"
- .'ram:访问控制,'."\n"
- .'waf:Web应用防火墙,'."\n"
- .'odps:MaxCompute,'."\n"
- .'IVRTicket:热线工单二线组,'."\n"
- .'polardb:云数据库POLARDB,'."\n"
- .'dds:云数据库MongoDB版,'."\n"
- .'link_living:阿里云Link生活平台,'."\n"
- .'yundun:云盾,'."\n"
- .'ads:分析型数据库MySQL版,'."\n"
- .'nas:文件存储NAS,'."\n"
- .'rdc:云效,'."\n"
- .'elasticsearch:Elasticsearch,'."\n"
- .'free_mail:免费企业邮箱,'."\n"
- .'expressconnect:高速通道,'."\n"
- .'vpn:VPN网关,'."\n"
- .'dyvms:语音服务,'."\n"
- .'cbn:云企业网,'."\n"
- .'edas:企业级分布式应用服务EDAS,'."\n"
- .'market:云市场,'."\n"
- .'cloudauth:实人认证,'."\n"
- .'galaxy:实时计算(流计算),'."\n"
- .'emr:E-MapReduce,'."\n"
- .'bastionhost:堡垒机,'."\n"
- .'fc:函数计算,'."\n"
- .'swcopyright:软件著作权登记,'."\n"
- .'huodongzixun:活动咨询,'."\n"
- .'drds:分布式关系型数据库服务 DRDS,'."\n"
- .'deploy:专有云部署问题,'."\n"
- .'speech:智能语音交互'."\n"
- .'lvwang:内容安全,'."\n"
- .'rtc:音视频通信,'."\n"
- .'yun_dplus_datav:DataV数据可视化,'."\n"
- .'agent:代理商类,'."\n"
- .'ccc:云呼叫中心,'."\n"
- .'dyiot:物联网无线连接服务,'."\n"
- .'tianji:天基,'."\n"
- .'face:人脸识别,'."\n"
- .'apigateway:API 网关,'."\n"
- .'cbs:数据库备份,'."\n"
- .'quickbi:Quick BI,'."\n"
- .'arms:应用实时监控服务 ARMS,'."\n"
- .'mqiot:微消息队列MQTT,'."\n"
- .'ccs:云客服,'."\n"
- .'app:阿里云App,'."\n"
- .'opensearch:开放搜索,'."\n"
- .'ots:表格存储,'."\n"
- .'ess:弹性伸缩,'."\n"
- .'eci:弹性容器实例 ECI,'."\n"
- .'mps:媒体处理,'."\n"
- .'vs:视频监控,'."\n"
- .'cps:移动推送,'."\n"
- .'fundamental:基础组件,'."\n"
- .'dtcenter:DTCenter,'."\n"
- .'natgw:NAT网关,'."\n"
- .'ddos:DDoS高防IP,'."\n"
- .'dypns:号码认证服务,'."\n"
- .'pts:性能测试,'."\n"
- .'clouddesktop:云桌面,'."\n"
- .'hbase:云数据库 HBase,'."\n"
- .'others:其它',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => '产品code,枚举值定义如下:'."\n"
+ .'ecs:云服务器 ECS,finance:财务类,rds 云数据库 RDS,'."\n"
+ .'account:会员账号,'."\n"
+ .'oss:对象存储 OSS,'."\n"
+ .'sms:短信服务,'."\n"
+ .'host_xuni:虚拟主机,'."\n"
+ .'cas:SSL证书,'."\n"
+ .'cdn:CDN,'."\n"
+ .'slb:负载均衡,'."\n"
+ .'mail:企业邮箱,'."\n"
+ .'trademark:商标服务,'."\n"
+ .'swas:轻量应用服务器,'."\n"
+ .'domain:域名,'."\n"
+ .'cs:容器服务,'."\n"
+ .'presales:购买/续费咨询,'."\n"
+ .'vod:视频点播,'."\n"
+ .'beian:备案,'."\n"
+ .'live:视频直播,'."\n"
+ .'iot:物联网平台,'."\n"
+ .'alidns:云解析DNS,'."\n"
+ .'contract:合同类,'."\n"
+ .'vpc:专有网络VPC,'."\n"
+ .'sls:日志服务,'."\n"
+ .'cms:云监控,'."\n"
+ .'dts:数据传输,'."\n"
+ .'dm:邮件推送,'."\n"
+ .'sas:云安全中心,'."\n"
+ .'redis:云数据库Redis版,'."\n"
+ .'ide:DataWorks,'."\n"
+ .'ons:消息队列 RocketMQ,'."\n"
+ .'others:其它,'."\n"
+ .'dcdn:全站加速,'."\n"
+ .'mpaas:移动开发平台 mPaaS,'."\n"
+ .'eip:弹性公网IP,'."\n"
+ .'companyreg:企业工商注册服务,'."\n"
+ .'ram:访问控制,'."\n"
+ .'waf:Web应用防火墙,'."\n"
+ .'odps:MaxCompute,'."\n"
+ .'IVRTicket:热线工单二线组,'."\n"
+ .'polardb:云数据库POLARDB,'."\n"
+ .'dds:云数据库MongoDB版,'."\n"
+ .'link_living:阿里云Link生活平台,'."\n"
+ .'yundun:云盾,'."\n"
+ .'ads:分析型数据库MySQL版,'."\n"
+ .'nas:文件存储NAS,'."\n"
+ .'rdc:云效,'."\n"
+ .'elasticsearch:Elasticsearch,'."\n"
+ .'free_mail:免费企业邮箱,'."\n"
+ .'expressconnect:高速通道,'."\n"
+ .'vpn:VPN网关,'."\n"
+ .'dyvms:语音服务,'."\n"
+ .'cbn:云企业网,'."\n"
+ .'edas:企业级分布式应用服务EDAS,'."\n"
+ .'market:云市场,'."\n"
+ .'cloudauth:实人认证,'."\n"
+ .'galaxy:实时计算(流计算),'."\n"
+ .'emr:E-MapReduce,'."\n"
+ .'bastionhost:堡垒机,'."\n"
+ .'fc:函数计算,'."\n"
+ .'swcopyright:软件著作权登记,'."\n"
+ .'huodongzixun:活动咨询,'."\n"
+ .'drds:分布式关系型数据库服务 DRDS,'."\n"
+ .'deploy:专有云部署问题,'."\n"
+ .'speech:智能语音交互'."\n"
+ .'lvwang:内容安全,'."\n"
+ .'rtc:音视频通信,'."\n"
+ .'yun_dplus_datav:DataV数据可视化,'."\n"
+ .'agent:代理商类,'."\n"
+ .'ccc:云呼叫中心,'."\n"
+ .'dyiot:物联网无线连接服务,'."\n"
+ .'tianji:天基,'."\n"
+ .'face:人脸识别,'."\n"
+ .'apigateway:API 网关,'."\n"
+ .'cbs:数据库备份,'."\n"
+ .'quickbi:Quick BI,'."\n"
+ .'arms:应用实时监控服务 ARMS,'."\n"
+ .'mqiot:微消息队列MQTT,'."\n"
+ .'ccs:云客服,'."\n"
+ .'app:阿里云App,'."\n"
+ .'opensearch:开放搜索,'."\n"
+ .'ots:表格存储,'."\n"
+ .'ess:弹性伸缩,'."\n"
+ .'eci:弹性容器实例 ECI,'."\n"
+ .'mps:媒体处理,'."\n"
+ .'vs:视频监控,'."\n"
+ .'cps:移动推送,'."\n"
+ .'fundamental:基础组件,'."\n"
+ .'dtcenter:DTCenter,'."\n"
+ .'natgw:NAT网关,'."\n"
+ .'ddos:DDoS高防IP,'."\n"
+ .'dypns:号码认证服务,'."\n"
+ .'pts:性能测试,'."\n"
+ .'clouddesktop:云桌面,'."\n"
+ .'hbase:云数据库 HBase,'."\n"
+ .'others:其它', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ecs'],
],
[
'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Phone',
'in' => 'query',
- 'schema' => [
- 'description' => '用于接收工单处理进度提醒短信的手机号。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '13288888888',
- ],
+ 'schema' => ['description' => '用于接收工单处理进度提醒短信的手机号。', 'type' => 'string', 'required' => false, 'example' => '13288888888'],
],
[
'name' => 'Email',
'in' => 'query',
- 'schema' => [
- 'description' => '用于接收工单处理进度等消息的邮箱。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'support@aliyun.com',
- ],
+ 'schema' => ['description' => '用于接收工单处理进度等消息的邮箱。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'support@aliyun.com'],
],
[
'name' => 'NotifyTimeRange',
'in' => 'query',
- 'schema' => [
- 'description' => '接收工单提醒消息的时间段,值定义:normal:每日9:00-18:00提醒;all:无接收时间限制,任何时间都可以接收;never::从不接收。默认:all。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'all',
- ],
+ 'schema' => ['description' => '接收工单提醒消息的时间段,值定义:normal:每日9:00-18:00提醒;all:无接收时间限制,任何时间都可以接收;never::从不接收。默认:all。', 'type' => 'string', 'required' => false, 'example' => 'all'],
],
],
'responses' => [
@@ -244,72 +176,35 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'description' => '请求唯一识别码。',
- 'type' => 'string',
- 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'AccessDeniedDetail' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'string'],
+ 'RequestId' => ['description' => '请求唯一识别码。', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
+ 'Success' => ['type' => 'boolean'],
+ 'AccessDeniedDetail' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'illegalParam.emailOrPhone',
- 'errorMessage' => 'The specified contact email or mobile phone number must be the data received by the account messenger.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'illegalParam.emailOrPhone', 'errorMessage' => 'The specified contact email or mobile phone number must be the data received by the account messenger.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'Workorder::2021-06-10::CreateTicket',
- ],
+ 'substitutions' => ['Workorder::2021-06-10::CreateTicket'],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"TicketId\\": \\"ETARNPP\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\"\\n}","errorExample":""},{"type":"xml","example":"<TicketId>ETARNPP</TicketId>\\n<RequestId>CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC</RequestId>","errorExample":""}]',
'title' => '新建工单',
@@ -319,14 +214,8 @@
'extraInfo' => ' ',
],
'ListTicketNotes' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -334,32 +223,18 @@
],
'operationType' => 'read',
'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'get',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '您使用的语言,支持,中文,英文,日文。'."\n"
- .'值定义:zh:中文,en:英文,jp:日文。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '您使用的语言,支持,中文,英文,日文。'."\n"
+ .'值定义:zh:中文,en:英文,jp:日文。'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TicketId',
'in' => 'query',
- 'schema' => [
- 'description' => '工单号。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'G2BKRWG',
- ],
+ 'schema' => ['description' => '工单号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'G2BKRWG'],
],
],
'responses' => [
@@ -367,27 +242,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '提示信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '请求唯一识别码。',
- 'type' => 'string',
- 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC',
- ],
- 'Success' => [
- 'description' => '调用是否成功。true:表示成功;false:表示失败。'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => '状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'success'],
+ 'RequestId' => ['description' => '请求唯一识别码。', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
+ 'Success' => ['description' => '调用是否成功。true:表示成功;false:表示失败。'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '调用成功后返回的业务数据。',
'type' => 'object',
@@ -398,77 +256,38 @@
'items' => [
'type' => 'object',
'properties' => [
- 'FromOfficial' => [
- 'description' => '是否售后工程师回复,标示这条会是用户发出的还是售后工程师发出的。true:售后工程师回复,false:用户回复。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'GmtCreated' => [
- 'description' => '这条回复发出的时间戳,是精确到秒的时间戳。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1586920240',
- ],
- 'NoteId' => [
- 'description' => '回复id。',
- 'type' => 'string',
- 'example' => 'CT24GHXT',
- ],
- 'Content' => [
- 'description' => '沟通内容。',
- 'type' => 'string',
- 'example' => '您好我有个问题需要请教下',
- ],
+ 'FromOfficial' => ['description' => '是否售后工程师回复,标示这条会是用户发出的还是售后工程师发出的。true:售后工程师回复,false:用户回复。', 'type' => 'boolean', 'example' => 'false'],
+ 'GmtCreated' => ['description' => '这条回复发出的时间戳,是精确到秒的时间戳。', 'type' => 'integer', 'format' => 'int32', 'example' => '1586920240'],
+ 'NoteId' => ['description' => '回复id。', 'type' => 'string', 'example' => 'CT24GHXT'],
+ 'Content' => ['description' => '沟通内容。', 'type' => 'string', 'example' => '您好我有个问题需要请教下'],
],
],
],
],
],
- 'AccessDeniedDetail' => [
- 'type' => 'string',
- ],
+ 'AccessDeniedDetail' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'Workorder::2021-06-10::ListTicketNotes',
- ],
+ 'substitutions' => ['Workorder::2021-06-10::ListTicketNotes'],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"List\\": [\\n {\\n \\"FromOfficial\\": false,\\n \\"GmtCreated\\": 1586920240,\\n \\"NoteId\\": \\"CT24GHXT\\",\\n \\"Content\\": \\"您好我有个问题需要请教下\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>successful</Message>\\n<Data>\\n <List>\\n <NoteId>CT24GHXT</NoteId>\\n <FromOfficial>false</FromOfficial>\\n <Content>有个问题请教下</Content>\\n <GmtCreated>1586920240</GmtCreated>\\n </List>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '获取工单沟通记录',
@@ -478,14 +297,8 @@
'extraInfo' => ' ',
],
'ListTickets' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -493,106 +306,54 @@
],
'operationType' => 'read',
'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'get',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => '指定工单号筛选,多个工单号通过英文逗号分隔',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ETARNPP,RTARNP',
- ],
+ 'schema' => ['description' => '指定工单号筛选,多个工单号通过英文逗号分隔', 'type' => 'string', 'required' => false, 'example' => 'ETARNPP,RTARNP'],
],
[
'name' => 'CreatedAfterTime',
'in' => 'query',
- 'schema' => [
- 'description' => '工单创建开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1585790280',
- ],
+ 'schema' => ['description' => '工单创建开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1585790280'],
],
[
'name' => 'CreatedBeforeTime',
'in' => 'query',
- 'schema' => [
- 'description' => '工单创建结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1586049480',
- ],
+ 'schema' => ['description' => '工单创建结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1586049480'],
],
[
'name' => 'ProductCode',
'in' => 'query',
- 'schema' => [
- 'description' => '产品code',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => '产品code', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页展示的工单数,默认20,最大100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页展示的工单数,默认20,最大100', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'TicketStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '通过工单状态筛选,多个工单状态通过英文逗号分隔,'."\n"
- .'工单状态定义。in_progress:正在为您处理,wait_feedback:待您反馈,wait_confirm:待您确认,completed:已关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'wait_confirm,dealing',
- ],
+ 'schema' => ['description' => '通过工单状态筛选,多个工单状态通过英文逗号分隔,'."\n"
+ .'工单状态定义。in_progress:正在为您处理,wait_feedback:待您反馈,wait_confirm:待您确认,completed:已关闭。', 'type' => 'string', 'required' => false, 'example' => 'wait_confirm,dealing'],
],
[
'name' => 'PageStart',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询的页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页查询的页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'SubUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '指定子账号id查询',
- 'type' => 'string',
- 'required' => false,
- 'example' => '252448085032933023',
- ],
+ 'schema' => ['description' => '指定子账号id查询', 'type' => 'string', 'required' => false, 'example' => '252448085032933023'],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '您使用的语言,支持,中文,英文,日文。'."\n"
- .'值定义:zh:中文,en:英文,jp:日文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '您使用的语言,支持,中文,英文,日文。'."\n"
+ .'值定义:zh:中文,en:英文,jp:日文。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
@@ -600,132 +361,57 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '状态码'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '提示信息'."\n",
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '请求唯一识别码'."\n",
- 'type' => 'string',
- 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC',
- ],
- 'Success' => [
- 'description' => '调用是否成功。true:表示成功;false:表示失败。'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => '状态码'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '提示信息'."\n", 'type' => 'string', 'example' => 'success'],
+ 'RequestId' => ['description' => '请求唯一识别码'."\n", 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
+ 'Success' => ['description' => '调用是否成功。true:表示成功;false:表示失败。'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '接口调用成功返回的业务数据',
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页数行数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'Total' => [
- 'description' => '列表总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '99',
- ],
+ 'CurrentPage' => ['description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每页数行数', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
+ 'Total' => ['description' => '列表总数', 'type' => 'integer', 'format' => 'int32', 'example' => '99'],
'List' => [
'description' => '工单列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Title' => [
- 'description' => '工单标题',
- 'type' => 'string',
- 'example' => '这是一个测试工单',
- ],
- 'CreatorId' => [
- 'description' => '工单创建人uid',
- 'type' => 'string',
- 'example' => '252448085032933023',
- ],
- 'AddTime' => [
- 'description' => '工单创建时间,单位到秒的时间戳',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1585818240',
- ],
- 'Id' => [
- 'description' => '工单号',
- 'type' => 'string',
- 'example' => 'CAB327A',
- ],
- 'TicketStatus' => [
- 'description' => '工单状态'."\n"
- .'工单状态定义。in_progress:正在为您处理,wait_feedback:待您反馈,wait_confirm:待您确认,completed:已关闭。',
- 'type' => 'string',
- 'example' => 'assigned',
- ],
+ 'Title' => ['description' => '工单标题', 'type' => 'string', 'example' => '这是一个测试工单'],
+ 'CreatorId' => ['description' => '工单创建人uid', 'type' => 'string', 'example' => '252448085032933023'],
+ 'AddTime' => ['description' => '工单创建时间,单位到秒的时间戳', 'type' => 'integer', 'format' => 'int32', 'example' => '1585818240'],
+ 'Id' => ['description' => '工单号', 'type' => 'string', 'example' => 'CAB327A'],
+ 'TicketStatus' => ['description' => '工单状态'."\n"
+ .'工单状态定义。in_progress:正在为您处理,wait_feedback:待您反馈,wait_confirm:待您确认,completed:已关闭。', 'type' => 'string', 'example' => 'assigned'],
],
],
],
],
],
- 'AccessDeniedDetail' => [
- 'type' => 'string',
- ],
+ 'AccessDeniedDetail' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'Workorder::2021-06-10::ListTickets',
- ],
+ 'substitutions' => ['Workorder::2021-06-10::ListTickets'],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 15,\\n \\"Total\\": 99,\\n \\"List\\": [\\n {\\n \\"Title\\": \\"这是一个测试工单\\",\\n \\"CreatorId\\": \\"252448085032933023\\",\\n \\"AddTime\\": 1585818240,\\n \\"Id\\": \\"CAB327A\\",\\n \\"TicketStatus\\": \\"assigned\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Data>\\n <PageSize>20</PageSize>\\n <CurrentPage>1</CurrentPage>\\n <Total>9</Total>\\n <List>\\n <Title>pop测试</Title>\\n <TicketStatus>assigned</TicketStatus>\\n <Id>CAB327A</Id>\\n <AddTime>1585818240</AddTime>\\n </List>\\n <List>\\n <Title>pop测试</Title>\\n <TicketStatus>assigned</TicketStatus>\\n <Id>2HB89DX</Id>\\n <AddTime>1585818240</AddTime>\\n </List>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '获取工单列表',
@@ -735,14 +421,8 @@
'extraInfo' => ' ',
],
'CloseTicket' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -750,32 +430,18 @@
],
'operationType' => 'write',
'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '您使用的语言,支持,中文,英文,日文。'."\n"
- .'值定义:zh:中文,en:英文,jp:日文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '您使用的语言,支持,中文,英文,日文。'."\n"
+ .'值定义:zh:中文,en:英文,jp:日文。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TicketId',
'in' => 'query',
- 'schema' => [
- 'description' => '工单号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '3EBYRY7',
- ],
+ 'schema' => ['description' => '工单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3EBYRY7'],
],
],
'responses' => [
@@ -783,78 +449,36 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '提示信息',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '请求唯一识别码',
- 'type' => 'string',
- 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC',
- ],
- 'Success' => [
- 'description' => '调用是否成功。true:表示成功;false:表示失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AccessDeniedDetail' => [
- 'type' => 'string',
- ],
+ 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '提示信息', 'type' => 'string', 'example' => 'success'],
+ 'RequestId' => ['description' => '请求唯一识别码', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
+ 'Success' => ['description' => '调用是否成功。true:表示成功;false:表示失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'AccessDeniedDetail' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
200 => [
- [
- 'errorCode' => 'business.error',
- 'errorMessage' => 'The business does not allow the current operation',
- ],
+ ['errorCode' => 'business.error', 'errorMessage' => 'The business does not allow the current operation'],
],
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'Workorder::2021-06-10::CloseTicket',
- ],
+ 'substitutions' => ['Workorder::2021-06-10::CloseTicket'],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<Success>true</Success>\\n<RequestId>CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC</RequestId>","errorExample":""}]',
'title' => '关闭工单',
@@ -864,14 +488,8 @@
'extraInfo' => ' ',
],
'ListCategories' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -879,31 +497,17 @@
],
'operationType' => 'read',
'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'get',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '您使用的语言,支持,中文,英文,日文。 值定义:zh:中文,en:英文,jp:日文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '您使用的语言,支持,中文,英文,日文。 值定义:zh:中文,en:英文,jp:日文。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'ProductCode',
'in' => 'query',
- 'schema' => [
- 'description' => '产品编码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => '产品编码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ecs'],
],
],
'responses' => [
@@ -911,27 +515,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '提示信息',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '请求唯一识别码',
- 'type' => 'string',
- 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC',
- ],
- 'Success' => [
- 'description' => '调用是否成功。true:表示成功;false:表示失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '提示信息', 'type' => 'string', 'example' => 'success'],
+ 'RequestId' => ['description' => '请求唯一识别码', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
+ 'Success' => ['description' => '调用是否成功。true:表示成功;false:表示失败。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '接口调用成功后,返回的业务数据',
'type' => 'object',
@@ -942,17 +529,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '类别名称',
- 'type' => 'string',
- 'example' => 'ECS无法远程',
- ],
- 'Id' => [
- 'description' => '类别id',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '793',
- ],
+ 'Name' => ['description' => '类别名称', 'type' => 'string', 'example' => 'ECS无法远程'],
+ 'Id' => ['description' => '类别id', 'type' => 'integer', 'format' => 'int32', 'example' => '793'],
],
],
],
@@ -964,36 +542,19 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'Workorder::2021-06-10::ListCategories',
- ],
+ 'substitutions' => ['Workorder::2021-06-10::ListCategories'],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"List\\": [\\n {\\n \\"Name\\": \\"ECS无法远程\\",\\n \\"Id\\": 793\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Data>\\n <List>\\n <Id>793</Id>\\n <Name>ECS无法远程</Name>\\n </List>\\n <List>\\n <Id>794</Id>\\n <Name>服务器打不开</Name>\\n </List>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '获取指定产品下的类别',
@@ -1003,14 +564,8 @@
'extraInfo' => ' ',
],
'ListProducts' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1018,18 +573,12 @@
],
'operationType' => 'read',
'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'get',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1037,27 +586,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '提示信息'."\n",
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '请求唯一识别码'."\n",
- 'type' => 'string',
- 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC',
- ],
- 'Success' => [
- 'description' => '调用是否成功。true:表示成功;false:表示失败。'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '提示信息'."\n", 'type' => 'string', 'example' => 'success'],
+ 'RequestId' => ['description' => '请求唯一识别码'."\n", 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
+ 'Success' => ['description' => '调用是否成功。true:表示成功;false:表示失败。'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '接口调用成功后,返回的数据',
'type' => 'object',
@@ -1068,32 +600,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'GroupName' => [
- 'description' => '技术产品组',
- 'type' => 'string',
- 'example' => '存储与CDN',
- ],
+ 'GroupName' => ['description' => '技术产品组', 'type' => 'string', 'example' => '存储与CDN'],
'ProductList' => [
'description' => '组下包含的产品列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '产品名称',
- 'type' => 'string',
- 'example' => '对象存储 OSS',
- ],
- 'Description' => [
- 'description' => '产品描述',
- 'type' => 'string',
- 'example' => '对象存储 OSS',
- ],
- 'ProductCode' => [
- 'description' => '产品编码',
- 'type' => 'string',
- 'example' => 'oss',
- ],
+ 'Name' => ['description' => '产品名称', 'type' => 'string', 'example' => '对象存储 OSS'],
+ 'Description' => ['description' => '产品描述', 'type' => 'string', 'example' => '对象存储 OSS'],
+ 'ProductCode' => ['description' => '产品编码', 'type' => 'string', 'example' => 'oss'],
],
],
],
@@ -1106,21 +622,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '产品名称',
- 'type' => 'string',
- 'example' => '代理商类',
- ],
- 'Description' => [
- 'description' => '产品描述',
- 'type' => 'string',
- 'example' => '代理商类相关问题',
- ],
- 'ProductCode' => [
- 'description' => '产品编码',
- 'type' => 'string',
- 'example' => 'agent',
- ],
+ 'Name' => ['description' => '产品名称', 'type' => 'string', 'example' => '代理商类'],
+ 'Description' => ['description' => '产品描述', 'type' => 'string', 'example' => '代理商类相关问题'],
+ 'ProductCode' => ['description' => '产品编码', 'type' => 'string', 'example' => 'agent'],
],
],
],
@@ -1130,21 +634,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '产品名称',
- 'type' => 'string',
- 'example' => '会员帐号',
- ],
- 'Description' => [
- 'description' => '产品描述',
- 'type' => 'string',
- 'example' => '换绑手机/邮箱、实名认证、找回用户名/密码等相关问题',
- ],
- 'ProductCode' => [
- 'description' => '产品编码',
- 'type' => 'string',
- 'example' => 'account',
- ],
+ 'Name' => ['description' => '产品名称', 'type' => 'string', 'example' => '会员帐号'],
+ 'Description' => ['description' => '产品描述', 'type' => 'string', 'example' => '换绑手机/邮箱、实名认证、找回用户名/密码等相关问题'],
+ 'ProductCode' => ['description' => '产品编码', 'type' => 'string', 'example' => 'account'],
],
],
],
@@ -1154,21 +646,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '产品名称',
- 'type' => 'string',
- 'example' => '云服务器 ECS',
- ],
- 'Description' => [
- 'description' => '产品描述',
- 'type' => 'string',
- 'example' => '服务器无法远程、网站无法访问、安全等服务器咨询或技术问题',
- ],
- 'ProductCode' => [
- 'description' => '产品编码',
- 'type' => 'string',
- 'example' => 'ecs',
- ],
+ 'Name' => ['description' => '产品名称', 'type' => 'string', 'example' => '云服务器 ECS'],
+ 'Description' => ['description' => '产品描述', 'type' => 'string', 'example' => '服务器无法远程、网站无法访问、安全等服务器咨询或技术问题'],
+ 'ProductCode' => ['description' => '产品编码', 'type' => 'string', 'example' => 'ecs'],
],
],
],
@@ -1180,36 +660,19 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'Workorder::2021-06-10::ListProducts',
- ],
+ 'substitutions' => ['Workorder::2021-06-10::ListProducts'],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TechMore\\": [\\n {\\n \\"GroupName\\": \\"存储与CDN\\",\\n \\"ProductList\\": [\\n {\\n \\"Name\\": \\"对象存储 OSS\\",\\n \\"Description\\": \\"对象存储 OSS\\",\\n \\"ProductCode\\": \\"oss\\"\\n }\\n ]\\n }\\n ],\\n \\"HotConsultation\\": [\\n {\\n \\"Name\\": \\"代理商类\\",\\n \\"Description\\": \\"代理商类相关问题\\",\\n \\"ProductCode\\": \\"agent\\"\\n }\\n ],\\n \\"ConsultationMore\\": [\\n {\\n \\"Name\\": \\"会员帐号\\",\\n \\"Description\\": \\"换绑手机/邮箱、实名认证、找回用户名/密码等相关问题\\",\\n \\"ProductCode\\": \\"account\\"\\n }\\n ],\\n \\"HotTech\\": [\\n {\\n \\"Name\\": \\"云服务器 ECS\\",\\n \\"Description\\": \\"服务器无法远程、网站无法访问、安全等服务器咨询或技术问题\\",\\n \\"ProductCode\\": \\"ecs\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Data>\\n <ConsultationMore>\\n <Description>备案咨询、补偿、退款、等相关问题</Description>\\n <Id>76</Id>\\n <Name>备案</Name>\\n </ConsultationMore>\\n <HotConsultation>\\n <Description>订单,提现,发票,汇款,代金券等相关问题</Description>\\n <Id>1193</Id>\\n <Name>财务类</Name>\\n </HotConsultation>\\n <HotConsultation>\\n <Description>换绑手机/邮箱、实名认证、找回用户名/密码等相关问题</Description>\\n <Id>1194</Id>\\n <Name>会员帐号</Name>\\n </HotConsultation>\\n <HotConsultation>\\n <Description>客户端配置/使用、收发信件异常及退信、postmaster管理员、垃圾邮件等相关问题</Description>\\n <Id>88</Id>\\n <Name>企业邮箱</Name>\\n </HotConsultation>\\n <TechMore>\\n <GroupName>弹性计算</GroupName>\\n <ProductList>\\n <Description>无法配置SLB、负载不均衡、健康检查异常等问题</Description>\\n <Id>86</Id>\\n <Name>负载均衡</Name>\\n </ProductList>\\n <ProductList>\\n <Description>bucket创建/使用、API密钥等OSS咨询或技术问题--</Description>\\n <Id>22</Id>\\n <Name>对象存储 OSS</Name>\\n </ProductList>\\n <ProductList>\\n <Description>独享主机重启、远程无法连接、密码初始化、系统初始化等相关问题</Description>\\n <Id>101</Id>\\n <Name>独享主机</Name>\\n </ProductList>\\n <ProductList>\\n <Description>控制面板、FTP使用、数据库、网站访问等轻云服务器问题</Description>\\n <Id>1205</Id>\\n <Name>轻云服务器</Name>\\n </ProductList>\\n <ProductList>\\n <Description>(原万网)虚拟主机、独享主机、轻云服务器、云享服务器相关问题</Description>\\n <Id>1215</Id>\\n <Name>(原万网)主机</Name>\\n </ProductList>\\n </TechMore>\\n <TechMore>\\n <GroupName>更多</GroupName>\\n <ProductList>\\n <Description>竞赛规则、技术咨询等相关问题</Description>\\n <Id>1209</Id>\\n <Name>天池</Name>\\n </ProductList>\\n </TechMore>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '获取产品类别列表',
@@ -1220,221 +683,59 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2020-08-01/api-docs.php b/data/zh_cn/workorder/2020-08-01/api-docs.php
index 01856cf..001aba3 100644
--- a/data/zh_cn/workorder/2020-08-01/api-docs.php
+++ b/data/zh_cn/workorder/2020-08-01/api-docs.php
@@ -1,22 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2020-08-01',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2020-08-01'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'CreateTicket',
- 'GetAttachmentUploadUrl',
- 'GetAttachmentUrl',
- 'GetTicket',
- 'ListTickets',
- ],
+ 'children' => ['CreateTicket', 'GetAttachmentUploadUrl', 'GetAttachmentUrl', 'GetTicket', 'ListTickets'],
],
],
'components' => [
@@ -24,14 +14,8 @@
],
'apis' => [
'CreateTicket' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -39,94 +23,57 @@
],
'operationType' => 'write',
'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SecretContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProductCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Phone',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Email',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'NotifyTimeRange',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'FileNameList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'CommonQuestionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
'responses' => [
@@ -134,83 +81,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'AccessDeniedDetail' => [
- 'type' => 'string',
- ],
- 'TicketId' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'AccessDeniedDetail' => ['type' => 'string'],
+ 'TicketId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'illegalParam.emailOrPhone',
- 'errorMessage' => 'The specified contact email or mobile phone number must be the data received by the account messenger.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'illegalParam.emailOrPhone', 'errorMessage' => 'The specified contact email or mobile phone number must be the data received by the account messenger.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
429 => [
- [
- 'errorCode' => 'Throttling.Api',
- 'errorMessage' => 'The request was denied due to API flow control.',
- ],
+ ['errorCode' => 'Throttling.Api', 'errorMessage' => 'The request was denied due to API flow control.'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'Workorder::2021-06-10::CreateTicket',
- ],
+ 'substitutions' => ['Workorder::2021-06-10::CreateTicket'],
],
'responseDemo' => '',
],
'GetAttachmentUploadUrl' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -218,19 +123,12 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -238,61 +136,32 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PutObjectUrl' => [
- 'type' => 'string',
- ],
- 'ObjectKey' => [
- 'type' => 'string',
- ],
- 'AccessFileUrl' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'PutObjectUrl' => ['type' => 'string'],
+ 'ObjectKey' => ['type' => 'string'],
+ 'AccessFileUrl' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
'GetAttachmentUrl' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -300,37 +169,22 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'AttachName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'TicketId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'NoteId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -338,55 +192,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AccessFileUrl' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'AccessFileUrl' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
'GetTicket' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -394,19 +223,12 @@
],
'operationType' => 'read',
'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TicketId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -414,71 +236,32 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'AccessDeniedDetail' => [
- 'type' => 'string',
- ],
- 'Email' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'TicketStatus' => [
- 'type' => 'string',
- ],
- 'TicketId' => [
- 'type' => 'string',
- ],
- 'Title' => [
- 'type' => 'string',
- ],
- 'Phone' => [
- 'type' => 'string',
- ],
- 'NotifyTimeRange' => [
- 'type' => 'string',
- ],
- 'ProductCode' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'AccessDeniedDetail' => ['type' => 'string'],
+ 'Email' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'TicketStatus' => ['type' => 'string'],
+ 'TicketId' => ['type' => 'string'],
+ 'Title' => ['type' => 'string'],
+ 'Phone' => ['type' => 'string'],
+ 'NotifyTimeRange' => ['type' => 'string'],
+ 'ProductCode' => ['type' => 'string'],
'List' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Special' => [
- 'type' => 'boolean',
- ],
- 'GmtCreated' => [
- 'type' => 'string',
- ],
- 'FromOfficial' => [
- 'type' => 'boolean',
- ],
- 'NoteId' => [
- 'type' => 'string',
- ],
- 'Content' => [
- 'type' => 'string',
- ],
+ 'Special' => ['type' => 'boolean'],
+ 'GmtCreated' => ['type' => 'string'],
+ 'FromOfficial' => ['type' => 'boolean'],
+ 'NoteId' => ['type' => 'string'],
+ 'Content' => ['type' => 'string'],
'AttachList' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -489,54 +272,28 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'Workorder::2021-06-10::GetTicket',
- ],
+ 'substitutions' => ['Workorder::2021-06-10::GetTicket'],
],
'responseDemo' => '',
],
'ListTickets' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -544,73 +301,42 @@
],
'operationType' => 'read',
'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'CreatedAfterTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'CreatedBeforeTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProductCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'default' => '15',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'default' => '15'],
],
[
'name' => 'TicketStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageStart',
'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' => 'ExtraConditionList',
@@ -621,14 +347,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Value' => ['type' => 'string', 'required' => false],
+ 'Name' => ['type' => 'string', 'required' => false],
],
],
'required' => false,
@@ -641,51 +361,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'AccessDeniedDetail' => [
- 'type' => 'string',
- ],
- 'CurrentPage' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Total' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'AccessDeniedDetail' => ['type' => 'string'],
+ 'CurrentPage' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'Total' => ['type' => 'integer', 'format' => 'int32'],
'List' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Title' => [
- 'type' => 'string',
- ],
- 'AddTime' => [
- 'type' => 'string',
- ],
- 'TicketStatus' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
+ 'Title' => ['type' => 'string'],
+ 'AddTime' => ['type' => 'string'],
+ 'TicketStatus' => ['type' => 'string'],
+ 'Id' => ['type' => 'string'],
],
],
],
@@ -695,262 +387,80 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessChinaSite',
- 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.',
- ],
- [
- 'errorCode' => 'Illegal.NeedAccessInternationalSite',
- 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.'],
+ ['errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.'],
+ ['errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'illegal auth',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'Workorder::2021-06-10::ListTickets',
- ],
+ 'substitutions' => ['Workorder::2021-06-10::ListTickets'],
],
'responseDemo' => '',
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2020-12-10/api-docs.php b/data/zh_cn/workorder/2020-12-10/api-docs.php
index c89d201..245cff6 100644
--- a/data/zh_cn/workorder/2020-12-10/api-docs.php
+++ b/data/zh_cn/workorder/2020-12-10/api-docs.php
@@ -1,20 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2020-12-10',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2020-12-10'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'SuggestCategory',
- 'GetTicketTemplate',
- 'IsFirstBbsTicket',
- ],
+ 'children' => ['SuggestCategory', 'GetTicketTemplate', 'IsFirstBbsTicket'],
],
],
'components' => [
@@ -24,27 +16,26 @@
'description' => '问题分类参数',
'type' => 'object',
'properties' => [
- 'CategoryId' => [
- 'title' => '二级问题分类ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'CategoryName' => [
- 'title' => '二级问题分类名称',
- 'type' => 'string',
- ],
- 'ProductId' => [
- 'title' => '一级问题分类ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ProductName' => [
- 'title' => '一级问题分类名称',
- 'type' => 'string',
- ],
- 'IsSelectFromDialog' => [
- 'title' => '是否来自对话',
- 'type' => 'boolean',
+ 'CategoryId' => ['title' => '二级问题分类ID', 'type' => 'integer', 'format' => 'int64'],
+ 'CategoryName' => ['title' => '二级问题分类名称', 'type' => 'string'],
+ 'ProductId' => ['title' => '一级问题分类ID', 'type' => 'integer', 'format' => 'int64'],
+ 'ProductName' => ['title' => '一级问题分类名称', 'type' => 'string'],
+ 'IsSelectFromDialog' => ['title' => '是否来自对话', 'type' => 'boolean'],
+ ],
+ ],
+ 'CategoryTreeNode' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['type' => 'integer', 'format' => 'int64'],
+ 'Name' => ['type' => 'string'],
+ 'NameEn' => ['type' => 'string'],
+ 'ParentId' => ['type' => 'integer', 'format' => 'int64'],
+ 'Layer' => ['type' => 'integer', 'format' => 'int32'],
+ 'ProductCode' => ['type' => 'string'],
+ 'HasChildren' => ['type' => 'boolean'],
+ 'Children' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/CategoryTreeNode'],
],
],
],
@@ -53,246 +44,115 @@
'description' => '对话基础对象',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'title' => '状态',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'TicketId' => ['title' => '工单ID', 'type' => 'string'],
+ 'Attachments' => [
+ 'title' => '消息附件',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['title' => '名称', 'type' => 'string'],
+ 'Url' => ['title' => '链接', 'type' => 'string'],
+ 'Size' => ['title' => '大小', 'type' => 'string'],
+ 'Type' => ['title' => '类型', 'type' => 'string'],
+ ],
+ ],
+ ],
+ 'Status' => ['title' => '状态', 'type' => 'integer', 'format' => 'int32'],
+ 'Timestamp' => ['title' => '时间戳', 'type' => 'integer', 'format' => 'int64'],
+ 'CreateTime' => ['title' => '创建时间戳', 'type' => 'integer', 'format' => 'int64'],
+ 'ModifiedTime' => ['title' => '修改时间时间戳', 'type' => 'integer', 'format' => 'int64'],
+ 'Type' => ['title' => '类型', 'type' => 'integer', 'format' => 'int32'],
+ 'DialogId' => ['title' => '对话ID', 'type' => 'integer', 'format' => 'int64'],
+ 'Tip' => ['title' => '提示', 'type' => 'string'],
+ 'Stage' => ['title' => '处理阶段', 'type' => 'integer', 'format' => 'int32'],
+ 'FooterInfo' => [
+ 'title' => '对话脚',
+ 'type' => 'object',
+ 'properties' => [
+ 'Schema' => ['title' => '卡片内容', 'type' => 'string'],
+ 'Ext' => [
+ 'title' => '值',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any'],
+ ],
+ ],
],
'DataInfo' => [
'title' => '对话内容',
'type' => 'object',
'properties' => [
- 'Schema' => [
- 'title' => '卡片内容',
- 'type' => 'string',
- ],
+ 'SchemaId' => ['title' => '卡片ID', 'type' => 'integer', 'format' => 'int64'],
+ 'Schema' => ['title' => '卡片内容', 'type' => 'string'],
+ 'Title' => ['title' => '标题', 'type' => 'string'],
'Values' => [
'title' => '卡片值',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- 'Title' => [
- 'title' => '标题',
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'any'],
],
- 'BizType' => [
- 'title' => '埋点',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Props' => [
- 'title' => '新版对话组件的属性',
+ 'Content' => ['title' => '对话内容', 'type' => 'string'],
+ 'ContentDesensitized' => ['title' => '对话脱敏后内容', 'type' => 'string'],
+ 'Editable' => ['title' => '是否可操作', 'type' => 'integer', 'format' => 'int32'],
+ 'BizType' => ['title' => '埋点', 'type' => 'integer', 'format' => 'int32'],
+ 'BizId' => ['title' => '埋点', 'type' => 'string'],
+ 'Component' => [
+ 'title' => '新版对话组件',
'type' => 'array',
'items' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
+ 'additionalProperties' => ['type' => 'any'],
],
],
- 'ContentDesensitized' => [
- 'title' => '对话脱敏后内容',
- 'type' => 'string',
- ],
- 'Container' => [
- 'type' => 'any',
- ],
- 'Content' => [
- 'title' => '对话内容',
- 'type' => 'string',
- ],
- 'SchemaId' => [
- 'title' => '卡片ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Editable' => [
- 'title' => '是否可操作',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Component' => [
- 'title' => '新版对话组件',
+ 'Props' => [
+ 'title' => '新版对话组件的属性',
'type' => 'array',
'items' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
+ 'additionalProperties' => ['type' => 'any'],
],
],
- 'BizId' => [
- 'title' => '埋点',
- 'type' => 'string',
- ],
- 'ServiceChannel' => [
- 'title' => '服务渠道',
- 'type' => 'string',
- ],
- ],
- ],
- 'HitWords' => [
- 'title' => '命中关键字',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
+ 'ServiceChannel' => ['title' => '服务渠道', 'type' => 'string'],
+ 'Container' => ['type' => 'any'],
],
],
- 'CreateTime' => [
- 'title' => '创建时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DialogId' => [
- 'title' => '对话ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ChannelCode' => [
- 'title' => '渠道code',
- 'type' => 'string',
- ],
'UserInfo' => [
'title' => '用户信息',
'type' => 'object',
'properties' => [
- 'Role' => [
- 'title' => '身份角色',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'UserName' => [
- 'title' => '用户名',
- 'type' => 'string',
- ],
- 'UserId' => [
- 'title' => '用户ID',
- 'type' => 'string',
- ],
- 'Avatar' => [
- 'title' => '头像',
- 'type' => 'string',
- ],
+ 'UserId' => ['title' => '用户ID', 'type' => 'string'],
+ 'UserName' => ['title' => '用户名', 'type' => 'string'],
+ 'Role' => ['title' => '身份角色', 'type' => 'integer', 'format' => 'int32'],
+ 'Avatar' => ['title' => '头像', 'type' => 'string'],
],
],
- 'TicketStatus' => [
- 'title' => '工单状态快照',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Attachments' => [
- 'title' => '消息附件',
+ 'ReferInfo' => ['title' => '引用对话', '$ref' => '#/components/schemas/DialogBaseBody'],
+ 'HitWords' => [
+ 'title' => '命中关键字',
'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'title' => '类型',
- 'type' => 'string',
- ],
- 'Size' => [
- 'title' => '大小',
- 'type' => 'string',
- ],
- 'Url' => [
- 'title' => '链接',
- 'type' => 'string',
- ],
- 'Name' => [
- 'title' => '名称',
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'Timestamp' => [
- 'title' => '时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReferInfo' => [
- 'title' => '引用对话',
- '$ref' => '#/components/schemas/DialogBaseBody',
- ],
- 'FooterInfo' => [
- 'title' => '对话脚',
- 'type' => 'object',
- 'properties' => [
- 'Ext' => [
- 'title' => '值',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- 'Schema' => [
- 'title' => '卡片内容',
- 'type' => 'string',
- ],
- ],
- ],
- 'Type' => [
- 'title' => '类型',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TicketId' => [
- 'title' => '工单ID',
- 'type' => 'string',
- ],
- 'ModifiedTime' => [
- 'title' => '修改时间时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Stage' => [
- 'title' => '处理阶段',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Tip' => [
- 'title' => '提示',
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'ChannelCode' => ['title' => '渠道code', 'type' => 'string'],
+ 'TicketStatus' => ['title' => '工单状态快照', 'type' => 'integer', 'format' => 'int32'],
+ 'DiagnoseTaskId' => ['type' => 'string'],
],
],
'WelcomeBlock' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'type' => 'string',
- ],
- 'DisplayType' => [
- 'type' => 'string',
- ],
- 'Label' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'Icon' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Type' => ['type' => 'string'],
+ 'DisplayType' => ['type' => 'string'],
+ 'Label' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
+ 'Icon' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
],
],
],
],
'apis' => [
'SuggestCategory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -300,76 +160,52 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TicketId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true],
],
[
'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'TopN',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
[
'name' => 'UseHotSuggestCatchAll',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean'],
],
[
'name' => 'Cna',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'DistributionChannel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'SubDistributionChannel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Referrer',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'XGatewayExtendInfo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -377,54 +213,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
'Data' => [
'type' => 'array',
- 'items' => [
- 'type' => 'object',
- ],
- ],
- 'AccessDeniedDetail' => [
- 'type' => 'string',
- ],
- 'HttpStatusCode' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'items' => ['type' => 'object'],
],
+ 'AccessDeniedDetail' => ['type' => 'string'],
+ 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
],
],
'responseDemo' => '',
],
'GetTicketTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -435,57 +247,37 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '99999999',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '99999999', 'minimum' => '0'],
],
[
'name' => 'Cna',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'DistributionChannel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'SubDistributionChannel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Referrer',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'XGatewayExtendInfo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -493,110 +285,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Data' => [
- 'type' => 'object',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'AccessDeniedDetail' => [
- 'type' => 'string',
- ],
- 'HttpStatusCode' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Data' => ['type' => 'object'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'AccessDeniedDetail' => ['type' => 'string'],
+ 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.'],
],
],
'responseDemo' => '',
],
'IsFirstBbsTicket' => [
'summary' => '是否首次访问BBS工单',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Cna',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'DistributionChannel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'SubDistributionChannel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Referrer',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'XGatewayExtendInfo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -604,21 +349,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Data' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Data' => ['type' => 'boolean'],
],
],
],
@@ -627,221 +362,59 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2021-05-10/api-docs.php b/data/zh_cn/workorder/2021-05-10/api-docs.php
index de6ab80..e5d071f 100644
--- a/data/zh_cn/workorder/2021-05-10/api-docs.php
+++ b/data/zh_cn/workorder/2021-05-10/api-docs.php
@@ -1,25 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2021-05-10',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2021-05-10'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'CloseTicket',
- 'CreateTicket',
- 'GetMessageTag',
- 'ListCategories',
- 'ListProducts',
- 'ListTicketNotes',
- 'ReplyTicket',
- 'ListTickets',
- ],
+ 'children' => ['CloseTicket', 'CreateTicket', 'GetMessageTag', 'ListCategories', 'ListProducts', 'ListTicketNotes', 'ReplyTicket', 'ListTickets'],
],
],
'components' => [
@@ -27,13 +14,8 @@
],
'apis' => [
'CloseTicket' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -44,19 +26,12 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TicketId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -64,41 +39,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
'CreateTicket' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -109,40 +67,22 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Severity',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '1000',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1000', 'minimum' => '0'],
],
[
'name' => 'CategoryId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -150,45 +90,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
'GetMessageTag' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -199,55 +119,32 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
'ListCategories' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -258,22 +155,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'ParentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '99999999999',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '99999999999', 'minimum' => '0'],
],
],
'responses' => [
@@ -281,31 +168,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
'Data' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'CategoryName' => [
- 'type' => 'string',
- ],
- 'CategoryId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'CategoryName' => ['type' => 'string'],
+ 'CategoryId' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -315,23 +188,14 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
'ListProducts' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -342,19 +206,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true],
],
],
'responses' => [
@@ -362,47 +219,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
'Data' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'OrderNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TopCategoryId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TopCategoryName' => [
- 'type' => 'string',
- ],
+ 'OrderNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'TopCategoryId' => ['type' => 'integer', 'format' => 'int64'],
+ 'TopCategoryName' => ['type' => 'string'],
'Roots' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'CategoryName' => [
- 'type' => 'string',
- ],
- 'CategoryId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'CategoryName' => ['type' => 'string'],
+ 'CategoryId' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -415,23 +250,14 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
'ListTicketNotes' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -442,19 +268,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TicketId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -462,64 +281,32 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
'Data' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Status' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Tip' => [
- 'type' => 'string',
- ],
- 'DialogId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'CreateTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'Type' => ['type' => 'integer', 'format' => 'int32'],
+ 'Status' => ['type' => 'integer', 'format' => 'int32'],
+ 'Tip' => ['type' => 'string'],
+ 'DialogId' => ['type' => 'integer', 'format' => 'int64'],
+ 'CreateTime' => ['type' => 'integer', 'format' => 'int64'],
'DataInfo' => [
'type' => 'object',
'properties' => [
- 'Schema' => [
- 'type' => 'string',
- ],
- 'Content' => [
- 'type' => 'string',
- ],
+ 'Schema' => ['type' => 'string'],
+ 'Content' => ['type' => 'string'],
],
],
'UserInfo' => [
'type' => 'object',
'properties' => [
- 'Role' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'UserName' => [
- 'type' => 'string',
- ],
+ 'Role' => ['type' => 'integer', 'format' => 'int32'],
+ 'UserName' => ['type' => 'string'],
],
],
],
@@ -531,22 +318,14 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
'ReplyTicket' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -557,37 +336,22 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TicketId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Content',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SecContent',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true],
],
],
'responses' => [
@@ -595,45 +359,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
'ListTickets' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -644,70 +388,37 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'BeginDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '9999999',
- 'minimum' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9999999', 'minimum' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '100',
- 'minimum' => '10',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '10'],
],
[
'name' => 'TicketId',
'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' => 'StatusList',
@@ -715,9 +426,7 @@
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
'maxItems' => 11,
],
@@ -728,51 +437,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Code' => ['type' => 'integer', 'format' => 'int32'],
+ 'Message' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
'Data' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TicketId' => [
- 'type' => 'string',
- ],
- 'Title' => [
- 'type' => 'string',
- ],
+ 'TicketId' => ['type' => 'string'],
+ 'Title' => ['type' => 'string'],
'Status' => [
'type' => 'object',
'properties' => [
- 'Label' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
+ 'Label' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
],
@@ -784,231 +467,66 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.'],
],
],
'responseDemo' => '',
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/workorder/2021-06-10/api-docs.php b/data/zh_cn/workorder/2021-06-10/api-docs.php
index 34e7e72..ce9d852 100644
--- a/data/zh_cn/workorder/2021-06-10/api-docs.php
+++ b/data/zh_cn/workorder/2021-06-10/api-docs.php
@@ -1,37 +1,14 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Workorder',
- 'version' => '2021-06-10',
- ],
- 'directories' => [
- 'GetTicket',
- 'CreateTicket',
- 'ReplyTicket',
- 'CloseTicket',
- 'EvaluateTicket',
- 'ListTickets',
- 'ListTicketNotes',
- 'ListProducts',
- 'ListCategories',
- 'GetMqConsumerTag',
- 'ReopenTicket',
- 'GetAttachmentUploadUrl',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2021-06-10'],
+ 'directories' => ['GetTicket', 'CreateTicket', 'ReplyTicket', 'CloseTicket', 'EvaluateTicket', 'ListTickets', 'ListTicketNotes', 'ListProducts', 'ListCategories', 'GetMqConsumerTag', 'ReopenTicket', 'GetAttachmentUploadUrl'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'GetTicket' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CloseTicket' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -40,33 +17,19 @@
'APP' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TicketId',
'in' => 'formData',
- 'schema' => [
- 'description' => '工单编号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '001571BTXC',
- ],
+ 'schema' => ['description' => '工单编号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'G2BKRWG'],
],
[
'name' => 'Uid',
'in' => 'formData',
- 'schema' => [
- 'description' => 'UID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1604499804113750',
- ],
+ 'schema' => ['description' => '用户UID。您可以通过DMS控制台右上角头像处查看您的UID。', 'type' => 'string', 'required' => false, 'example' => '1139477549527134'],
],
],
'responses' => [
@@ -74,169 +37,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '无权限错误详细信息。如果有权限,则返回空字符串。',
- 'type' => 'string',
- 'example' => '{\\"AuthAction\\":\\"ram:GetTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}',
- ],
- 'RequestId' => [
- 'description' => '阿里云为该请求生成的唯一标识符。',
- 'type' => 'string',
- 'example' => 'C499BB0F-630D-5BE6-B3EA-5FCD95B85503',
- ],
- 'Success' => [
- 'description' => '调用接口返回是否成功,true代表调用正常',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '接口请求结果返回码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'PageNumber' => [
- 'description' => '分页查询参数的页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询参数的每页条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '查询结果总数, 即我的工单记录总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '108',
- ],
- 'Data' => [
- 'description' => '接口调用成功后,返回的业务数据',
- 'type' => 'object',
- 'properties' => [
- 'TicketId' => [
- 'description' => '工单编号',
- 'type' => 'string',
- 'example' => '0005PYGCW',
- ],
- 'Title' => [
- 'description' => '工单标题',
- 'type' => 'string',
- 'example' => 'ecs续费失败啥原因',
- ],
- 'Description' => [
- 'description' => '工单问题描述, 目前只支持纯文本格式',
- 'type' => 'string',
- 'example' => 'ecs无法启动',
- ],
- 'CreateTime' => [
- 'description' => '工单创建时间的时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1623396736000',
- ],
- 'CreatorId' => [
- 'description' => '工单创建人uid',
- 'type' => 'string',
- 'example' => '1168025',
- ],
- 'CategoryId' => [
- 'description' => '工单问题分类ID',
- 'type' => 'string',
- 'example' => '7161',
- ],
- 'Status' => [
- 'description' => '工单状态, 参考值如下'."\n"
- .'1, "assigned", "待响应", '."\n"
- .'2, "dealing", "处理中",'."\n"
- .'3, "wait_feedback", "待反馈",'."\n"
- .'4, "feedback", "已反馈",'."\n"
- .'5, "wait_confirm", "待确认",'."\n"
- .'6, "confirmed", "已完成"',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '状态枚举文本',
- 'type' => 'string',
- 'example' => '已完成',
- ],
- 'Value' => [
- 'description' => '状态枚举值',
- 'type' => 'string',
- 'example' => '6',
- ],
- ],
- ],
- 'Severity' => [
- 'description' => '紧急度枚举值, 1 代表一般问题, 2 代表紧急问题',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '枚举文本',
- 'type' => 'string',
- 'example' => '一般问题',
- ],
- 'Value' => [
- 'description' => '枚举值',
- 'type' => 'string',
- 'example' => '1',
- ],
- ],
- ],
- ],
- ],
+ 'AccessDeniedDetail' => ['description' => '无权限错误详细信息。如果有权限,则返回空字符串。', 'type' => 'string', 'example' => '{\\"AuthAction\\":\\"ram:CloseTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}'],
+ 'Code' => ['description' => '接口请求结果返回码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message', 'type' => 'string', 'example' => 'success'],
+ 'RequestId' => ['description' => '请求唯一识别码。', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
+ 'Success' => ['description' => '调用接口返回是否成功,true代表调用正常', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'illegal.param',
- 'errorMessage' => 'Illegal param.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:GetTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"C499BB0F-630D-5BE6-B3EA-5FCD95B85503\\",\\n \\"Success\\": true,\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 108,\\n \\"Data\\": {\\n \\"TicketId\\": \\"0005PYGCW\\",\\n \\"Title\\": \\"ecs续费失败啥原因\\",\\n \\"Description\\": \\"ecs无法启动\\",\\n \\"CreateTime\\": 1623396736000,\\n \\"CreatorId\\": \\"1168025\\",\\n \\"CategoryId\\": \\"7161\\",\\n \\"Status\\": {\\n \\"Label\\": \\"已完成\\",\\n \\"Value\\": \\"6\\"\\n },\\n \\"Severity\\": {\\n \\"Label\\": \\"一般问题\\",\\n \\"Value\\": \\"1\\"\\n }\\n }\\n}","type":"json"}]',
- 'title' => '查询工单',
- 'summary' => '查询工单。',
+ 'title' => '关闭工单',
+ 'summary' => '关闭工单。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CloseTicket'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:CloseTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'CreateTicket' => [
'summary' => '创建工单。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -247,23 +85,12 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '工单问题描述, 目前只支持纯文本格式',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ecs备份失败',
- ],
+ 'schema' => ['description' => '工单问题描述, 目前只支持纯文本格式', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ECS backup failed'],
],
[
'name' => 'Severity',
@@ -276,53 +103,29 @@
'docRequired' => true,
'maximum' => '1000',
'minimum' => '0',
- 'enumValueTitles' => [
- 1 => '普通',
- '紧急',
- ],
+ 'enumValueTitles' => [1 => '普通', '紧急'],
'example' => '1',
],
],
[
'name' => 'CategoryId',
'in' => 'formData',
- 'schema' => [
- 'description' => '问题分类ID, 从ListCategories接口中获取返回值CategoryId',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '53812',
- ],
+ 'schema' => ['description' => '问题分类ID, 从ListCategories接口中获取返回值CategoryId', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '53812'],
],
[
'name' => 'Title',
'in' => 'formData',
- 'schema' => [
- 'description' => '工单标题',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs备份失败',
- ],
+ 'schema' => ['description' => '工单标题', 'type' => 'string', 'required' => false, 'example' => 'ECS backup failed'],
],
[
'name' => 'CreatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '提交账号的阿里云uid,MPK虚商场景需要',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1289427240739141',
- ],
+ 'schema' => ['description' => '提交账号的阿里云uid,MPK虚商场景需要', 'type' => 'string', 'required' => false, 'example' => '1289427240739141'],
],
[
'name' => 'Email',
'in' => 'formData',
- 'schema' => [
- 'description' => '用户提交工单的联系邮箱地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sdahkjdshga@qq.com',
- ],
+ 'schema' => ['description' => '用户提交工单的联系邮箱地址。', 'type' => 'string', 'required' => false, 'example' => 'sdahkjdshga@qq.com'],
],
[
'name' => 'FileNameList',
@@ -331,12 +134,7 @@
'schema' => [
'description' => '附件名称列表,GetAttachmentUploadUrl接口返回的ObjectKey字段',
'type' => 'array',
- 'items' => [
- 'description' => 'GetAttachmentUploadUrl接口返回的ObjectKey字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png',
- ],
+ 'items' => ['description' => 'GetAttachmentUploadUrl接口返回的ObjectKey字段', 'type' => 'string', 'required' => false, 'example' => 'cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png'],
'required' => false,
],
],
@@ -348,21 +146,11 @@
'description' => '敏感信息',
'type' => 'object',
'properties' => [
- 'Content' => [
- 'description' => '敏感信息—文本内容',
- 'type' => 'string',
- 'required' => false,
- 'example' => '身份证:3310xxxx',
- ],
+ 'Content' => ['description' => '敏感信息—文本内容', 'type' => 'string', 'required' => false, 'example' => 'ID card: 3310xxxx'],
'FileNameList' => [
'description' => '敏感信息—附件名称列表',
'type' => 'array',
- 'items' => [
- 'description' => 'GetAttachmentUploadUrl接口返回的ObjectKey字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png',
- ],
+ 'items' => ['description' => 'GetAttachmentUploadUrl接口返回的ObjectKey字段', 'type' => 'string', 'required' => false, 'example' => 'cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png'],
'required' => false,
],
],
@@ -375,79 +163,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '无权限错误详细信息。如果有权限,则返回空字符串。',
- 'type' => 'string',
- 'example' => '{\\"AuthAction\\":\\"ram:CreateTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}',
- ],
- 'Code' => [
- 'description' => '接口请求结果返回码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Data' => [
- 'description' => '返回值, 即工单号',
- 'type' => 'string',
- 'example' => '0005PYGCW',
- ],
- 'RequestId' => [
- 'description' => '接口请求的唯一ID, 每次调用requestID唯一',
- 'type' => 'string',
- 'example' => '0254B7DE-7365-57B4-8E38-14FE927E3FEB',
- ],
- 'Success' => [
- 'description' => '调用接口返回是否成功, true代表调用正常',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'AccessDeniedDetail' => ['description' => '无权限错误详细信息。如果有权限,则返回空字符串。', 'type' => 'string', 'example' => '{\\"AuthAction\\":\\"ram:CreateTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}'],
+ 'Code' => ['description' => '接口请求结果返回码', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message', 'type' => 'string', 'example' => 'success'],
+ 'Data' => ['description' => '返回值, 即工单号', 'type' => 'string', 'example' => '0005PYGCW'],
+ 'RequestId' => ['description' => '接口请求的唯一ID, 每次调用requestID唯一', 'type' => 'string', 'example' => '0254B7DE-7365-57B4-8E38-14FE927E3FEB'],
+ 'Success' => ['description' => '调用接口返回是否成功, true代表调用正常', 'type' => 'boolean', 'example' => 'True'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:CreateTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"0005PYGCW\\",\\n \\"RequestId\\": \\"0254B7DE-7365-57B4-8E38-14FE927E3FEB\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '新建工单',
- ],
- 'ReplyTicket' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateTicket'],
+ ],
],
+ ],
+ 'EvaluateTicket' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -458,69 +210,32 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TicketId',
'in' => 'formData',
- 'schema' => [
- 'description' => '工单号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '0005PYGCW',
- ],
+ 'schema' => ['description' => '工单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '001ET1BU1P'],
],
[
- 'name' => 'Content',
+ 'name' => 'Solved',
'in' => 'formData',
- 'schema' => [
- 'description' => '工单回复的内容',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '好的, 我这边已经续费成功',
- ],
+ 'schema' => ['description' => '是否解决', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
],
[
- 'name' => 'FileNameList',
- 'in' => 'query',
- 'style' => 'simple',
- 'schema' => [
- 'description' => '附件名称列表,GetAttachmentUploadUrl接口返回的ObjectKey字段',
- 'type' => 'array',
- 'items' => [
- 'description' => 'GetAttachmentUploadUrl接口返回的ObjectKey字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6bc06f96-f8c1-4c00-9e30-368444fbd025.jpg,',
- ],
- 'required' => false,
- ],
+ 'name' => 'Score',
+ 'in' => 'formData',
+ 'schema' => ['description' => '评价星级1-5星', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'Encrypt',
+ 'name' => 'Content',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否加密',
- 'type' => 'boolean',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '评价内容', 'type' => 'string', 'required' => false, 'example' => 'Very satisfactory support experience'],
],
[
'name' => 'Uid',
'in' => 'formData',
- 'schema' => [
- 'description' => '阿里云UID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1289427240739141',
- ],
+ 'schema' => ['description' => 'UID', 'type' => 'string', 'required' => false, 'example' => '1902070573958003'],
],
],
'responses' => [
@@ -528,80 +243,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '状态码'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => '非法的入参',
- ],
- 'Data' => [
- 'description' => '返回值, 即工单回复内容的dialogID'."\n",
- 'type' => 'string',
- 'example' => '46434030',
- ],
- 'RequestId' => [
- 'description' => '接口请求的唯一id,每次调用requestid唯一',
- 'type' => 'string',
- 'example' => 'C1DA4C6F-963E-5741-AB57-67A554D102FD',
- ],
- 'Success' => [
- 'description' => '调用接口返回是否成功,true代表调用正常',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '无权限错误详细信息。如果有权限,则返回空字符串。',
- 'type' => 'string',
- 'example' => '{\\"AuthAction\\":\\"ram:ReplyTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}',
- ],
+ 'AccessDeniedDetail' => ['description' => '无权限错误详细信息。如果有权限,则返回空字符串。', 'type' => 'string', 'example' => '{\\"AuthAction\\":\\"ram:EvaluateTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}'],
+ 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => 'successful'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C1DA4C6F-963E-5741-AB57-67A554D102FD'],
+ 'Success' => ['description' => '调用是否成功。true:表示成功;false:表示失败。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"非法的入参\\",\\n \\"Data\\": \\"46434030\\",\\n \\"RequestId\\": \\"C1DA4C6F-963E-5741-AB57-67A554D102FD\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:ReplyTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\"\\n}","type":"json"}]',
- 'title' => '回复工单',
- 'summary' => '工单回复, 回复的内容可以通过ListTicketNotes接口获取。',
- ],
- 'CloseTicket' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:EvaluateTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"C1DA4C6F-963E-5741-AB57-67A554D102FD\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<EvaluateTicketResponse>\\n <Code>200</Code>\\n <Message>successful</Message>\\n <RequestId>C1DA4C6F-963E-5741-AB57-67A554D102FD</RequestId>\\n <Success>true</Success>\\n</EvaluateTicketResponse>","errorExample":""}]',
+ 'title' => '评价工单',
+ 'summary' => '评价工单。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EvaluateTicket'],
+ ],
],
+ ],
+ 'GetAttachmentUploadUrl' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -612,31 +293,12 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
- 'name' => 'TicketId',
+ 'name' => 'FileName',
'in' => 'formData',
- 'schema' => [
- 'description' => '工单编号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'G2BKRWG',
- ],
- ],
- [
- 'name' => 'Uid',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户UID。您可以通过DMS控制台右上角头像处查看您的UID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1139477549527134',
- ],
+ 'schema' => ['description' => '上传文件的名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '81A0D93D-54D7-4529-ABFA-633ED63223BA.jpg'],
],
],
'responses' => [
@@ -644,75 +306,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '无权限错误详细信息。如果有权限,则返回空字符串。',
- 'type' => 'string',
- 'example' => '{\\"AuthAction\\":\\"ram:CloseTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}',
- ],
- 'Code' => [
- 'description' => '接口请求结果返回码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '请求唯一识别码。',
- 'type' => 'string',
- 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC',
- ],
- 'Success' => [
- 'description' => '调用接口返回是否成功,true代表调用正常',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'Code' => ['description' => '状态码'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => 'success'],
+ 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'ED195C2C-787F-511C-8204-714456781861'],
+ 'Success' => ['description' => '调用接口返回是否成功, true代表调用正常'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'Data' => [
+ 'description' => '调用成功后返回的业务数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ObjectKey' => ['description' => '已上传的文件标识符', 'type' => 'string', 'example' => 'cdb5d174-c282-4b2d-9048-e74ea2223127.jpg'],
+ 'PutSignedUrl' => ['description' => '上传OSS文件的签名URL', 'type' => 'string', 'example' => 'https://workorder.oss-cn-beijing.aliyuncs.com'."\n"
+ .'/20220314/cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png?Expires=1647328689&OSSAccessKeyId=LTAI***************&Signature=AbSEh26G3oYrJ8ivr4B0xzF89zk%3D'],
+ 'GetSignedUrl' => ['description' => '查询OSS文件的签名URL', 'type' => 'string', 'example' => 'https://workorder.oss-cn-beijing.aliyuncs.com'."\n"
+ .'/20220314/cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png?Expires=1647328689&OSSAccessKeyId=LTAI**************&Signature=AbSEh26G3oYrJ8ivr4B0xzF89zk%3D'],
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:CloseTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '关闭工单',
- 'summary' => '关闭工单。',
- ],
- 'EvaluateTicket' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '获取临时附件上传OSS地址',
+ 'summary' => '查询附件上传OSS地址。',
+ 'description' => '> 附件上传'."\n"
+ .'> - 请参考OSS官方文档,使用预签名URL上传文件。'."\n"
+ ."\n"
+ .'您可在拿到临时上传链接后通过如下方式上传:'."\n"
+ .'<details>'."\n"
+ .'<summary>示例'."\n"
+ .'</summary>'."\n"
+ .'curl -X PUT -H "Content-Type:application/octet-stream" -H "x-oss-meta-author:aliy" -T /home/admin/file.png "https://xx.oss-cn-zhangjiakou.aliyuncs.com/xx/xx.png"'."\n"
+ .'</details>',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAttachmentUploadUrl'],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"ED195C2C-787F-511C-8204-714456781861\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"ObjectKey\\": \\"cdb5d174-c282-4b2d-9048-e74ea2223127.jpg\\",\\n \\"PutSignedUrl\\": \\"https://workorder.oss-cn-beijing.aliyuncs.com\\\\n/20220314/cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png?Expires=1647328689&OSSAccessKeyId=LTAI***************&Signature=AbSEh26G3oYrJ8ivr4B0xzF89zk%3D\\",\\n \\"GetSignedUrl\\": \\"https://workorder.oss-cn-beijing.aliyuncs.com\\\\n/20220314/cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png?Expires=1647328689&OSSAccessKeyId=LTAI**************&Signature=AbSEh26G3oYrJ8ivr4B0xzF89zk%3D\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetMqConsumerTag' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -721,63 +370,74 @@
'APP' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [
- [
- 'name' => 'TicketId',
- 'in' => 'formData',
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '工单号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '001ET1BU1P',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessDeniedDetail' => ['description' => '无权限错误详细信息。如果有权限,则返回空字符串。', 'type' => 'string', 'example' => '{\\"AuthAction\\":\\"ram:GetMqConsumerTag\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}'],
+ 'Code' => ['description' => '接口请求结果返回码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => 'success'],
+ 'Data' => ['description' => '返回值,即你的唯一的mq消费的tag', 'type' => 'string', 'example' => '46434030'],
+ 'RequestId' => ['description' => '请求唯一识别码', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
+ 'Success' => ['description' => '调用是否成功。true:表示成功;false:表示失败。'."\n", 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
+ ],
[
- 'name' => 'Solved',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否解决',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
+ ],
+ 403 => [
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
+ ],
+ 500 => [
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
+ ],
+ 'title' => '获取工单RocketMQ消息监听的TAG',
+ 'summary' => '获取工单RocketMQ消息监听的TAG。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetMqConsumerTag'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:GetMqConsumerTag\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"46434030\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'GetTicket' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Score',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '评价星级1-5星',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- ],
+ 'AK' => [],
],
[
- 'name' => 'Content',
+ 'APP' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'TicketId',
'in' => 'formData',
- 'schema' => [
- 'description' => '评价内容',
- 'type' => 'string',
- 'required' => false,
- 'example' => '很满意的一次工单服务',
- ],
+ 'schema' => ['description' => '工单编号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '001571BTXC'],
],
[
'name' => 'Uid',
'in' => 'formData',
- 'schema' => [
- 'description' => 'UID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1902070573958003',
- ],
+ 'schema' => ['description' => 'UID', 'type' => 'string', 'required' => false, 'example' => '1604499804113750'],
],
],
'responses' => [
@@ -785,78 +445,80 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '无权限错误详细信息。如果有权限,则返回空字符串。',
- 'type' => 'string',
- 'example' => '{\\"AuthAction\\":\\"ram:EvaluateTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}',
- ],
- 'Code' => [
- 'description' => '状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => 'successful',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C1DA4C6F-963E-5741-AB57-67A554D102FD',
- ],
- 'Success' => [
- 'description' => '调用是否成功。true:表示成功;false:表示失败。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'AccessDeniedDetail' => ['description' => '无权限错误详细信息。如果有权限,则返回空字符串。', 'type' => 'string', 'example' => '{\\"AuthAction\\":\\"ram:GetTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}'],
+ 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'C499BB0F-630D-5BE6-B3EA-5FCD95B85503'],
+ 'Success' => ['description' => '调用接口返回是否成功,true代表调用正常', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '接口请求结果返回码', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => 'success'],
+ 'PageNumber' => ['description' => '分页查询参数的页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询参数的每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '查询结果总数, 即我的工单记录总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '108'],
+ 'Data' => [
+ 'description' => '接口调用成功后,返回的业务数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'TicketId' => ['description' => '工单编号', 'type' => 'string', 'example' => '0005PYGCW'],
+ 'Title' => ['description' => '工单标题', 'type' => 'string', 'example' => 'Why did ECS renewal fail?'],
+ 'Description' => ['description' => '工单问题描述, 目前只支持纯文本格式', 'type' => 'string', 'example' => 'Why ECS renewal failed?'],
+ 'CreateTime' => ['description' => '工单创建时间的时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1623396736000'],
+ 'CreatorId' => ['description' => '工单创建人uid', 'type' => 'string', 'example' => '1168025'],
+ 'CategoryId' => ['description' => '工单问题分类ID', 'type' => 'string', 'example' => '7161'],
+ 'Status' => [
+ 'description' => '工单状态, 参考值如下'."\n"
+ .'1, "assigned", "待响应", '."\n"
+ .'2, "dealing", "处理中",'."\n"
+ .'3, "wait_feedback", "待反馈",'."\n"
+ .'4, "feedback", "已反馈",'."\n"
+ .'5, "wait_confirm", "待确认",'."\n"
+ .'6, "confirmed", "已完成"',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '状态枚举文本', 'type' => 'string', 'example' => 'Completed'],
+ 'Value' => ['description' => '状态枚举值', 'type' => 'string', 'example' => '6'],
+ ],
+ ],
+ 'Severity' => [
+ 'description' => '紧急度枚举值, 1 代表一般问题, 2 代表紧急问题',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '枚举文本', 'type' => 'string', 'example' => 'General issue'],
+ 'Value' => ['description' => '枚举值', 'type' => 'string', 'example' => '1'],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
+ ['errorCode' => 'illegal.param', 'errorMessage' => 'Illegal param.', 'description' => '非法参数'],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:EvaluateTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"C1DA4C6F-963E-5741-AB57-67A554D102FD\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<EvaluateTicketResponse>\\n <Code>200</Code>\\n <Message>successful</Message>\\n <RequestId>C1DA4C6F-963E-5741-AB57-67A554D102FD</RequestId>\\n <Success>true</Success>\\n</EvaluateTicketResponse>","errorExample":""}]',
- 'title' => '评价工单',
- 'summary' => '评价工单。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListTickets' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:GetTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"C499BB0F-630D-5BE6-B3EA-5FCD95B85503\\",\\n \\"Success\\": true,\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 108,\\n \\"Data\\": {\\n \\"TicketId\\": \\"0005PYGCW\\",\\n \\"Title\\": \\"Why did ECS renewal fail?\\",\\n \\"Description\\": \\"Why ECS renewal failed?\\",\\n \\"CreateTime\\": 1623396736000,\\n \\"CreatorId\\": \\"1168025\\",\\n \\"CategoryId\\": \\"7161\\",\\n \\"Status\\": {\\n \\"Label\\": \\"Completed\\",\\n \\"Value\\": \\"6\\"\\n },\\n \\"Severity\\": {\\n \\"Label\\": \\"General issue\\",\\n \\"Value\\": \\"1\\"\\n }\\n }\\n}","type":"json"}]',
+ 'title' => '查询工单',
+ 'summary' => '查询工单。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '256', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTicket'],
+ ],
],
+ ],
+ 'ListCategories' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -867,126 +529,26 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
- 'name' => 'StartDate',
+ 'name' => 'ProductId',
'in' => 'formData',
- 'schema' => [
- 'description' => '工单创建时间, 配合EndDate使用, 用于查询在指定的开始和结束时间范围内创建的工单',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '1623396736000',
- ],
+ 'schema' => ['description' => '产品ID, 通过ListProducts接口获取. ProductId为阿里云产品ID, 一个产品下会挂多个Category(工单问题分类)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '99999999999', 'minimum' => '0', 'example' => '18550'],
],
[
- 'name' => 'EndDate',
+ 'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => '工单创建截止时间, 配合StartDate使用, 用于查询在指定的开始和结束时间范围内提交的工单',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '1623396736000',
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询页码参数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '9999999',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分类问题名称, 支持模糊搜索', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询条数参数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '100',
- 'minimum' => '10',
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'TicketId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '工单编号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0005PYGCW',
- ],
- ],
- [
- 'name' => 'Keyword',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '工单关键词, 用于模糊搜索匹配工单创建时的Description字段的内容',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
- ],
- [
- 'name' => 'StatusList',
- 'in' => 'formData',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '多个工单状态',
- 'type' => 'array',
- 'items' => [
- 'description' => '工单状态,参考值如下1,"assigned","待响应",2,"dealing","处理中",3,"wait-feedback","待反馈",4,"feedback","已反馈",5,"wait_confirm","待确认",6,"confirmed","已完成"',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'confirmed',
- ],
- 'required' => false,
- 'example' => '6',
- 'maxItems' => 11,
- ],
- ],
- [
- 'name' => 'TicketIdList',
- 'in' => 'formData',
- 'style' => 'simple',
- 'schema' => [
- 'description' => '多个工单编号',
- 'type' => 'array',
- 'items' => [
- 'description' => '工单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0006S6ZL6E',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Uid',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'UID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1902070573958003',
- ],
+ 'schema' => ['description' => '您使用的语言。取值:'."\n"
+ ."\n"
+ .'- 中文:zh。'."\n"
+ .'- 英文:en。'."\n"
+ .'- 日文:jp。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
@@ -994,137 +556,54 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '无权限错误详细信息。如果有权限,则返回空字符串。',
- 'type' => 'string',
- 'example' => '{\\"AuthAction\\":\\"ram:ListTickets\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}',
- ],
- 'RequestId' => [
- 'description' => '接口请求的唯一ID, 每次调用requestID唯一'."\n",
- 'type' => 'string',
- 'example' => 'AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD',
- ],
- 'Success' => [
- 'description' => '调用接口返回是否成功, true代表调用正常'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '接口请求结果返回码'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => '入参解析失败',
- ],
- 'PageNumber' => [
- 'description' => '分页查询参数的页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询参数的每页条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '查询结果总数, 即我的工单记录总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '99',
- ],
+ 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => 'success'],
+ 'RequestId' => ['description' => '请求唯一识别码', 'type' => 'string', 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC'],
+ 'Success' => ['description' => '调用是否成功。true:表示成功;false:表示失败。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
- 'description' => '返回值为我的工单列表数据'."\n",
+ 'description' => '返回值,即问题分类列表',
'type' => 'array',
'items' => [
+ 'description' => '返回值,即问题分类列表',
'type' => 'object',
'properties' => [
- 'TicketId' => [
- 'description' => '工单编号',
- 'type' => 'string',
- 'example' => '0005PYGCW',
- ],
- 'Title' => [
- 'description' => '工单标题',
- 'type' => 'string',
- 'example' => 'ecs续费失败啥原因',
- ],
- 'Status' => [
- 'description' => '工单状态, 参考值如下'."\n"
- .'1, "assigned", "待响应", '."\n"
- .'2, "dealing", "处理中",'."\n"
- .'3, "wait_feedback", "待反馈",'."\n"
- .'4, "feedback", "已反馈",'."\n"
- .'5, "wait_confirm", "待确认",'."\n"
- .'6, "confirmed", "已完成"',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '状态描述, 如已完成',
- 'type' => 'string',
- 'example' => '已完成',
- ],
- 'Value' => [
- 'description' => '状态值, 如6, 代表已完成',
- 'type' => 'string',
- 'example' => '6',
- ],
- ],
- ],
+ 'CategoryName' => ['description' => '工单问题分类名称', 'type' => 'string', 'example' => 'ECS'],
+ 'CategoryId' => ['description' => '工单问题分类ID', 'type' => 'integer', 'format' => 'int64', 'example' => '7161'],
],
],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'illegal.param',
- 'errorMessage' => 'Params illegal',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:ListTickets\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD\\",\\n \\"Success\\": true,\\n \\"Code\\": 0,\\n \\"Message\\": \\"入参解析失败\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 99,\\n \\"Data\\": [\\n {\\n \\"TicketId\\": \\"0005PYGCW\\",\\n \\"Title\\": \\"ecs续费失败啥原因\\",\\n \\"Status\\": {\\n \\"Label\\": \\"已完成\\",\\n \\"Value\\": \\"6\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<TotalCount>99</TotalCount>\\n<PageSize>10</PageSize>\\n<Message>入参解析失败</Message>\\n<RequestId>AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD</RequestId>\\n<PageNumber>1</PageNumber>\\n<Data>\\n <TicketId>0005PYGCW</TicketId>\\n <Title>ecs续费失败啥原因</Title>\\n <Status>\\n <Value>6</Value>\\n <Label>已完成</Label>\\n </Status>\\n</Data>\\n<Code>0</Code>\\n<Success>true</Success>","errorExample":""}]',
- 'title' => '获取我的工单列表',
- 'summary' => '获取我的工单列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListTicketNotes' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '获取指定产品下的类别',
+ 'summary' => '获取工单问题分类列表数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCategories'],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"CategoryName\\": \\"ECS\\",\\n \\"CategoryId\\": 7161\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListProducts' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1135,31 +614,21 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
- 'name' => 'TicketId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '工单编号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '0005PYGCW',
- ],
+ 'schema' => ['description' => '产品名称, 支持模糊搜索, 非必填。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ecs'],
],
[
- 'name' => 'Uid',
+ 'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => 'UID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1936753548534516',
- ],
+ 'schema' => ['description' => '您使用的语言。取值:'."\n"
+ ."\n"
+ .'- 中文:zh。'."\n"
+ .'- 英文:en。'."\n"
+ .'- 日文:jp。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
@@ -1167,173 +636,69 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '无权限错误详细信息。如果有权限,则返回空字符串。',
- 'type' => 'string',
- 'example' => '{\\"AuthAction\\":\\"ram:ListTicketNotes\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}',
- ],
- 'Code' => [
- 'description' => '接口请求结果返回码'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => '入参非法',
- ],
- 'RequestId' => [
- 'description' => '接口请求的唯一ID, 每次调用requestID唯一'."\n",
- 'type' => 'string',
- 'example' => 'AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD',
- ],
- 'Success' => [
- 'description' => '调用接口返回是否成功, true代表调用正常'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => '接口请求结果返回码'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => 'Invalid input parameter'],
+ 'RequestId' => ['description' => '接口请求的唯一ID, 每次调用requestID唯一'."\n", 'type' => 'string', 'example' => 'AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD'],
+ 'Success' => ['description' => '调用接口返回是否成功, true代表调用正常'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
- 'description' => '返回值, 即指定工单的对话记录列表数据',
+ 'description' => '返回值, 即产品列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '对话类型'."\n"
- .'1 卡片, 即schema'."\n"
- .'2 文本, 即content',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Status' => [
- 'description' => '沟通消息状态字段, 参考值'."\n"
- .'未读=1、已读=2',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'Tip' => [
- 'description' => '暂不使用的字段',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'DialogId' => [
- 'description' => '对话记录唯一ID标识',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9999',
- ],
- 'CreateTime' => [
- 'description' => '沟通消息创建时间的时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1623396736000',
- ],
- 'Dialog' => [
- 'description' => '工单沟通记录对象',
- 'type' => 'object',
- 'properties' => [
- 'Schema' => [
- 'description' => '工单沟通记录系统卡片, 将来开放系统卡片对接能力时使用, 目前阶段用content取纯文本内容即可',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Content' => [
- 'description' => '工单沟通内容',
- 'type' => 'string',
- 'example' => '你好, 我的ECS续费失败, 请问是什么原因',
- ],
- ],
- ],
- 'User' => [
- 'description' => '对话的用户',
- 'type' => 'object',
- 'properties' => [
- 'Role' => [
- 'description' => '对话用户角色, 区分小二和用户使用'."\n"
- .'2, 客服'."\n"
- .'3, 用户',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'Name' => [
- 'description' => '对话用户名称',
- 'type' => 'string',
- 'example' => '工单小二',
- ],
- ],
- ],
- 'Attachments' => [
- 'description' => '附件列表',
+ 'DirectoryId' => ['description' => '产品目录ID, 代表产品大类, 如弹性计算', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'DirectoryName' => ['description' => '产品目录名称, 代表产品大类, 如弹性计算', 'type' => 'string', 'example' => 'ECS'],
+ 'ProductList' => [
+ 'description' => '阿里云产品列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '附件名称',
- 'type' => 'string',
- 'example' => '003.jpg',
- ],
- 'Url' => [
- 'description' => '临时可访问的附件地址',
- 'type' => 'string',
- 'example' => 'https://gts-workorder.oss-cn-beijing.aliyuncs.com/20221003/cbc00fb0-b612-4d89-a75b-8d535f750f9f/image.png',
- ],
+ 'ProductId' => ['description' => '阿里云产品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '7160'],
+ 'ProductName' => ['description' => '阿里云产品名称', 'type' => 'string', 'example' => 'ECS'],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:ListTicketNotes\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"入参非法\\",\\n \\"RequestId\\": \\"AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"Type\\": 1,\\n \\"Status\\": 6,\\n \\"Tip\\": \\"null\\",\\n \\"DialogId\\": 9999,\\n \\"CreateTime\\": 1623396736000,\\n \\"Dialog\\": {\\n \\"Schema\\": \\"null\\",\\n \\"Content\\": \\"你好, 我的ECS续费失败, 请问是什么原因\\"\\n },\\n \\"User\\": {\\n \\"Role\\": 3,\\n \\"Name\\": \\"工单小二\\"\\n },\\n \\"Attachments\\": [\\n {\\n \\"Name\\": \\"003.jpg\\",\\n \\"Url\\": \\"https://gts-workorder.oss-cn-beijing.aliyuncs.com/20221003/cbc00fb0-b612-4d89-a75b-8d535f750f9f/image.png\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Message>入参非法</Message>\\n<RequestId>AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD</RequestId>\\n<Data>\\n <Status>6</Status>\\n <Type>1</Type>\\n <CreateTime>1623396736000</CreateTime>\\n <DialogId>9999</DialogId>\\n <Tip>null</Tip>\\n <Dialog>\\n <Content>你好, 我的ECS续费失败, 请问是什么原因</Content>\\n <Schema>null</Schema>\\n </Dialog>\\n <User>\\n <Role>3</Role>\\n <Name>工单小二</Name>\\n </User>\\n</Data>\\n<Code>0</Code>\\n<Success>true</Success>","errorExample":""}]',
- 'title' => '获取工单沟通记录',
- 'summary' => '获取工单沟通记录。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"Invalid input parameter\\",\\n \\"RequestId\\": \\"AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"DirectoryId\\": 1,\\n \\"DirectoryName\\": \\"ECS\\",\\n \\"ProductList\\": [\\n {\\n \\"ProductId\\": 7160,\\n \\"ProductName\\": \\"ECS\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Message>入参非法</Message>\\n<RequestId>AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD</RequestId>\\n<Data>\\n <DirectoryId>1</DirectoryId>\\n <DirectoryName>云服务器</DirectoryName>\\n <ProductList>\\n <ProductName>ECS</ProductName>\\n <ProductId>7160</ProductId>\\n </ProductList>\\n</Data>\\n<Code>0</Code>\\n<Success>true</Success>","errorExample":""}]',
+ 'title' => '获取阿里云产品列表数据',
+ 'summary' => '获取阿里云产品列表数据。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListProducts' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListProducts'],
+ ],
],
+ ],
+ 'ListTicketNotes' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1344,35 +709,17 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'TicketId',
'in' => 'query',
- 'schema' => [
- 'description' => '产品名称, 支持模糊搜索, 非必填。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => '工单编号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0005PYGCW'],
],
[
- 'name' => 'Language',
+ 'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'description' => '您使用的语言。取值:'."\n"
- ."\n"
- .'- 中文:zh。'."\n"
- .'- 英文:en。'."\n"
- .'- 日文:jp。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => 'UID', 'type' => 'string', 'required' => false, 'example' => '1936753548534516'],
],
],
'responses' => [
@@ -1380,113 +727,94 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '接口请求结果返回码'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => '入参非法',
- ],
- 'RequestId' => [
- 'description' => '接口请求的唯一ID, 每次调用requestID唯一'."\n",
- 'type' => 'string',
- 'example' => 'AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD',
- ],
- 'Success' => [
- 'description' => '调用接口返回是否成功, true代表调用正常'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'AccessDeniedDetail' => ['description' => '无权限错误详细信息。如果有权限,则返回空字符串。', 'type' => 'string', 'example' => '{\\"AuthAction\\":\\"ram:ListTicketNotes\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}'],
+ 'Code' => ['description' => '接口请求结果返回码'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => 'Invalid input parameter'],
+ 'RequestId' => ['description' => '接口请求的唯一ID, 每次调用requestID唯一'."\n", 'type' => 'string', 'example' => 'AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD'],
+ 'Success' => ['description' => '调用接口返回是否成功, true代表调用正常'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
- 'description' => '返回值, 即产品列表',
+ 'description' => '返回值, 即指定工单的对话记录列表数据',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'DirectoryId' => [
- 'description' => '产品目录ID, 代表产品大类, 如弹性计算',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'Type' => ['description' => '对话类型'."\n"
+ .'1 卡片, 即schema'."\n"
+ .'2 文本, 即content', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Status' => ['description' => '沟通消息状态字段, 参考值'."\n"
+ .'未读=1、已读=2', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'Tip' => ['description' => '暂不使用的字段', 'type' => 'string', 'example' => 'null'],
+ 'DialogId' => ['description' => '对话记录唯一ID标识', 'type' => 'integer', 'format' => 'int64', 'example' => '9999'],
+ 'CreateTime' => ['description' => '沟通消息创建时间的时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1623396736000'],
+ 'Dialog' => [
+ 'description' => '工单沟通记录对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'Schema' => ['description' => '工单沟通记录系统卡片, 将来开放系统卡片对接能力时使用, 目前阶段用content取纯文本内容即可', 'type' => 'string', 'example' => 'null'],
+ 'Content' => ['description' => '工单沟通内容', 'type' => 'string', 'example' => 'Hello, my ECS renewal failed. What is the reason?'],
+ ],
],
- 'DirectoryName' => [
- 'description' => '产品目录名称, 代表产品大类, 如弹性计算',
- 'type' => 'string',
- 'example' => '云服务器',
+ 'User' => [
+ 'description' => '对话的用户',
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => ['description' => '对话用户角色, 区分小二和用户使用'."\n"
+ .'2, 客服'."\n"
+ .'3, 用户', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Name' => ['description' => '对话用户名称', 'type' => 'string', 'example' => 'John'],
+ ],
],
- 'ProductList' => [
- 'description' => '阿里云产品列表',
+ 'Attachments' => [
+ 'description' => '附件列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ProductId' => [
- 'description' => '阿里云产品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7160',
- ],
- 'ProductName' => [
- 'description' => '阿里云产品名称',
- 'type' => 'string',
- 'example' => 'ECS',
- ],
+ 'Name' => ['description' => '附件名称', 'type' => 'string', 'example' => '003.jpg'],
+ 'Url' => ['description' => '临时可访问的附件地址', 'type' => 'string', 'example' => 'https://gts-workorder.oss-cn-beijing.aliyuncs.com/20221003/cbc00fb0-b612-4d89-a75b-8d535f750f9f/image.png'],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"入参非法\\",\\n \\"RequestId\\": \\"AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"DirectoryId\\": 1,\\n \\"DirectoryName\\": \\"云服务器\\",\\n \\"ProductList\\": [\\n {\\n \\"ProductId\\": 7160,\\n \\"ProductName\\": \\"ECS\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Message>入参非法</Message>\\n<RequestId>AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD</RequestId>\\n<Data>\\n <DirectoryId>1</DirectoryId>\\n <DirectoryName>云服务器</DirectoryName>\\n <ProductList>\\n <ProductName>ECS</ProductName>\\n <ProductId>7160</ProductId>\\n </ProductList>\\n</Data>\\n<Code>0</Code>\\n<Success>true</Success>","errorExample":""}]',
- 'title' => '获取阿里云产品列表数据',
- 'summary' => '获取阿里云产品列表数据。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:ListTicketNotes\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"Invalid input parameter\\",\\n \\"RequestId\\": \\"AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"Type\\": 1,\\n \\"Status\\": 6,\\n \\"Tip\\": \\"null\\",\\n \\"DialogId\\": 9999,\\n \\"CreateTime\\": 1623396736000,\\n \\"Dialog\\": {\\n \\"Schema\\": \\"null\\",\\n \\"Content\\": \\"Hello, my ECS renewal failed. What is the reason?\\"\\n },\\n \\"User\\": {\\n \\"Role\\": 3,\\n \\"Name\\": \\"John\\"\\n },\\n \\"Attachments\\": [\\n {\\n \\"Name\\": \\"003.jpg\\",\\n \\"Url\\": \\"https://gts-workorder.oss-cn-beijing.aliyuncs.com/20221003/cbc00fb0-b612-4d89-a75b-8d535f750f9f/image.png\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Message>入参非法</Message>\\n<RequestId>AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD</RequestId>\\n<Data>\\n <Status>6</Status>\\n <Type>1</Type>\\n <CreateTime>1623396736000</CreateTime>\\n <DialogId>9999</DialogId>\\n <Tip>null</Tip>\\n <Dialog>\\n <Content>你好, 我的ECS续费失败, 请问是什么原因</Content>\\n <Schema>null</Schema>\\n </Dialog>\\n <User>\\n <Role>3</Role>\\n <Name>工单小二</Name>\\n </User>\\n</Data>\\n<Code>0</Code>\\n<Success>true</Success>","errorExample":""}]',
+ 'title' => '获取工单沟通记录',
+ 'summary' => '获取工单沟通记录。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListCategories' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '256', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTicketNotes'],
+ ],
],
+ ],
+ 'ListTickets' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1497,234 +825,142 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
- 'name' => 'ProductId',
+ 'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '产品ID, 通过ListProducts接口获取. ProductId为阿里云产品ID, 一个产品下会挂多个Category(工单问题分类)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '99999999999',
- 'minimum' => '0',
- 'example' => '18550',
- ],
+ 'schema' => ['description' => '工单创建时间, 配合EndDate使用, 用于查询在指定的开始和结束时间范围内创建的工单', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '1623396736000'],
],
[
- 'name' => 'Name',
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => ['description' => '工单创建截止时间, 配合StartDate使用, 用于查询在指定的开始和结束时间范围内提交的工单', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '1623396736000'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询页码参数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9999999', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询条数参数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '10', 'example' => '10'],
+ ],
+ [
+ 'name' => 'TicketId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '工单编号', 'type' => 'string', 'required' => false, 'example' => '0005PYGCW'],
+ ],
+ [
+ 'name' => 'Keyword',
+ 'in' => 'formData',
+ 'schema' => ['description' => '工单关键词, 用于模糊搜索匹配工单创建时的Description字段的内容', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
+ ],
+ [
+ 'name' => 'StatusList',
'in' => 'formData',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '分类问题名称, 支持模糊搜索',
- 'type' => 'string',
+ 'description' => '多个工单状态',
+ 'type' => 'array',
+ 'items' => ['description' => '工单状态,参考值如下1,"assigned","待响应",2,"dealing","处理中",3,"wait-feedback","待反馈",4,"feedback","已反馈",5,"wait_confirm","待确认",6,"confirmed","已完成"', 'type' => 'string', 'required' => false, 'example' => 'confirmed'],
'required' => false,
- 'example' => 'ecs',
+ 'example' => '6',
+ 'maxItems' => 11,
],
],
[
- 'name' => 'Language',
- 'in' => 'query',
+ 'name' => 'TicketIdList',
+ 'in' => 'formData',
+ 'style' => 'simple',
'schema' => [
- 'description' => '您使用的语言。取值:'."\n"
- ."\n"
- .'- 中文:zh。'."\n"
- .'- 英文:en。'."\n"
- .'- 日文:jp。',
- 'type' => 'string',
+ 'description' => '多个工单编号',
+ 'type' => 'array',
+ 'items' => ['description' => '工单号', 'type' => 'string', 'required' => false, 'example' => '0006S6ZL6E'],
'required' => false,
- 'example' => 'zh',
],
],
+ [
+ 'name' => 'Uid',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'UID', 'type' => 'string', 'required' => false, 'example' => '1902070573958003'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '请求唯一识别码',
- 'type' => 'string',
- 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC',
- ],
- 'Success' => [
- 'description' => '调用是否成功。true:表示成功;false:表示失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'AccessDeniedDetail' => ['description' => '无权限错误详细信息。如果有权限,则返回空字符串。', 'type' => 'string', 'example' => '{\\"AuthAction\\":\\"ram:ListTickets\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}'],
+ 'RequestId' => ['description' => '接口请求的唯一ID, 每次调用requestID唯一'."\n", 'type' => 'string', 'example' => 'AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD'],
+ 'Success' => ['description' => '调用接口返回是否成功, true代表调用正常'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '接口请求结果返回码'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => '入参解析失败'],
+ 'PageNumber' => ['description' => '分页查询参数的页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询参数的每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '查询结果总数, 即我的工单记录总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '99'],
'Data' => [
- 'description' => '返回值,即问题分类列表',
+ 'description' => '返回值为我的工单列表数据'."\n",
'type' => 'array',
'items' => [
- 'description' => '返回值,即问题分类列表',
'type' => 'object',
'properties' => [
- 'CategoryName' => [
- 'description' => '工单问题分类名称',
- 'type' => 'string',
- 'example' => 'ECS',
- ],
- 'CategoryId' => [
- 'description' => '工单问题分类ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7161',
+ 'TicketId' => ['description' => '工单编号', 'type' => 'string', 'example' => '0005PYGCW'],
+ 'Title' => ['description' => '工单标题', 'type' => 'string', 'example' => 'Why did ECS renewal fail?'],
+ 'Status' => [
+ 'description' => '工单状态, 参考值如下'."\n"
+ .'1, "assigned", "待响应", '."\n"
+ .'2, "dealing", "处理中",'."\n"
+ .'3, "wait_feedback", "待反馈",'."\n"
+ .'4, "feedback", "已反馈",'."\n"
+ .'5, "wait_confirm", "待确认",'."\n"
+ .'6, "confirmed", "已完成"',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '状态描述, 如已完成', 'type' => 'string', 'example' => 'Completed'],
+ 'Value' => ['description' => '状态值, 如6, 代表已完成', 'type' => 'string', 'example' => '6'],
+ ],
],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
+ ['errorCode' => 'illegal.param', 'errorMessage' => 'Params illegal', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"CategoryName\\": \\"ECS\\",\\n \\"CategoryId\\": 7161\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取指定产品下的类别',
- 'summary' => '获取工单问题分类列表数据。',
- ],
- 'GetMqConsumerTag' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- [
- 'APP' => [],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '无权限错误详细信息。如果有权限,则返回空字符串。',
- 'type' => 'string',
- 'example' => '{\\"AuthAction\\":\\"ram:GetMqConsumerTag\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}',
- ],
- 'Code' => [
- 'description' => '接口请求结果返回码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Data' => [
- 'description' => '返回值,即你的唯一的mq消费的tag',
- 'type' => 'string',
- 'example' => '46434030',
- ],
- 'RequestId' => [
- 'description' => '请求唯一识别码',
- 'type' => 'string',
- 'example' => 'CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC',
- ],
- 'Success' => [
- 'description' => '调用是否成功。true:表示成功;false:表示失败。'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- ],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
- ],
- [
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
- ],
- 403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
- ],
- 500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:ListTickets\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD\\",\\n \\"Success\\": true,\\n \\"Code\\": 0,\\n \\"Message\\": \\"入参解析失败\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 99,\\n \\"Data\\": [\\n {\\n \\"TicketId\\": \\"0005PYGCW\\",\\n \\"Title\\": \\"Why did ECS renewal fail?\\",\\n \\"Status\\": {\\n \\"Label\\": \\"Completed\\",\\n \\"Value\\": \\"6\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<TotalCount>99</TotalCount>\\n<PageSize>10</PageSize>\\n<Message>入参解析失败</Message>\\n<RequestId>AC0AB2EC-AFBC-44BA-AE77-132A5A1EC0AD</RequestId>\\n<PageNumber>1</PageNumber>\\n<Data>\\n <TicketId>0005PYGCW</TicketId>\\n <Title>ecs续费失败啥原因</Title>\\n <Status>\\n <Value>6</Value>\\n <Label>已完成</Label>\\n </Status>\\n</Data>\\n<Code>0</Code>\\n<Success>true</Success>","errorExample":""}]',
+ 'title' => '获取我的工单列表',
+ 'summary' => '获取我的工单列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTickets'],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:GetMqConsumerTag\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"46434030\\",\\n \\"RequestId\\": \\"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '获取工单RocketMQ消息监听的TAG',
- 'summary' => '获取工单RocketMQ消息监听的TAG。',
],
'ReopenTicket' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1735,42 +971,22 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TicketId',
'in' => 'formData',
- 'schema' => [
- 'description' => '工单编号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '0005PYGCW',
- ],
+ 'schema' => ['description' => '工单编号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0005PYGCW'],
],
[
'name' => 'Content',
'in' => 'formData',
- 'schema' => [
- 'description' => '重开工单回复内容',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '还没有解决问题',
- ],
+ 'schema' => ['description' => '重开工单回复内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'The issue has not been resolved yet.'],
],
[
'name' => 'Uid',
'in' => 'formData',
- 'schema' => [
- 'description' => 'UID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1013872004421947',
- ],
+ 'schema' => ['description' => 'UID', 'type' => 'string', 'required' => false, 'example' => '1013872004421947'],
],
],
'responses' => [
@@ -1778,80 +994,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '无权限错误详细信息。如果有权限,则返回空字符串。',
- 'type' => 'string',
- 'example' => '{\\"AuthAction\\":\\"ram:ReopenTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}',
- ],
- 'Code' => [
- 'description' => '接口请求结果返回码'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Data' => [
- 'description' => '调用成功后返回的业务数据。',
- 'type' => 'string',
- 'example' => '0005PYGCW',
- ],
- 'RequestId' => [
- 'description' => '阿里云为该请求生成的唯一标识符。',
- 'type' => 'string',
- 'example' => 'C1DA4C6F-963E-5741-AB57-67A554D102FD',
- ],
- 'Success' => [
- 'description' => '调用接口返回是否成功, true代表调用正常'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'AccessDeniedDetail' => ['description' => '无权限错误详细信息。如果有权限,则返回空字符串。', 'type' => 'string', 'example' => '{\\"AuthAction\\":\\"ram:ReopenTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}'],
+ 'Code' => ['description' => '接口请求结果返回码'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => 'success'],
+ 'Data' => ['description' => '调用成功后返回的业务数据。', 'type' => 'string', 'example' => '0005PYGCW'],
+ 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'C1DA4C6F-963E-5741-AB57-67A554D102FD'],
+ 'Success' => ['description' => '调用接口返回是否成功, true代表调用正常'."\n", 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:ReopenTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"0005PYGCW\\",\\n \\"RequestId\\": \\"C1DA4C6F-963E-5741-AB57-67A554D102FD\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '重开工单',
'summary' => '重开工单。',
- ],
- 'GetAttachmentUploadUrl' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReopenTicket'],
+ ],
],
+ ],
+ 'ReplyTicket' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1862,332 +1042,136 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
- 'name' => 'FileName',
+ 'name' => 'TicketId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '工单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0005PYGCW'],
+ ],
+ [
+ 'name' => 'Content',
'in' => 'formData',
+ 'schema' => ['description' => '工单回复的内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OK, the renewal was successful on my end.'],
+ ],
+ [
+ 'name' => 'FileNameList',
+ 'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'description' => '上传文件的名称',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '81A0D93D-54D7-4529-ABFA-633ED63223BA.jpg',
+ 'description' => '附件名称列表,GetAttachmentUploadUrl接口返回的ObjectKey字段',
+ 'type' => 'array',
+ 'items' => ['description' => 'GetAttachmentUploadUrl接口返回的ObjectKey字段', 'type' => 'string', 'required' => false, 'example' => '6bc06f96-f8c1-4c00-9e30-368444fbd025.jpg,'],
+ 'required' => false,
],
],
+ [
+ 'name' => 'Encrypt',
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否加密', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'Uid',
+ 'in' => 'formData',
+ 'schema' => ['description' => '阿里云UID', 'type' => 'string', 'required' => false, 'example' => '1289427240739141'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '状态码'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Message' => [
- 'description' => '错误信息, 当success=false的时候, 可以取到message'."\n",
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => '阿里云为该请求生成的唯一标识符。',
- 'type' => 'string',
- 'example' => 'ED195C2C-787F-511C-8204-714456781861',
- ],
- 'Success' => [
- 'description' => '调用接口返回是否成功, true代表调用正常'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Data' => [
- 'description' => '调用成功后返回的业务数据。',
- 'type' => 'object',
- 'properties' => [
- 'ObjectKey' => [
- 'description' => '已上传的文件标识符',
- 'type' => 'string',
- 'example' => 'cdb5d174-c282-4b2d-9048-e74ea2223127.jpg',
- ],
- 'PutSignedUrl' => [
- 'description' => '上传OSS文件的签名URL',
- 'type' => 'string',
- 'example' => 'https://workorder.oss-cn-beijing.aliyuncs.com'."\n"
- .'/20220314/cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png?Expires=1647328689&OSSAccessKeyId=LTAI***************&Signature=AbSEh26G3oYrJ8ivr4B0xzF89zk%3D',
- ],
- 'GetSignedUrl' => [
- 'description' => '查询OSS文件的签名URL',
- 'type' => 'string',
- 'example' => 'https://workorder.oss-cn-beijing.aliyuncs.com'."\n"
- .'/20220314/cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png?Expires=1647328689&OSSAccessKeyId=LTAI**************&Signature=AbSEh26G3oYrJ8ivr4B0xzF89zk%3D',
- ],
- ],
- ],
+ 'Code' => ['description' => '状态码'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Message' => ['description' => '错误信息, 当success=false的时候, 可以取到message'."\n", 'type' => 'string', 'example' => 'Invalid input parameters'],
+ 'Data' => ['description' => '返回值, 即工单回复内容的dialogID'."\n", 'type' => 'string', 'example' => '46434030'],
+ 'RequestId' => ['description' => '接口请求的唯一id,每次调用requestid唯一', 'type' => 'string', 'example' => 'C1DA4C6F-963E-5741-AB57-67A554D102FD'],
+ 'Success' => ['description' => '调用接口返回是否成功,true代表调用正常', 'type' => 'boolean', 'example' => 'true'],
+ 'AccessDeniedDetail' => ['description' => '无权限错误详细信息。如果有权限,则返回空字符串。', 'type' => 'string', 'example' => '{\\"AuthAction\\":\\"ram:ReplyTicket\\",\\"AuthPrincipalDisplayName\\":\\"2146216584788xxxxx\\",\\"AuthPrincipalOwnerId\\":\\"1135850448xxxxx\\",\\"AuthPrincipalType\\":\\"SubUser\\",\\"NoPermissionType\\":\\"ImplicitDeny\\",\\"PolicyType\\":\\"AccountLevelIdentityBasedPolicy\\"}'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'param.illegal',
- 'errorMessage' => 'Params illegal.',
- ],
+ ['errorCode' => 'param.illegal', 'errorMessage' => 'Params illegal.', 'description' => ''],
],
[
- [
- 'errorCode' => 'illegal.auth',
- 'errorMessage' => 'You are not authorized to perform the operation.',
- ],
+ ['errorCode' => 'illegal.auth', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => '您没有操作权限'],
],
403 => [
- [
- 'errorCode' => 'No permissions',
- 'errorMessage' => 'No permissions to access.',
- ],
+ ['errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', 'description' => 'RAM鉴权无权限'],
],
500 => [
- [
- 'errorCode' => 'System.error',
- 'errorMessage' => 'An error occurred while processing your request.',
- ],
+ ['errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', 'description' => '系统出现未知错误,请重试'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"Invalid input parameters\\",\\n \\"Data\\": \\"46434030\\",\\n \\"RequestId\\": \\"C1DA4C6F-963E-5741-AB57-67A554D102FD\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\\\\\\\\\"AuthAction\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ram:ReplyTicket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalDisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2146216584788xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalOwnerId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1135850448xxxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthPrincipalType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SubUser\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NoPermissionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ImplicitDeny\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PolicyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\\\\\\\\\"}\\"\\n}","type":"json"}]',
+ 'title' => '回复工单',
+ 'summary' => '工单回复, 回复的内容可以通过ListTicketNotes接口获取。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReplyTicket'],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"ED195C2C-787F-511C-8204-714456781861\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"ObjectKey\\": \\"cdb5d174-c282-4b2d-9048-e74ea2223127.jpg\\",\\n \\"PutSignedUrl\\": \\"https://workorder.oss-cn-beijing.aliyuncs.com\\\\n/20220314/cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png?Expires=1647328689&OSSAccessKeyId=LTAI***************&Signature=AbSEh26G3oYrJ8ivr4B0xzF89zk%3D\\",\\n \\"GetSignedUrl\\": \\"https://workorder.oss-cn-beijing.aliyuncs.com\\\\n/20220314/cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png?Expires=1647328689&OSSAccessKeyId=LTAI**************&Signature=AbSEh26G3oYrJ8ivr4B0xzF89zk%3D\\"\\n }\\n}","type":"json"}]',
- 'title' => '获取临时附件上传OSS地址',
- 'summary' => '查询附件上传OSS地址。',
- 'description' => '> 附件上传'."\n"
- .'> - 请参考OSS官方文档,使用预签名URL上传文件。'."\n"
- ."\n"
- .'您可在拿到临时上传链接后通过如下方式上传:'."\n"
- .'<details>'."\n"
- .'<summary>示例'."\n"
- .'</summary>'."\n"
- .'curl -X PUT -H "Content-Type:application/octet-stream" -H "x-oss-meta-author:aliy" -T /home/admin/file.png "https://xx.oss-cn-zhangjiakou.aliyuncs.com/xx/xx.png"'."\n"
- .'</details>',
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'workorder.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'workorder.aliyuncs.com',
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.ap-northeast-1.aliyuncs.com', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.ap-southeast-1.aliyuncs.com', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'workorder.aliyuncs.com', 'endpoint' => 'workorder.aliyuncs.com', 'vpc' => ''],
+ ],
+ 'errorCodes' => [
+ ['code' => 'business.error', 'message' => 'The business does not allow the current operation.', 'http_code' => 400, 'description' => '业务不允许当前操作'],
+ ['code' => 'illegal.auth', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 401, 'description' => '您没有操作权限'],
+ ['code' => 'Illegal.NeedAccessChinaSite', 'message' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.', 'http_code' => 400, 'description' => '请访问国内站点。endpoint 为 workorder.aliyuncs.com。'],
+ ['code' => 'Illegal.NeedAccessInternationalSite', 'message' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.', 'http_code' => 400, 'description' => '请访问国际站点。endpoint为 workorder.ap-southeast-1.aliyuncs.com。'],
+ ['code' => 'illegal.param', 'message' => 'Illegal param.', 'http_code' => 400, 'description' => '非法参数'],
+ ['code' => 'illegalParam.emailOrPhone', 'message' => 'The specified contact email or mobile phone number must be the data received by the account messenger.', 'http_code' => 400, 'description' => '您输入的联系人邮箱或者手机号,需要是账号消息接收人内的数据'],
+ ['code' => 'No permissions', 'message' => 'No permissions to access.', 'http_code' => 403, 'description' => 'RAM鉴权无权限'],
+ ['code' => 'NoPermission', 'message' => 'No permissions to access.', 'http_code' => 403, 'description' => 'RAM鉴权无权限'],
+ ['code' => 'param.illegal', 'message' => 'The specified parameter is invalid. Please check the parameter.', 'http_code' => 401, 'description' => '请求参数错误,请检查参数'],
+ ['code' => 'System.error', 'message' => 'An error occurred while processing your request.', 'http_code' => 500, 'description' => '系统出现未知错误,请重试'],
+ ['code' => 'Throttling.Api', 'message' => 'The request was denied due to API flow control.', 'http_code' => 429, 'description' => '请求由于流量控制而被拒绝。'],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateTicket'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTickets'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListProducts'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReopenTicket'],
+ ['threshold' => '256', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTicket'],
+ ['threshold' => '20', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EvaluateTicket'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCategories'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CloseTicket'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAttachmentUploadUrl'],
+ ['threshold' => '256', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTicketNotes'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetMqConsumerTag'],
+ ['threshold' => '20', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReplyTicket'],
],
],
];