You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -210,6 +241,10 @@ To find your connection string:
210
241
211
242
The container provides REST-based query prediction endpoint APIs.
212
243
244
+
# [Version 3.2 model 2021-09-30-preview](#tab/version-3-2-model-2021-09-30-preview)
245
+
246
+
Use the host, `http://localhost:5000`, for container APIs. You can view the Swagger path at: `http://localhost:5000/swagger/vision-v3.2-read-model-2021-09-30-preview/swagger.json`.
247
+
213
248
# [Version 3.2](#tab/version-3-2)
214
249
215
250
Use the host, `http://localhost:5000`, for container APIs. You can view the Swagger path at: `http://localhost:5000/swagger/vision-v3.2-read/swagger.json`.
@@ -220,8 +255,133 @@ Use the host, `http://localhost:5000`, for container APIs. You can view the Swag
220
255
221
256
---
222
257
223
-
### Asynchronous read
258
+
### Asynchronous Read
259
+
260
+
# [Version 3.2 model 2021-09-30-preview](#tab/version-3-2-model-2021-09-30-preview)
261
+
262
+
You can use the `POST /vision/v3.2/read/analyze` and `GET /vision/v3.2/read/operations/{operationId}` operations in concert to asynchronously read an image, similar to how the Computer Vision service uses those corresponding REST operations. The asynchronous POST method will return an `operationId` that is used as the identifer to the HTTP GET request.
263
+
224
264
265
+
From the swagger UI, select the `Analyze` to expand it in the browser. Then select **Try it out** > **Choose file**. In this example, we'll use the following image:
266
+
267
+

268
+
269
+
When the asynchronous POST has run successfully, it returns an **HTTP 202** status code. As part of the response, there is an `operation-location` header that holds the result endpoint for the request.
The `operation-location` is the fully qualified URL and is accessed via an HTTP GET. Here is the JSON response from executing the `operation-location` URL from the preceding image:
0 commit comments