Skip to content

Commit 29e3b49

Browse files
Merge pull request #851 from jinruishao/patch-13
Update rest-quickstart-image.md
2 parents 40c4945 + 7a2544c commit 29e3b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/content-safety/includes/quickstarts/rest-quickstart-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Paste the command below into a text editor, and make the following changes.
4444
1. Populate the `"image"` field in the body with either a `"content"` field or a `"blobUrl"` field. For example: `{"image": {"content": "<base_64_string>"}` or `{"image": {"blobUrl": "<your_storage_url>"}`.
4545

4646
```shell
47-
curl --location --request POST '<endpoint>/contentsafety/image:analyze?api-version=2023-10-01' \
47+
curl --location --request POST '<endpoint>/contentsafety/image:analyze?api-version=2024-09-01' \
4848
--header 'Ocp-Apim-Subscription-Key: <your_subscription_key>' \
4949
--header 'Content-Type: application/json' \
5050
--data-raw '{
@@ -71,7 +71,7 @@ The below fields must be included in the URL:
7171
7272
| Name |Required? | Description | Type |
7373
| :------- |-------- |:--------------- | ------ |
74-
| **API Version** |Required |This is the API version to be checked. Current version is: `api-version=2023-10-01`. Example: `<endpoint>/contentsafety/image:analyze?api-version=2023-10-01` | String |
74+
| **API Version** |Required |This is the API version to be checked. Current version is: `api-version=2024-09-01`. Example: `<endpoint>/contentsafety/image:analyze?api-version=2024-09-01` | String |
7575
7676
The parameters in the request body are defined in this table:
7777

0 commit comments

Comments
 (0)