diff options
Diffstat (limited to 'data/zh_cn/paiplugin/2021-03-25')
| -rw-r--r-- | data/zh_cn/paiplugin/2021-03-25/api-docs.php | 938 |
1 files changed, 0 insertions, 938 deletions
diff --git a/data/zh_cn/paiplugin/2021-03-25/api-docs.php b/data/zh_cn/paiplugin/2021-03-25/api-docs.php deleted file mode 100644 index 04bade7..0000000 --- a/data/zh_cn/paiplugin/2021-03-25/api-docs.php +++ /dev/null @@ -1,938 +0,0 @@ -<?php return [ - 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'PaiPlugin', - 'version' => '2021-03-25', - ], - 'directories' => [ - [ - 'id' => 0, - 'title' => '其它', - 'type' => 'directory', - 'children' => [ - 'CreateSchedule', - 'CreateSignature', - 'DeleteSchedule', - 'CreateTemplate', - 'DeleteSignature', - 'DeleteTemplate', - 'GetSignature', - 'GetTemplate', - 'ListSchedules', - 'ListTemplates', - 'ListSignatures', - 'UploadMediaByURL', - ], - ], - ], - 'components' => [ - 'schemas' => [], - ], - 'apis' => [ - 'CreateSchedule' => [ - 'path' => '/api/v1/schedules', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'UpdatedTime' => [ - 'type' => 'string', - ], - 'TemplateID' => [ - 'type' => 'string', - ], - 'SignatureID' => [ - 'type' => 'string', - ], - 'SendTime' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'CreatedTime' => [ - 'type' => 'string', - ], - 'ID' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'CreateSignature' => [ - 'path' => '/api/v1/signatures', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Name' => [ - 'type' => 'string', - ], - 'UpdatedTime' => [ - 'type' => 'string', - ], - 'CreatedTime' => [ - 'type' => 'string', - ], - 'ID' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'DeleteSchedule' => [ - 'path' => '/api/v1/schedules/{ID}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'ID', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'CreateTemplate' => [ - 'path' => '/api/v1/templates', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TemplateCode' => [ - 'type' => 'string', - ], - 'UpdatedTime' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Content' => [ - 'type' => 'string', - ], - 'CreatedTime' => [ - 'type' => 'string', - ], - 'ID' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'DeleteSignature' => [ - 'path' => '/api/v1/signatures/{ID}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'ID', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'DeleteTemplate' => [ - 'path' => '/api/v1/templates/{ID}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'ID', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'GetSignature' => [ - 'path' => '/api/v1/signatures/{ID}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'ID', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Certificates' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'UpdatedTime' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'CreatedTime' => [ - 'type' => 'string', - ], - 'Reason' => [ - 'type' => 'string', - ], - 'PowerOfAttorney' => [ - 'type' => 'string', - ], - 'ID' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'GetTemplate' => [ - 'path' => '/api/v1/templates/{ID}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'ID', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TemplateCode' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'UpdatedTime' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'CreatedTime' => [ - 'type' => 'string', - ], - 'Content' => [ - 'type' => 'string', - ], - 'Reason' => [ - 'type' => 'string', - ], - 'ID' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'ListSchedules' => [ - 'path' => '/api/v1/schedules', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'object', - 'properties' => [ - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Schedules' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'UpdatedTime' => [ - 'type' => 'string', - ], - 'TemplateID' => [ - 'type' => 'string', - ], - 'SignatureID' => [ - 'type' => 'string', - ], - 'SendTime' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'CreatedTime' => [ - 'type' => 'string', - ], - 'ID' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'ListTemplates' => [ - 'path' => '/api/v1/templates', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'object', - 'properties' => [ - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Templates' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TemplateCode' => [ - 'type' => 'string', - ], - 'UpdatedTime' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Content' => [ - 'type' => 'string', - ], - 'CreatedTime' => [ - 'type' => 'string', - ], - 'ID' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'ListSignatures' => [ - 'path' => '/api/v1/signatures', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'object', - 'properties' => [ - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Signatures' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Name' => [ - 'type' => 'string', - ], - 'UpdatedTime' => [ - 'type' => 'string', - ], - 'CreatedTime' => [ - 'type' => 'string', - ], - 'ID' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - 'UploadMediaByURL' => [ - 'path' => '/media/api/v1/video/upload', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'parameters' => [ - [ - 'name' => 'object', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'UploadJobs' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'SourceURL' => [ - 'type' => 'string', - ], - 'JobId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [], - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'paiplugin.cn-hangzhou.aliyuncs.com', - ], - ], -]; |
