summaryrefslogtreecommitdiff
path: root/data/en_us/sls/2018-06-13
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/sls/2018-06-13')
-rw-r--r--data/en_us/sls/2018-06-13/api-docs.php350
1 files changed, 70 insertions, 280 deletions
diff --git a/data/en_us/sls/2018-06-13/api-docs.php b/data/en_us/sls/2018-06-13/api-docs.php
index bdfb046..2a9505c 100644
--- a/data/en_us/sls/2018-06-13/api-docs.php
+++ b/data/en_us/sls/2018-06-13/api-docs.php
@@ -1,18 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'SLS',
- 'product' => 'Sls',
- 'version' => '2018-06-13',
- ],
+ 'info' => ['style' => 'SLS', 'product' => 'Sls', 'version' => '2018-06-13'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'AnalyzeProductLog',
- ],
+ 'children' => ['AnalyzeProductLog'],
],
],
'components' => [
@@ -21,14 +15,8 @@
'apis' => [
'AnalyzeProductLog' => [
'summary' => '操作云产品日志服务资源',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -41,97 +29,59 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84924',
- 'abilityTreeNodes' => [
- 'FEATUREslsL870A3',
- ],
+ 'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Logstore',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'CloudProduct',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TTL',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'ResourceQuota',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Overwrite',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'true',
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false, 'default' => 'true'],
],
[
'name' => 'ClientIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'VariableMap',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'object', 'required' => false],
],
],
'responses' => [
@@ -139,234 +89,74 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'CreateProjectFailed',
- 'errorMessage' => 'Failed to create the project: %s.',
- ],
- [
- 'errorCode' => 'ParamsIsNull',
- 'errorMessage' => '%s.',
- ],
- [
- 'errorCode' => 'InvalidRegion',
- 'errorMessage' => 'The region is invalid.',
- ],
- [
- 'errorCode' => 'ProjectExist',
- 'errorMessage' => '%s.',
- ],
- [
- 'errorCode' => 'LogstoreError',
- 'errorMessage' => 'Failed to create or update the logstore: %s.',
- ],
- [
- 'errorCode' => 'DashboardError',
- 'errorMessage' => 'Failed to create or update the dashboard: %s.',
- ],
- [
- 'errorCode' => 'InvalidParameter',
- 'errorMessage' => 'The parameter is invalid: %s.',
- ],
- [
- 'errorCode' => 'ProjectRegionInvalid',
- 'errorMessage' => '%s.',
- ],
- [
- 'errorCode' => 'UnRegisterProduct',
- 'errorMessage' => '%s.',
- ],
- [
- 'errorCode' => 'GetProjectFailed',
- 'errorMessage' => 'Failed to get project: %s.',
- ],
- [
- 'errorCode' => 'InvalidLang',
- 'errorMessage' => '%s.',
- ],
- [
- 'errorCode' => 'SavedSearchError',
- 'errorMessage' => '%s.',
- ],
- [
- 'errorCode' => 'IndexError',
- 'errorMessage' => 'Failed to create or update index: %s.',
- ],
- [
- 'errorCode' => 'JobError',
- 'errorMessage' => 'Failed to create or update the job: %s.',
- ],
+ ['errorCode' => 'CreateProjectFailed', 'errorMessage' => 'Failed to create the project: %s.'],
+ ['errorCode' => 'ParamsIsNull', 'errorMessage' => '%s.'],
+ ['errorCode' => 'InvalidRegion', 'errorMessage' => 'The region is invalid.'],
+ ['errorCode' => 'ProjectExist', 'errorMessage' => '%s.'],
+ ['errorCode' => 'LogstoreError', 'errorMessage' => 'Failed to create or update the logstore: %s.'],
+ ['errorCode' => 'DashboardError', 'errorMessage' => 'Failed to create or update the dashboard: %s.'],
+ ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid: %s.'],
+ ['errorCode' => 'ProjectRegionInvalid', 'errorMessage' => '%s.'],
+ ['errorCode' => 'UnRegisterProduct', 'errorMessage' => '%s.'],
+ ['errorCode' => 'GetProjectFailed', 'errorMessage' => 'Failed to get project: %s.'],
+ ['errorCode' => 'InvalidLang', 'errorMessage' => '%s.'],
+ ['errorCode' => 'SavedSearchError', 'errorMessage' => '%s.'],
+ ['errorCode' => 'IndexError', 'errorMessage' => 'Failed to create or update index: %s.'],
+ ['errorCode' => 'JobError', 'errorMessage' => 'Failed to create or update the job: %s.'],
],
[
- [
- 'errorCode' => 'UnAuthorized',
- 'errorMessage' => '%s.',
- ],
+ ['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => null,
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cn-qingdao.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cn-beijing.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cn-zhangjiakou.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'cn-huhehaote.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'cn-wulanchabu.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'cn-hangzhou.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'cn-shanghai.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'cn-nanjing.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'cn-fuzhou.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'cn-shenzhen.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'cn-heyuan.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'cn-guangzhou.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'cn-chengdu.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'cn-hongkong.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'ap-northeast-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'ap-northeast-2.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'ap-southeast-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'ap-southeast-2.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'ap-southeast-3.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'ap-southeast-5.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'ap-southeast-6.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'ap-southeast-7.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'us-east-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'us-west-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'eu-west-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'eu-central-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'us-southeast-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'ap-south-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'me-east-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'me-central-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cn-hangzhou-finance.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'cn-shanghai-finance-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'cn-shenzhen-finance-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'cn-beijing-finance-1.log.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'cn-heyuan-acdr-1-intranet.log.aliyuncs.com',
- ],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'cn-qingdao.log.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'cn-beijing.log.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'cn-zhangjiakou.log.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'cn-huhehaote.log.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'endpoint' => 'cn-wulanchabu.log.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'cn-hangzhou.log.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'cn-shanghai.log.aliyuncs.com'],
+ ['regionId' => 'cn-nanjing', 'endpoint' => 'cn-nanjing.log.aliyuncs.com'],
+ ['regionId' => 'cn-fuzhou', 'endpoint' => 'cn-fuzhou.log.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'cn-shenzhen.log.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan', 'endpoint' => 'cn-heyuan.log.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'endpoint' => 'cn-guangzhou.log.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'cn-chengdu.log.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'cn-hongkong.log.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'ap-northeast-1.log.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'endpoint' => 'ap-northeast-2.log.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'ap-southeast-1.log.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'ap-southeast-2.log.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'ap-southeast-3.log.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'ap-southeast-5.log.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-6', 'endpoint' => 'ap-southeast-6.log.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-7', 'endpoint' => 'ap-southeast-7.log.aliyuncs.com'],
+ ['regionId' => 'us-southeast-1', 'endpoint' => 'us-southeast-1.log.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'eu-central-1.log.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'eu-west-1.log.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'us-west-1.log.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'us-east-1.log.aliyuncs.com'],
+ ['regionId' => 'me-central-1', 'endpoint' => 'me-central-1.log.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'me-east-1.log.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'endpoint' => 'ap-south-1.log.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'cn-heyuan-acdr-1-intranet.log.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'cn-beijing-finance-1.log.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'cn-shenzhen-finance-1.log.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'cn-shanghai-finance-1.log.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'cn-hangzhou-finance.log.aliyuncs.com'],
],
];