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
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/custom-classification/includes/quickstarts/rest-api.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,12 +81,14 @@ Use the following URL to create a project and import your tags file. Replace the
81
81
82
82
### Parameters
83
83
84
-
Use the following header to authenticate your request.
84
+
Pass the following parameter with your request.
85
85
86
86
|Key|Explanation|Value|
87
87
|--|--|--|
88
88
|`api-version`| The API version used.|`2021-11-01-preview`|
89
89
90
+
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
91
+
90
92
### Headers
91
93
92
94
Use the following header to authenticate your request.
@@ -161,12 +163,14 @@ Use the following URL when creating your API request. Replace the placeholder va
161
163
162
164
### Parameters
163
165
164
-
Use the following header to authenticate your request.
166
+
Pass the following parameter with your request.
165
167
166
168
|Key|Explanation|Value|
167
169
|--|--|--|
168
170
|`api-version`| The API version used.|`2021-11-01-preview`|
169
171
172
+
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
173
+
170
174
### Headers
171
175
172
176
Use the following header to authenticate your request.
@@ -194,7 +198,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
194
198
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
`JOB-ID` is used to identify your request, since this operation is asynchronous. You will use this URL in the next step to get the training status.
@@ -216,12 +220,14 @@ Use the following **GET** request to query the status of your model's training p
216
220
217
221
### Parameters
218
222
219
-
Use the following header to authenticate your request.
223
+
Pass the following parameter with your request.
220
224
221
225
|Key|Explanation|Value|
222
226
|--|--|--|
223
227
|`api-version`| The API version used.|`2021-11-01-preview`|
224
228
229
+
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
230
+
225
231
### Headers
226
232
227
233
Use the following header to authenticate your request.
@@ -282,12 +288,14 @@ Create a **PUT** request using the following URL, headers, and JSON body to star
282
288
283
289
### Parameters
284
290
285
-
Use the following header to authenticate your request.
291
+
Pass the following parameter with your request.
286
292
287
293
|Key|Explanation|Value|
288
294
|--|--|--|
289
295
|`api-version`| The API version used.|`2021-11-01-preview`|
290
296
297
+
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
298
+
291
299
### Headers
292
300
293
301
Use the following header to authenticate your request.
@@ -310,7 +318,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
310
318
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/custom-named-entity-recognition/includes/quickstarts/rest-api.md
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,12 +78,14 @@ Use the following URL to create a project and import your tags file. Replace the
78
78
79
79
### Parameters
80
80
81
-
Use the following header to authenticate your request.
81
+
Pass the following parameter with your request.
82
82
83
83
|Key|Explanation|Value|
84
84
|--|--|--|
85
85
|`api-version`| The API version used.|`2021-11-01-preview`|
86
86
87
+
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
88
+
87
89
### Headers
88
90
89
91
Use the following header to authenticate your request.
@@ -192,11 +194,13 @@ Use the following URL when creating your API request. Replace the placeholder va
192
194
193
195
### Parameters
194
196
195
-
Use the following header to authenticate your request.
197
+
Pass the following parameter with your request.
196
198
197
199
|Key|Explanation|Value|
198
200
|--|--|--|
199
-
|`api-version`| The API version used. |`2021-11-01-preview`|
201
+
|`api-version`| The API version used.|`2021-11-01-preview`|
202
+
203
+
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
200
204
201
205
### Headers
202
206
@@ -225,7 +229,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
225
229
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
`JOB-ID` is used to identify your request, since this operation is asynchronous. You will use this URL in the next step to get the training status.
@@ -246,11 +250,13 @@ Use the following **GET** request to query the status of your model's training p
246
250
247
251
### Parameters
248
252
249
-
Use the following header to authenticate your request.
253
+
Pass the following parameter with your request.
250
254
251
255
|Key|Explanation|Value|
252
256
|--|--|--|
253
-
|`api-version`| The API version used. |`2021-11-01-preview`|
257
+
|`api-version`| The API version used.|`2021-11-01-preview`|
258
+
259
+
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
254
260
255
261
### Headers
256
262
@@ -311,11 +317,13 @@ Create a **PUT** request using the following URL, headers, and JSON body to star
311
317
312
318
### Parameters
313
319
314
-
Use the following header to authenticate your request.
320
+
Pass the following parameter with your request.
315
321
316
322
|Key|Explanation|Value|
317
323
|--|--|--|
318
-
|`api-version`| The API version used. |`2021-11-01-preview`|
324
+
|`api-version`| The API version used.|`2021-11-01-preview`|
325
+
326
+
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
319
327
320
328
### Headers
321
329
@@ -339,7 +347,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
339
347
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
0 commit comments