From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/workorder/2016-03-21/api-docs.php | 441 ++++--------------- data/workorder/2016-04-18/api-docs.php | 423 ++++-------------- data/workorder/2016-08-30/api-docs.php | 292 +++---------- data/workorder/2016-09-19/api-docs.php | 380 ++++------------- data/workorder/2018-10-10/api-docs.php | 291 +++---------- data/workorder/2018-10-12/api-docs.php | 291 +++---------- data/workorder/2019-05-16/api-docs.php | 362 ++++------------ data/workorder/2020-03-26/api-docs.php | 465 ++++---------------- data/workorder/2020-08-01/api-docs.php | 452 ++++---------------- data/workorder/2020-12-10/api-docs.php | 645 +++++++--------------------- data/workorder/2021-05-10/api-docs.php | 451 ++++---------------- data/workorder/2021-06-10/api-docs.php | 756 ++++++++------------------------- 12 files changed, 1092 insertions(+), 4157 deletions(-) (limited to 'data/workorder') diff --git a/data/workorder/2016-03-21/api-docs.php b/data/workorder/2016-03-21/api-docs.php index 3fb1466..0dfd996 100644 --- a/data/workorder/2016-03-21/api-docs.php +++ b/data/workorder/2016-03-21/api-docs.php @@ -1,23 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2016-03-21', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2016-03-21'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'add' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,89 +17,53 @@ [ '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, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'QuestionList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -119,83 +73,48 @@ [ '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], ], ], ], 'QuestionListNote' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -205,31 +124,18 @@ [ '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], ], ], ], 'QuestionReply' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -239,255 +145,80 @@ [ '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], ], ], ], ], '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/workorder/2016-04-18/api-docs.php b/data/workorder/2016-04-18/api-docs.php index 8fc7bc4..e90b2c9 100644 --- a/data/workorder/2016-04-18/api-docs.php +++ b/data/workorder/2016-04-18/api-docs.php @@ -1,23 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2016-04-18', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2016-04-18'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'add' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,89 +17,53 @@ [ '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, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'QuestionList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -119,74 +73,43 @@ [ '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], ], ], ], 'QuestionListNote' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -196,22 +119,13 @@ [ 'name' => 'QuestionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'QuestionReply' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -221,246 +135,75 @@ [ '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], ], ], ], ], '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/workorder/2016-08-30/api-docs.php b/data/workorder/2016-08-30/api-docs.php index dd4ce82..4e33019 100644 --- a/data/workorder/2016-08-30/api-docs.php +++ b/data/workorder/2016-08-30/api-docs.php @@ -1,23 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2016-08-30', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2016-08-30'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'QueryUserStatByQuestionStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,231 +17,65 @@ [ 'name' => 'Uid', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], ], '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/workorder/2016-09-19/api-docs.php b/data/workorder/2016-09-19/api-docs.php index 14b8ffe..20e54c3 100644 --- a/data/workorder/2016-09-19/api-docs.php +++ b/data/workorder/2016-09-19/api-docs.php @@ -1,23 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2016-09-19', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2016-09-19'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'QueryQuestionCountByAccount' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,23 +17,13 @@ [ 'name' => 'FaqUserId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], 'QueryQuestionFromOtherSite' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -53,41 +33,23 @@ [ '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], ], ], ], 'QueryRecordList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -97,66 +59,38 @@ [ '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], ], ], ], 'QueryUserStatByQuestionStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -166,231 +100,65 @@ [ 'name' => 'Uid', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], ], '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/workorder/2018-10-10/api-docs.php b/data/workorder/2018-10-10/api-docs.php index bc7f980..0351182 100644 --- a/data/workorder/2018-10-10/api-docs.php +++ b/data/workorder/2018-10-10/api-docs.php @@ -1,23 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2018-10-10', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2018-10-10'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetAttachTempURLAuth' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,230 +17,65 @@ [ 'name' => 'AttachId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], '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/workorder/2018-10-12/api-docs.php b/data/workorder/2018-10-12/api-docs.php index 7de9f8b..53bab3b 100644 --- a/data/workorder/2018-10-12/api-docs.php +++ b/data/workorder/2018-10-12/api-docs.php @@ -1,23 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2018-10-12', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2018-10-12'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetAttachTempURL' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,230 +17,65 @@ [ 'name' => 'AttachId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], '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/workorder/2019-05-16/api-docs.php b/data/workorder/2019-05-16/api-docs.php index 932ce80..4b2f0e0 100644 --- a/data/workorder/2019-05-16/api-docs.php +++ b/data/workorder/2019-05-16/api-docs.php @@ -1,24 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2019-05-16', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2019-05-16'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetQuestionOwnerById' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -29,40 +18,23 @@ [ '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], ], ], ], 'GetQuestionOwnerByVid' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -73,39 +45,23 @@ [ '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], ], ], ], 'QueryQuestionByFaultIdList' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -116,257 +72,81 @@ [ 'name' => 'AppName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => 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], ], ], ], ], '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/workorder/2020-03-26/api-docs.php b/data/workorder/2020-03-26/api-docs.php index 179ad70..8b0f0e8 100644 --- a/data/workorder/2020-03-26/api-docs.php +++ b/data/workorder/2020-03-26/api-docs.php @@ -1,23 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2020-03-26', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2020-03-26'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28,86 +18,53 @@ [ '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, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SecretContent', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Phone', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Email', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NotifyTimeRange', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListTicketNotes' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -118,30 +75,18 @@ [ 'name' => 'Language', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TicketId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListTickets' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -152,90 +97,53 @@ [ 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CreatedAfterTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'CreatedBeforeTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', '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, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ '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, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'SubUserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Language', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CloseTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -246,30 +154,18 @@ [ 'name' => 'Language', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TicketId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListCategories' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -280,30 +176,18 @@ [ 'name' => 'Language', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListProducts' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -314,230 +198,65 @@ [ 'name' => 'Language', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], '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/workorder/2020-08-01/api-docs.php b/data/workorder/2020-08-01/api-docs.php index 3bda887..a6c908f 100644 --- a/data/workorder/2020-08-01/api-docs.php +++ b/data/workorder/2020-08-01/api-docs.php @@ -1,23 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2020-08-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2020-08-01'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28,95 +18,58 @@ [ '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, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SecretContent', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Phone', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Email', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => 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], ], ], ], 'GetAttachmentUploadUrl' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -127,22 +80,13 @@ [ 'name' => 'FileName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetAttachmentUrl' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -153,38 +97,23 @@ [ 'name' => 'AttachName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TicketId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NoteId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -195,22 +124,13 @@ [ 'name' => 'TicketId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListTickets' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -221,63 +141,37 @@ [ '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, - 'minimum' => '1', - 'maximum' => '500', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '500'], ], [ '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', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'], ], [ 'name' => 'ExtraConditionList', @@ -289,14 +183,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], ], ], 'maxItems' => 2, @@ -306,221 +194,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/workorder/2020-12-10/api-docs.php b/data/workorder/2020-12-10/api-docs.php index 3b2434e..9e604f3 100644 --- a/data/workorder/2020-12-10/api-docs.php +++ b/data/workorder/2020-12-10/api-docs.php @@ -1,238 +1,137 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2020-12-10', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2020-12-10'], 'components' => [ 'schemas' => [ 'CategoryParam' => [ 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'CategoryName' => [ - 'type' => 'string', - ], - 'ProductId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ProductName' => [ - 'type' => 'string', - ], - 'IsSelectFromDialog' => [ - 'type' => 'boolean', + 'CategoryId' => ['type' => 'integer', 'format' => 'int64'], + 'CategoryName' => ['type' => 'string'], + 'ProductId' => ['type' => 'integer', 'format' => 'int64'], + 'ProductName' => ['type' => 'string'], + 'IsSelectFromDialog' => ['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'], ], ], ], 'DialogBaseBody' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', + 'TicketId' => ['type' => 'string'], + 'Attachments' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['type' => 'string'], + 'Url' => ['type' => 'string'], + 'Size' => ['type' => 'string'], + 'Type' => ['type' => 'string'], + ], + ], ], - 'DataInfo' => [ + 'Status' => ['type' => 'integer', 'format' => 'int32'], + 'Timestamp' => ['type' => 'integer', 'format' => 'int64'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64'], + 'Type' => ['type' => 'integer', 'format' => 'int32'], + 'DialogId' => ['type' => 'integer', 'format' => 'int64'], + 'Tip' => ['type' => 'string'], + 'Stage' => ['type' => 'integer', 'format' => 'int32'], + 'FooterInfo' => [ 'type' => 'object', 'properties' => [ - 'Schema' => [ - 'type' => 'string', + 'Schema' => ['type' => 'string'], + 'Ext' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'any'], ], + ], + ], + 'DataInfo' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => ['type' => 'integer', 'format' => 'int64'], + 'Schema' => ['type' => 'string'], + 'Title' => ['type' => 'string'], 'Values' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - ], + 'additionalProperties' => ['type' => 'any'], ], - 'Title' => [ - 'type' => 'string', - ], - 'BizType' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Props' => [ + 'Content' => ['type' => 'string'], + 'ContentDesensitized' => ['type' => 'string'], + 'Editable' => ['type' => 'integer', 'format' => 'int32'], + 'BizType' => ['type' => 'integer', 'format' => 'int32'], + 'BizId' => ['type' => 'string'], + 'Component' => [ 'type' => 'array', 'items' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - ], + 'additionalProperties' => ['type' => 'any'], ], ], - 'ContentDesensitized' => [ - 'type' => 'string', - ], - 'Container' => [ - 'type' => 'any', - ], - 'Content' => [ - 'type' => 'string', - ], - 'SchemaId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Editable' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Component' => [ + 'Props' => [ 'type' => 'array', 'items' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - ], + 'additionalProperties' => ['type' => 'any'], ], ], - 'BizId' => [ - 'type' => 'string', - ], - 'ServiceChannel' => [ - 'type' => 'string', - ], - ], - ], - 'HitWords' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', + 'ServiceChannel' => ['type' => 'string'], + 'Container' => ['type' => 'any'], ], ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'DialogId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ChannelCode' => [ - 'type' => 'string', - ], 'UserInfo' => [ 'type' => 'object', 'properties' => [ - 'Role' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'UserName' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - 'Avatar' => [ - 'type' => 'string', - ], + 'UserId' => ['type' => 'string'], + 'UserName' => ['type' => 'string'], + 'Role' => ['type' => 'integer', 'format' => 'int32'], + 'Avatar' => ['type' => 'string'], ], ], - 'TicketStatus' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Attachments' => [ + 'ReferInfo' => ['$ref' => '#/components/schemas/DialogBaseBody'], + 'HitWords' => [ 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'type' => 'string', - ], - 'Size' => [ - 'type' => 'string', - ], - 'Url' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - ], - ], - ], - 'Timestamp' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ReferInfo' => [ - '$ref' => '#/components/schemas/DialogBaseBody', - ], - 'FooterInfo' => [ - 'type' => 'object', - 'properties' => [ - 'Ext' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'Schema' => [ - 'type' => 'string', - ], - ], - ], - 'Type' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TicketId' => [ - 'type' => 'string', - ], - 'ModifiedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Stage' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Tip' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'ChannelCode' => ['type' => 'string'], + 'TicketStatus' => ['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' => [], @@ -243,79 +142,53 @@ [ 'name' => 'TicketId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ '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'], ], ], ], 'GetTicketTemplate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -329,60 +202,38 @@ [ 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'maximum' => '99999999', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '99999999'], ], [ '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'], ], ], ], 'IsFirstBbsTicket' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -393,257 +244,85 @@ [ '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'], ], ], ], ], '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/workorder/2021-05-10/api-docs.php b/data/workorder/2021-05-10/api-docs.php index 11718ee..2f99296 100644 --- a/data/workorder/2021-05-10/api-docs.php +++ b/data/workorder/2021-05-10/api-docs.php @@ -1,22 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2021-05-10', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2021-05-10'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CloseTicket' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -30,21 +21,13 @@ [ 'name' => 'TicketId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'CreateTicket' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -58,41 +41,23 @@ [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Severity', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '0', - 'maximum' => '1000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0', 'maximum' => '1000'], ], [ 'name' => 'CategoryId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetMessageTag' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -105,14 +70,8 @@ 'parameters' => [], ], 'ListCategories' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -126,25 +85,13 @@ [ 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'maximum' => '99999999999', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '99999999999'], ], ], ], 'ListProducts' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -158,22 +105,13 @@ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListTicketNotes' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -187,21 +125,13 @@ [ 'name' => 'TicketId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ReplyTicket' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -215,38 +145,23 @@ [ 'name' => 'TicketId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Content', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SecContent', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListTickets' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -260,58 +175,32 @@ [ 'name' => 'BeginDate', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'maximum' => '9999999', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '9999999'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '10', - 'maximum' => '100', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '10', 'maximum' => '100'], ], [ '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', @@ -320,9 +209,7 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'maxItems' => 11, ], ], @@ -330,221 +217,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/workorder/2021-06-10/api-docs.php b/data/workorder/2021-06-10/api-docs.php index 965ddd0..df57539 100644 --- a/data/workorder/2021-06-10/api-docs.php +++ b/data/workorder/2021-06-10/api-docs.php @@ -1,23 +1,13 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Workorder', - 'version' => '2021-06-10', - ], + 'info' => ['style' => 'RPC', 'product' => 'Workorder', 'version' => '2021-06-10'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'GetTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CloseTicket' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -31,30 +21,18 @@ [ 'name' => 'TicketId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Uid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -68,53 +46,32 @@ [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Severity', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '0', - 'maximum' => '1000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0', 'maximum' => '1000'], ], [ 'name' => 'CategoryId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Title', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CreatorId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Email', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FileNameList', @@ -123,10 +80,7 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ @@ -137,32 +91,20 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Content' => [ - 'type' => 'string', - 'required' => false, - ], + 'Content' => ['type' => 'string', 'required' => false], 'FileNameList' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'ReplyTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'EvaluateTicket' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -176,59 +118,33 @@ [ 'name' => 'TicketId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Content', + 'name' => 'Solved', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => true], ], [ - 'name' => 'FileNameList', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'Score', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Encrypt', + 'name' => 'Content', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Uid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CloseTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAttachmentUploadUrl' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -240,32 +156,15 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'TicketId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'Uid', + 'name' => 'FileName', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'EvaluateTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetMqConsumerTag' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -275,58 +174,36 @@ ], ], 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'TicketId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], + 'parameters' => [], + ], + 'GetTicket' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Solved', - 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => true, - ], + 'AK' => [], ], [ - 'name' => 'Score', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'APP' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Content', + 'name' => 'TicketId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Uid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListTickets' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListCategories' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -338,107 +215,50 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'StartDate', + 'name' => 'ProductId', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '99999999999'], ], [ - 'name' => 'EndDate', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'maximum' => '9999999', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'Language', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '10', - 'maximum' => '100', - ], - ], - [ - 'name' => 'TicketId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'ListProducts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Keyword', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], [ - 'name' => 'StatusList', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 11, - ], + 'APP' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'TicketIdList', - 'in' => 'formData', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Uid', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'Language', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListTicketNotes' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -452,30 +272,18 @@ [ 'name' => 'TicketId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Uid', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListProducts' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTickets' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -487,100 +295,66 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'StartDate', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'Language', + 'name' => 'EndDate', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '9999999'], ], - ], - ], - 'ListCategories' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '10', 'maximum' => '100'], ], [ - 'APP' => [], + 'name' => 'TicketId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'ProductId', + 'name' => 'Keyword', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'maximum' => '99999999999', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Name', + 'name' => 'StatusList', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 11, ], ], [ - 'name' => 'Language', - 'in' => 'query', + 'name' => 'TicketIdList', + 'in' => 'formData', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], - ], - ], - 'GetMqConsumerTag' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - [ - 'APP' => [], + 'name' => 'Uid', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], ], - 'deprecated' => false, - 'parameters' => [], ], 'ReopenTicket' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -594,38 +368,23 @@ [ 'name' => 'TicketId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Content', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Uid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetAttachmentUploadUrl' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ReplyTicket' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -637,232 +396,63 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'FileName', + 'name' => 'TicketId', 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'FileNameList', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'Encrypt', + 'in' => 'formData', + 'schema' => ['type' => 'boolean', 'required' => true], + ], + [ + 'name' => 'Uid', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], ], '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' => ''], ], ]; -- cgit v1.2.3