'1.0', 'info' => [ 'style' => 'ROA', 'product' => 'PaiPlugin', 'version' => '2021-03-25', ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateSchedule' => [ 'path' => '/api/v1/schedules', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateSignature' => [ 'path' => '/api/v1/signatures', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteSchedule' => [ 'path' => '/api/v1/schedules/{ID}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'ID', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateTemplate' => [ 'path' => '/api/v1/templates', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteSignature' => [ 'path' => '/api/v1/signatures/{ID}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'ID', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteTemplate' => [ 'path' => '/api/v1/templates/{ID}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'ID', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetSignature' => [ 'path' => '/api/v1/signatures/{ID}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'ID', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetTemplate' => [ 'path' => '/api/v1/templates/{ID}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'ID', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListSchedules' => [ 'path' => '/api/v1/schedules', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], '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, ], ], ], ], 'ListTemplates' => [ 'path' => '/api/v1/templates', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], '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, ], ], ], ], 'ListSignatures' => [ 'path' => '/api/v1/signatures', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], '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, ], ], ], ], 'UploadMediaByURL' => [ 'path' => '/media/api/v1/video/upload', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'object', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], 'endpoints' => [ [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'paiplugin.cn-hangzhou.aliyuncs.com', ], ], ];