diff options
| author | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
| commit | eccd5cd5a067f5659982685afdeea209b1888efb (patch) | |
| tree | 1626c903b854317be1708ce3ccd3b4f4e6e0fc97 /data/ocr-api/2021-03-15 | |
| download | acs-metadata-1.0.0+20260212.tar.gz acs-metadata-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/ocr-api/2021-03-15')
| -rw-r--r-- | data/ocr-api/2021-03-15/api-docs.php | 76 |
1 files changed, 76 insertions, 0 deletions
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 @@ +<?php return [ + 'version' => '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', + ], + ], +]; |
