summaryrefslogtreecommitdiff
path: root/data/en_us/viapi/2023-01-17/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/viapi/2023-01-17/api-docs.php')
-rw-r--r--data/en_us/viapi/2023-01-17/api-docs.php384
1 files changed, 384 insertions, 0 deletions
diff --git a/data/en_us/viapi/2023-01-17/api-docs.php b/data/en_us/viapi/2023-01-17/api-docs.php
new file mode 100644
index 0000000..bbc9cc2
--- /dev/null
+++ b/data/en_us/viapi/2023-01-17/api-docs.php
@@ -0,0 +1,384 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'viapi',
+ 'version' => '2023-01-17',
+ ],
+ 'directories' => [
+ 'QueryAsyncJobList',
+ 'GetAsyncJobResult',
+ 'CancelWaitingAsyncJob',
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'QueryAsyncJobList' => [
+ 'summary' => '查询异步任务列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => '2023-01-04 00:00:00',
+ 'required' => false,
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => '2023-01-04 23:00:00',
+ 'required' => false,
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'JobId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => 'E75FE679-0303-4DD1-8252-1143B4FA8A27 ',
+ 'required' => false,
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'PopProduct',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => 'ocr',
+ 'required' => false,
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'PopApiName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => 'RecognizeIdentityCard ',
+ 'required' => false,
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => 'PROCESS_SUCCESS',
+ 'required' => false,
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'PageNum',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => '1',
+ 'required' => false,
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => '20',
+ 'required' => false,
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'Schema of Response',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'example' => '43A0AEB6-45F4-4138-8E89-E1A5D63200E3',
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'properties' => [
+ 'CurrentPage' => [
+ 'description' => '',
+ 'example' => '1',
+ 'format' => 'int32',
+ 'type' => 'integer',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'example' => '20',
+ 'format' => 'int32',
+ 'type' => 'integer',
+ ],
+ 'TotalPage' => [
+ 'description' => '',
+ 'example' => '2',
+ 'format' => 'int32',
+ 'type' => 'integer',
+ ],
+ 'TotalRecord' => [
+ 'description' => '',
+ 'example' => '22',
+ 'format' => 'int32',
+ 'type' => 'integer',
+ ],
+ 'Result' => [
+ 'description' => '',
+ 'items' => [
+ 'properties' => [
+ 'CallerParentId' => [
+ 'description' => '',
+ 'example' => '1850343078585779',
+ 'type' => 'string',
+ ],
+ 'EndTime' => [
+ 'description' => '',
+ 'example' => '2023-01-04 17:18:44',
+ 'type' => 'string',
+ ],
+ 'GmtCreate' => [
+ 'description' => '',
+ 'example' => '2023-01-04 17:18:44',
+ 'type' => 'string',
+ ],
+ 'JobId' => [
+ 'description' => '',
+ 'example' => '49E2CC28-ED1D-4CC5-854D-7D0AE2B20976',
+ 'type' => 'string',
+ ],
+ 'PopApiName' => [
+ 'description' => '',
+ 'example' => 'DetectVideoShot',
+ 'type' => 'string',
+ ],
+ 'PopProduct' => [
+ 'description' => '',
+ 'example' => 'videorecog',
+ 'type' => 'string',
+ ],
+ 'StartTime' => [
+ 'description' => '',
+ 'example' => '2023-01-04 17:18:44',
+ 'type' => 'string',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'example' => 'PROCESS_SUCCESS',
+ 'type' => 'string',
+ ],
+ ],
+ 'type' => 'object',
+ ],
+ 'type' => 'array',
+ ],
+ ],
+ 'type' => 'object',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'example' => 'success',
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'example' => 'true',
+ 'type' => 'boolean',
+ ],
+ 'HttpCode' => [
+ 'description' => '',
+ 'example' => '200',
+ 'type' => 'string',
+ ],
+ ],
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"43A0AEB6-45F4-4138-8E89-E1A5D63200E3\\",\\n \\"Data\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 2,\\n \\"TotalRecord\\": 22,\\n \\"Result\\": [\\n {\\n \\"CallerParentId\\": \\"1850343078585779\\",\\n \\"EndTime\\": \\"2023-01-04 17:18:44\\",\\n \\"GmtCreate\\": \\"2023-01-04 17:18:44\\",\\n \\"JobId\\": \\"49E2CC28-ED1D-4CC5-854D-7D0AE2B20976\\",\\n \\"PopApiName\\": \\"DetectVideoShot\\",\\n \\"PopProduct\\": \\"videorecog\\",\\n \\"StartTime\\": \\"2023-01-04 17:18:44\\",\\n \\"Status\\": \\"PROCESS_SUCCESS\\"\\n }\\n ]\\n },\\n \\"Message\\": \\"paramsIllegal\\",\\n \\"Success\\": true,\\n \\"HttpCode\\": \\"InvalidParameter\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryAsyncJobListResponse>\\n <RequestId>43A0AEB6-45F4-4138-8E89-E1A5D63200E3</RequestId>\\n <Data>\\n <CurrentPage>1</CurrentPage>\\n <PageSize>20</PageSize>\\n <TotalPage>2</TotalPage>\\n <TotalRecord>22</TotalRecord>\\n <Result>\\n <CallerParentId>1850343078585779</CallerParentId>\\n <EndTime>2023-01-04 17:18:44</EndTime>\\n <GmtCreate>2023-01-04 17:18:44</GmtCreate>\\n <JobId>49E2CC28-ED1D-4CC5-854D-7D0AE2B20976</JobId>\\n <PopApiName>DetectVideoShot</PopApiName>\\n <PopProduct>videorecog</PopProduct>\\n <StartTime>2023-01-04 17:18:44</StartTime>\\n <Status>PROCESS_SUCCESS</Status>\\n </Result>\\n </Data>\\n <Message>paramsIllegal</Message>\\n <Success>true</Success>\\n <HttpCode>InvalidParameter</HttpCode>\\n</QueryAsyncJobListResponse>","errorExample":""}]',
+ ],
+ 'GetAsyncJobResult' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => 'E75FE679-0303-4DD1-8252-1143B4FA8A27 ',
+ 'required' => true,
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'example' => 'E335106F-9F96-491D-AEB3-1610F8545968',
+ 'type' => 'string',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '',
+ 'example' => 'PROCESS_SUCCESS',
+ 'type' => 'string',
+ ],
+ 'ErrorMessage' => [
+ 'description' => '',
+ 'example' => 'product is not active',
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'description' => '',
+ 'example' => '{\\"pointCloudUrl\\":\\"http://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/MultiviewStereo/83e2fcec-02e1-4522-8680-92f532956e2c/cas_input.ply\\"}',
+ 'type' => 'string',
+ ],
+ 'ErrorCode' => [
+ 'description' => '',
+ 'example' => 'InvalidParameter',
+ 'type' => 'string',
+ ],
+ 'JobId' => [
+ 'description' => '',
+ 'example' => 'B6590005-5E7C-4A25-8F97-4479888D8271',
+ 'type' => 'string',
+ ],
+ ],
+ 'type' => 'object',
+ ],
+ ],
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0E448D84-1736-1BCD-BEA5-866C413515A1\\",\\n \\"Data\\": {\\n \\"Status\\": \\"PROCESS_SUCCESS\\",\\n \\"ErrorMessage\\": \\"paramsIllegal\\",\\n \\"Result\\": \\"\\\\\\"{\\\\\\\\\\\\\\"jsonUrl\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-11-16/01%3A52-crxCR763VXTeY0bP.json?Expires=1673425915&OSSAccessKeyId=LTAI****************&Signature=iW07EIZaqaiMNoF3RJZwsLVxOx****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pdfUrl\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-11-16/01%3A52-crxCR763VXTeY0bP.pdf?Expires=1673425916&OSSAccessKeyId=LTAI****************&Signature=BvZ3ayeTTxaR65ZvQ2%2FoE8W8Lr****\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"ErrorCode\\": \\"InvalidParameter\\",\\n \\"JobId\\": \\"A421D5F0-4F73-19F5-8D92-D509FAD281D2\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAsyncJobResultResponse>\\n <RequestId>0E448D84-1736-1BCD-BEA5-866C413515A1</RequestId>\\n <Data>\\n <Status>PROCESS_SUCCESS</Status>\\n <JobId>A421D5F0-4F73-19F5-8D92-D509FAD281D2</JobId>\\n <Result>{\\"jsonUrl\\":\\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-11-16/01%3A52-crxCR763VXTeY0bP.json?Expires=1673425915&amp;OSSAccessKeyId=LTAI****************&amp;Signature=iW07EIZaqaiMNoF3RJZwsLVxOx****\\",\\"pdfUrl\\":\\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-11-16/01%3A52-crxCR763VXTeY0bP.pdf?Expires=1673425916&amp;OSSAccessKeyId=LTAI****************&amp;Signature=BvZ3ayeTTxaR65ZvQ2%2FoE8W8Lr****\\"}</Result>\\n </Data>\\n</GetAsyncJobResultResponse>","errorExample":""}]',
+ ],
+ 'CancelWaitingAsyncJob' => [
+ 'summary' => '取消排队异步任务',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'example' => 'E75FE679-0303-4DD1-8252-1143B4FA8A27 ',
+ 'required' => true,
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'Schema of Response',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'example' => '43A0AEB6-45F4-4138-8E89-E1A5D63200E3',
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'example' => 'Cancel job success',
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'example' => 'true',
+ 'type' => 'boolean',
+ ],
+ 'HttpCode' => [
+ 'description' => '',
+ 'example' => '200',
+ 'type' => 'string',
+ ],
+ ],
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"43A0AEB6-45F4-4138-8E89-E1A5D63200E3\\",\\n \\"Message\\": \\"Cancel job success\\",\\n \\"Success\\": true,\\n \\"HttpCode\\": \\"InvalidParameter\\"\\n}","errorExample":""},{"type":"xml","example":"<CancelWaitingAsyncJobResponse>\\n <RequestId>43A0AEB6-45F4-4138-8E89-E1A5D63200E3</RequestId>\\n <Message>Cancel job success</Message>\\n <Success>true</Success>\\n <HttpCode>InvalidParameter</HttpCode>\\n</CancelWaitingAsyncJobResponse>","errorExample":""}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'viapi.cn-shanghai.aliyuncs.com',
+ ],
+ ],
+];