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 | |
| download | acs-metadata-main.tar.gz acs-metadata-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/ocr')
| -rw-r--r-- | data/ocr/2019-12-30/api-docs.php | 591 |
1 files changed, 591 insertions, 0 deletions
diff --git a/data/ocr/2019-12-30/api-docs.php b/data/ocr/2019-12-30/api-docs.php new file mode 100644 index 0000000..c787c0c --- /dev/null +++ b/data/ocr/2019-12-30/api-docs.php @@ -0,0 +1,591 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'ocr', + 'version' => '2019-12-30', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetAsyncJobResult' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizeBankCard' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizeBusinessLicense' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizeCharacter' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'MinHeight', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'minimum' => '5', + ], + ], + [ + 'name' => 'OutputProbability', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => true, + ], + ], + ], + ], + 'RecognizeDriverLicense' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Side', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'face', + 'back', + ], + ], + ], + ], + ], + 'RecognizeDrivingLicense' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Side', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'face', + 'back', + ], + ], + ], + ], + ], + 'RecognizeIdentityCard' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Side', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'face', + 'back', + ], + ], + ], + ], + ], + 'RecognizeLicensePlate' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizeQrCode' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Tasks', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ImageURL' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + 'maxItems' => 10, + ], + ], + ], + ], + 'RecognizeTable' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'OutputFormat', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'html', + 'json', + 'xlsx', + ], + ], + ], + [ + 'name' => 'UseFinanceModel', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => true, + ], + ], + [ + 'name' => 'AssureDirection', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => true, + ], + ], + [ + 'name' => 'HasLine', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => true, + ], + ], + [ + 'name' => 'SkipDetection', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => true, + ], + ], + ], + ], + 'RecognizeTaxiInvoice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizeTrainTicket' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizeVATInvoice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'FileURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'FileType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'jpg', + ], + ], + ], + ], + ], + 'RecognizeVINCode' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizePdf' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'FileURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizeTicketInvoice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizeQuotaInvoice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RecognizeVideoCharacter' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'VideoURL', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'ocr.cn-shanghai.aliyuncs.com', + ], + ], +]; |
