summaryrefslogtreecommitdiff
path: root/data/en_us/ocr-api/2021-03-15/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/ocr-api/2021-03-15/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/ocr-api/2021-03-15/api-docs.php')
-rw-r--r--data/en_us/ocr-api/2021-03-15/api-docs.php106
1 files changed, 0 insertions, 106 deletions
diff --git a/data/en_us/ocr-api/2021-03-15/api-docs.php b/data/en_us/ocr-api/2021-03-15/api-docs.php
deleted file mode 100644
index f97b606..0000000
--- a/data/en_us/ocr-api/2021-03-15/api-docs.php
+++ /dev/null
@@ -1,106 +0,0 @@
-<?php return [
- 'version' => '1.0',
- 'info' => [
- 'style' => 'V3',
- 'product' => 'ocr-api',
- 'version' => '2021-03-15',
- ],
- 'directories' => [
- [
- 'id' => 0,
- 'title' => '其它',
- 'type' => 'directory',
- 'children' => [
- 'RecognizeAdvanced',
- ],
- ],
- ],
- 'components' => [
- 'schemas' => [],
- ],
- 'apis' => [
- 'RecognizeAdvanced' => [
- 'path' => '/advanced/general/advanced/recognize',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- '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,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- 'errorCodes' => [],
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'ocr-api.cn-hangzhou.aliyuncs.com',
- ],
- ],
-];