diff options
Diffstat (limited to 'data/paistudio/2020-04-28/api-docs.php')
| -rw-r--r-- | data/paistudio/2020-04-28/api-docs.php | 203 |
1 files changed, 36 insertions, 167 deletions
diff --git a/data/paistudio/2020-04-28/api-docs.php b/data/paistudio/2020-04-28/api-docs.php index bd118d4..5dde5ca 100644 --- a/data/paistudio/2020-04-28/api-docs.php +++ b/data/paistudio/2020-04-28/api-docs.php @@ -1,22 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'PaiStudio', - 'version' => '2020-04-28', - ], + 'info' => ['style' => 'RPC', 'product' => 'PaiStudio', 'version' => '2020-04-28'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AddModel' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,109 +18,58 @@ [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Uri', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FormatType', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'maximum' => '10000'], ], [ 'name' => 'Source', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'maximum' => '10000'], ], [ 'name' => 'StorageType', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'maximum' => '10000'], ], [ 'name' => 'FrameworkType', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'maximum' => '10000'], ], [ 'name' => 'ResourceOwnerType', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '10000'], ], [ '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], ], ], ], 'CheckServiceLinkedRoleForDeleting' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -140,114 +80,43 @@ [ 'name' => 'RoleArn', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DeletionTaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], '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'], ], ]; |
