summaryrefslogtreecommitdiff
path: root/data/en_us/paistudio/2020-04-28
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/paistudio/2020-04-28')
-rw-r--r--data/en_us/paistudio/2020-04-28/api-docs.php257
1 files changed, 48 insertions, 209 deletions
diff --git a/data/en_us/paistudio/2020-04-28/api-docs.php b/data/en_us/paistudio/2020-04-28/api-docs.php
index a5d6dc7..ea02529 100644
--- a/data/en_us/paistudio/2020-04-28/api-docs.php
+++ b/data/en_us/paistudio/2020-04-28/api-docs.php
@@ -1,19 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'PaiStudio',
- 'version' => '2020-04-28',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'PaiStudio', 'version' => '2020-04-28'],
'directories' => [
[
'id' => 348767,
'title' => 'Other',
'type' => 'directory',
- 'children' => [
- 'AddModel',
- 'CheckServiceLinkedRoleForDeleting',
- ],
+ 'children' => ['AddModel', 'CheckServiceLinkedRoleForDeleting'],
],
],
'components' => [
@@ -21,13 +14,8 @@
],
'apis' => [
'AddModel' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -40,99 +28,52 @@
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Uri',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'FormatType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '10000',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '10000', 'minimum' => '0'],
],
[
'name' => 'Source',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '10000',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '10000', 'minimum' => '0'],
],
[
'name' => 'StorageType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '10000',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '10000', 'minimum' => '0'],
],
[
'name' => 'FrameworkType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '10000',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '10000', 'minimum' => '0'],
],
[
'name' => 'ResourceOwnerType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '10000',
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '0'],
],
[
'name' => 'Configuration',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DefaultParams',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -140,25 +81,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'ErrCode' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'ErrMessage' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'ErrCode' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'ErrMessage' => ['type' => 'string'],
'Data' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'Id' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -167,23 +97,14 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'DMS1000001',
- 'errorMessage' => 'Request failed.',
- ],
+ ['errorCode' => 'DMS1000001', 'errorMessage' => 'Request failed.'],
],
],
'responseDemo' => null,
],
'CheckServiceLinkedRoleForDeleting' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -191,42 +112,27 @@
],
'operationType' => 'read',
'deprecated' => false,
+ 'systemTags' => [],
'parameters' => [
[
'name' => 'RoleArn',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ServiceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'DeletionTaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -234,25 +140,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Deletable' => [
- 'type' => 'boolean',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'Deletable' => ['type' => 'boolean'],
+ 'RequestId' => ['type' => 'string'],
'RoleUsages' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Region' => [
- 'type' => 'string',
- ],
+ 'Region' => ['type' => 'string'],
'Resources' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -266,81 +164,22 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'pai.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'pai.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'pai.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'pai.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'pai.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'pai.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'pai.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'pai.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'pai.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'pai.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'pai.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'pai.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'pai.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'pai.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'pai.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'pai.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'pai.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'pai.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'pai.me-east-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-wulanchabu', 'endpoint' => 'pai.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'pai.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'pai.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'pai.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'pai.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'endpoint' => 'pai.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'pai.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'endpoint' => 'pai.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'pai.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'pai.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'pai.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'pai.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-8', 'endpoint' => 'pai.ap-southeast-8.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'pai.us-east-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'pai.us-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'pai.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'pai.cn-shanghai-finance-1.aliyuncs.com'],
],
];