From b52e99bd20ad3ec96ed8ec33028da4c3978dd811 Mon Sep 17 00:00:00 2001 From: DMGithubPublisher Date: Wed, 2 Apr 2025 15:48:27 +0800 Subject: [PATCH] update to internal commit ace92a5f --- articles/hello-world/index.md | 4 +- assets/HelloWorld-Code.zip | Bin 0 -> 2595 bytes info/api/restful.md | 246 +++++++++++++++++++++++++++++++--- 3 files changed, 233 insertions(+), 17 deletions(-) create mode 100644 assets/HelloWorld-Code.zip diff --git a/articles/hello-world/index.md b/articles/hello-world/index.md index 85013226..4dd9d2e3 100644 --- a/articles/hello-world/index.md +++ b/articles/hello-world/index.md @@ -21,4 +21,6 @@ The Hello World web app covers the following features: 3. [Specifying Scan Settings]({{site.hello-world}}scan-settings.html) 4. [Editing Images]({{site.hello-world}}editing.html) -> Note: JavaScript in this section follows ECMAScript 5 for backward-compatibility reasons. Please modify the code to use modern features if you are targeting modern environments. \ No newline at end of file +Download the Code of the Hello World + +> Note: JavaScript in this section follows ECMAScript 5 for backward-compatibility reasons. Please modify the code to use modern features if you are targeting modern environments. diff --git a/assets/HelloWorld-Code.zip b/assets/HelloWorld-Code.zip new file mode 100644 index 0000000000000000000000000000000000000000..a04fee6fe73b261adda7b5fe8513208845e5941b GIT binary patch literal 2595 zcmaKu2T&7C7RLi26cs5V2!x`P0Fp?HpVE8pp^1V>5s-uudWQhgkrJc^LXZ|ZiXcUb z1q4J81SCimVx&U@`iYXXJFxVjVoLq(VrgI1Cy?+=knTRp4ClbV4c;k&#F zltGq_Dyoq^myu2;RvbDyt88O7bXvHhIiDqCyz04@is~`2Uxm;unXh+OFIc(~DIilC zBf^(O$=Sup`GWL9@#wSRwoTozdZf$;gs{HA2U}LC54Sh8GwEHSUbTw&To4l^BbN%T zH;d7=!3Zw%Pk($N`_|_1gCj-#i@es@V_?^?psd>2wu};8e<iUHh8vmhbGR<{nzmEe97}P^3x9sO>H~CidJUbLeV8Yn}HeiVRxdU zdFX0+^kv1=6rb$SzcRXKSZLC}D%`@on$)IRrpMu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l18bPVE!?QDYHx#mIl(ILoQ<~rKnB}S9RuLS@>FETtAlIftD>*H2@IjiV-Aj?h1wp*a zPi~(*$6+QPs$NVwZXlrTMrY}m`rC)S*k+vK42Dmb_aqW@s5>o{+M#2JI^{coB+8h7iTRUSuksrhN+uL<>OEImb#vrJ~smRrS#wFX7H zd&KhYLMEM<(mKXVo80!VveG<0A1Cxlv`~fB=0+huhF|=0-DCJqmD&bl97~RJ0(%dt z6T$!hupKDcUxSSNAqKHbEoA+>swQfNs4K)yGbZzE@E{LwJU|IHGhT zE4aMJr{8lc!EG*XTCwYyz*8HVzuv7c-rtA!oKTzi5|vysOKZ?`onkW9g`CE*fs|(8 zP|!le<$z1GrQ>GhhoLWgR4j+se_(IUN#zGNnT2a%5ybYee7ZxG>G|3k3F28x69z^N z!2fD#4rz2aME|+|p9bg1zpgL-jmZ;6Q)3`V)JVLcbna1B;DJ;Jw_4m+!RciYdAB0T894|i9 b7rM3rhiYj8Vm^Er;K5Wq_!X0^hr53OgV~=L literal 0 HcmV?d00001 diff --git a/info/api/restful.md b/info/api/restful.md index 7baa0efb..e98e719d 100644 --- a/info/api/restful.md +++ b/info/api/restful.md @@ -279,7 +279,7 @@ fetch(url, requestOptions) |HTTP Status Code |Meaning|Description|Data Schema| |---|---|---|---| -|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation.|[`[Scanner]`](#scanner)| +|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation.|[`Scanner[]`](#scanner)| |400|[Bad Request](https://tools.ietf.org/html/rfc7231#section-6.5.1)|Bad request, e.g. parameter is invalid.|[`Error`](#error)| |405|[Method Not Allowed](https://tools.ietf.org/html/rfc7231#section-6.5.5)|Method not allowed.|[`Error`](#error)| @@ -513,7 +513,7 @@ fetch(url, requestOptions) |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful operation.|[`ScannerJobInfo`](#scannerjobinfo)| |404|[Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4)|The provided job UID is invalid.|[`Error`](#error)| |405|[Method Not Allowed](https://tools.ietf.org/html/rfc7231#section-6.5.5)|Method not allowed.|[`Error`](#error)| -|410|[Gone](https://tools.ietf.org/html/rfc7231#section-6.5.9)|Job deleted. Return 404 instead upon restart of the Dynamic Web TWAIN Service as that clears all job info.|[`Error`](#error)| +|410|[Gone](https://tools.ietf.org/html/rfc7231#section-6.5.9)|Job was deleted. Return 404 instead upon restart of the Dynamic Web TWAIN Service as that clears all job info.|[`Error`](#error)| #### Response Examples @@ -552,7 +552,7 @@ fetch(url, requestOptions) ```json { "code": -1034, - "message": "Job deleted.", + "message": "Job was deleted.", "statusCode": 410 } ``` @@ -609,7 +609,7 @@ fetch(url, requestOptions) |404|[Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4)|The provided job UID is invalid.|[`Error`](#error)| |405|[Method Not Allowed](https://tools.ietf.org/html/rfc7231#section-6.5.5)|Method not allowed.|[`Error`](#error)| |409|[Conflict](https://tools.ietf.org/html/rfc7231#section-6.5.8)|Attempted to cancel non-pending or non-running job, or update a non-pending job to running.|[`Error`](#error)| -|410|[Gone](https://tools.ietf.org/html/rfc7231#section-6.5.9)|Job deleted. Return 404 instead upon restart of the Dynamic Web TWAIN Service as that clears all job info.|[`Error`](#error)| +|410|[Gone](https://tools.ietf.org/html/rfc7231#section-6.5.9)|Job was deleted. Return 404 instead upon restart of the Dynamic Web TWAIN Service as that clears all job info.|[`Error`](#error)|