diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/paiplugin/2021-03-25 | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/paiplugin/2021-03-25')
| -rw-r--r-- | data/en_us/paiplugin/2021-03-25/api-docs.php | 938 |
1 files changed, 938 insertions, 0 deletions
diff --git a/data/en_us/paiplugin/2021-03-25/api-docs.php b/data/en_us/paiplugin/2021-03-25/api-docs.php new file mode 100644 index 0000000..04bade7 --- /dev/null +++ b/data/en_us/paiplugin/2021-03-25/api-docs.php @@ -0,0 +1,938 @@ +<?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', + ], + ], +]; |
