Skip to content

Commit

Permalink
[cognitive-services-face-api] fixing documentation links and a few ex…
Browse files Browse the repository at this point in the history
…amples where the imageurl parameter is specified as strings when it should be json objects (Azure#9182)

* fixing broken documentation links and also making examples on image urls specify json objects instead of strings for in-body request contents

* fixing example parameter name

Co-authored-by: Nabil Lathiff <nabilat@microsoft.com>
  • Loading branch information
2 people authored and 00Kai0 committed Oct 12, 2020
1 parent ef4b2bc commit 7417eaa
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 27 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
100,
100
],
"ImageUrl": "{Image url}",
"ImageUrl": {
"url": "{Image Url here}"
},
"detectionModel": "detection_01"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
100,
100
],
"ImageUrl": "{Image url}",
"ImageUrl": {
"url": "{Image Url here}"
},
"detectionModel": "detection_01"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
100,
100
],
"ImageUrl": "{Image url}",
"ImageUrl": {
"url": "{Image Url here}"
},
"detectionModel": "detection_01"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
100,
100
],
"ImageUrl": "{Image url}",
"ImageUrl": {
"url": "{Image Url here}"
},
"detectionModel": "detection_01"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"exposure",
"noise"
],
"ImageUrl": "{Image Url here}",
"ImageUrl": {
"url": "{Image Url here}"
},
"recognitionModel": "recognition_01",
"returnRecognitionModel": true,
"detectionModel": "detection_01"
Expand Down

0 comments on commit 7417eaa

Please sign in to comment.