'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'videoseg', 'version' => '2020-03-20', ], 'directories' => [ [ 'id' => 208339, 'title' => null, 'type' => 'directory', 'children' => [ 'SegmentVideoBody', ], ], 'GetAsyncJobResult', ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'SegmentVideoBody' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'VideoUrl', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/videoseg/SegmentVideoBody/SegmentVideoBody1.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '49E2CC28-ED1D-4CC5-854D-7D0AE2B20976', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoUrl' => [ 'description' => '', 'example' => 'http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-human-segmentation/D86DDFBC-B8ED-4780-9E6A-E5BA98D7CC9F.mp4?Expires=1584709406&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=Fx5HVxvRjAMIjWL2OvhTlOO4cC****', 'type' => 'string', ], ], 'type' => 'object', ], 'Message' => [ 'description' => '', 'example' => '', 'type' => 'string', ], ], 'type' => 'object', ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', ], ], 403 => [ [ 'errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', ], ], 408 => [ [ 'errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', ], ], 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"49E2CC28-ED1D-4CC5-854D-7D0AE2B20976\\",\\n \\"Data\\": {\\n \\"VideoUrl\\": \\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-human-segmentation/D86DDFBC-B8ED-4780-9E6A-E5BA98D7CC9F.mp4?Expires=1584709406&OSSAccessKeyId=LTAI****************&Signature=Fx5HVxvRjAMIjWL2OvhTlOO4cC****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 49E2CC28-ED1D-4CC5-854D-7D0AE2B20976\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'GetAsyncJobResult' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'E75FE679-0303-4DD1-8252-1143B4FA8A27', 'required' => true, 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '1', 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '6BD843FB-E7B9-45B6-ADE1-9AB1FF450148', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'Status' => [ 'description' => '', 'example' => 'PROCESS_SUCCESS', 'type' => 'string', ], 'ErrorMessage' => [ 'description' => '', 'example' => 'paramsIllegal', 'type' => 'string', ], 'Result' => [ 'description' => '', 'example' => '{\\"VideoUrl\\":\\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/film-summary/49E2CC28-ED1D-4CC5-854D-7D0AE2B20976_rf8mv0.mp4?Expires=1585111875&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=7uE0ppt6uwkdwAFz73PPZN4KG7****\\"}', 'type' => 'string', ], 'ErrorCode' => [ 'description' => '', 'example' => 'InvalidParameter', 'type' => 'string', ], 'JobId' => [ 'description' => '', 'example' => '49E2CC28-ED1D-4CC5-854D-7D0AE2B20976', 'type' => 'string', ], ], 'type' => 'object', ], ], 'type' => 'object', ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', ], ], 403 => [ [ 'errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', ], ], 408 => [ [ 'errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', ], ], 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6BD843FB-E7B9-45B6-ADE1-9AB1FF450148\\",\\n \\"Data\\": {\\n \\"Status\\": \\"PROCESS_SUCCESS\\",\\n \\"ErrorMessage\\": \\"paramsIllegal\\",\\n \\"Result\\": \\"{\\\\\\\\\\\\\\"VideoUrl\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/film-summary/49E2CC28-ED1D-4CC5-854D-7D0AE2B20976_rf8mv0.mp4?Expires=1585111875&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=7uE0ppt6uwkdwAFz73PPZN4KG7****\\\\\\\\\\\\\\"}\\",\\n \\"ErrorCode\\": \\"InvalidParameter\\",\\n \\"JobId\\": \\"49E2CC28-ED1D-4CC5-854D-7D0AE2B20976\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"6BD843FB-E7B9-45B6-ADE1-9AB1FF450148\\n\\n PROCESS_SUCCESS\\n 9CDE688A-8FC8-4B8D-8C34-1C3490703F23\\n {\\"VideoUrl\\":\\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-human-segmentation/9CDE688A-8FC8-4B8D-8C34-1C3490703F23.mp4?Expires=1585193584&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=z6DQV%2F14CFvammxkgXLcYm0wsW****\\"}\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], ], 'endpoints' => [ [ 'regionId' => 'cn-shanghai', 'endpoint' => 'videoseg.cn-shanghai.aliyuncs.com', ], ], ];