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
@@ -241,9 +216,9 @@ To find your connection string:
241
216
242
217
The container provides REST-based query prediction endpoint APIs.
243
218
244
-
# [Version 3.2 model 2021-09-30-preview](#tab/version-3-2-model-2021-09-30-preview)
219
+
For the latest preview:
245
220
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`.
221
+
Use the same Swagger path as 3.2 but a different port if you have already deployed 3.2 at the 5000 port.
247
222
248
223
# [Version 3.2](#tab/version-3-2)
249
224
@@ -257,131 +232,7 @@ Use the host, `http://localhost:5000`, for container APIs. You can view the Swag
257
232
258
233
### Asynchronous Read
259
234
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
-
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