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/summarization/includes/quickstarts/rest-api.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ The following example will get you started with document extractive summarizatio
75
75
1. Copy the command below into a text editor. The BASH example uses the `\` line continuation character. If your console or terminal uses a different line continuation character, use that character instead.
76
76
77
77
```bash
78
-
curl -i -X POST $LANGUAGE_ENDPOINT/language/analyze-text/jobs?api-version=2022-10-01-preview \
78
+
curl -i -X POST $LANGUAGE_ENDPOINT/language/analyze-text/jobs?api-version=2023-04-01 \
79
79
-H "Content-Type: application/json" \
80
80
-H "Ocp-Apim-Subscription-Key: $LANGUAGE_KEY" \
81
81
-d \
@@ -111,13 +111,13 @@ curl -i -X POST $LANGUAGE_ENDPOINT/language/analyze-text/jobs?api-version=2022-1
111
111
4. Get the `operation-location` from the response header. The value will look similar to the following URL:
5. To get the results of the request, use the following cURL command. Be sure to replace `<my-job-id>` with the numerical ID value you received from the previous `operation-location` response header:
118
118
119
119
```bash
120
-
curl -X GET $LANGUAGE_ENDPOINT/language/analyze-text/jobs/<my-job-id>?api-version=2022-10-01-preview \
120
+
curl -X GET $LANGUAGE_ENDPOINT/language/analyze-text/jobs/<my-job-id>?api-version=2023-04-01 \
121
121
-H "Content-Type: application/json" \
122
122
-H "Ocp-Apim-Subscription-Key: $LANGUAGE_KEY"
123
123
```
@@ -209,7 +209,7 @@ The following example will get you started with conversation issue and resolutio
209
209
1. Copy the command below into a text editor. The BASH example uses the `\` line continuation character. If your console or terminal uses a different line continuation character, use that character instead.
210
210
211
211
```bash
212
-
curl -i -X POST $LANGUAGE_ENDPOINT/language/analyze-conversations/jobs?api-version=2022-10-01-preview \
212
+
curl -i -X POST $LANGUAGE_ENDPOINT/language/analyze-conversations/jobs?api-version=2023-04-01 \
213
213
-H "Content-Type: application/json" \
214
214
-H "Ocp-Apim-Subscription-Key: $LANGUAGE_KEY" \
215
215
-d \
@@ -298,13 +298,13 @@ Only the `resolution` aspect supports sentenceCount. If you do not specify the `
298
298
4. Get the `operation-location` from the response header. The value will look similar to the following URL:
5. To get the results of the request, use the following cURL command. Be sure to replace `<my-job-id>` with the numerical ID value you received from the previous `operation-location` response header:
305
305
306
306
```bash
307
-
curl -X GET $LANGUAGE_ENDPOINT/language/analyze-conversations/jobs/<my-job-id>?api-version=2022-10-01-preview \
307
+
curl -X GET $LANGUAGE_ENDPOINT/language/analyze-conversations/jobs/<my-job-id>?api-version=2023-04-01 \
0 commit comments