From eccd5cd5a067f5659982685afdeea209b1888efb Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sat, 14 Feb 2026 10:08:30 +0800 Subject: first commit --- data/ocr-api/2021-03-15/api-docs.php | 76 ++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 data/ocr-api/2021-03-15/api-docs.php (limited to 'data/ocr-api/2021-03-15') diff --git a/data/ocr-api/2021-03-15/api-docs.php b/data/ocr-api/2021-03-15/api-docs.php new file mode 100644 index 0000000..8087e8f --- /dev/null +++ b/data/ocr-api/2021-03-15/api-docs.php @@ -0,0 +1,76 @@ + '1.0', + 'info' => [ + 'style' => 'V3', + 'product' => 'ocr-api', + 'version' => '2021-03-15', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'RecognizeAdvanced' => [ + 'path' => '/advanced/general/advanced/recognize', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'url', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'charInfo', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'rotate', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'table', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'sortPage', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'ocr-api.cn-hangzhou.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3