Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
},
{
"name": "knowledgeRequest",
"x-ms-client-name": "KnowledgeRequest",
"x-ms-client-name": "VisualSearchRequest",
"in": "formData",
"description": "The form data is a JSON object that identifies the image using an insights token or URL to the image. The object may also include an optional crop area that identifies an area of interest in the image. The insights token and URL are mutually exclusive – do not specify both. You may specify knowledgeRequest form data and image form data in the same request only if knowledgeRequest form data specifies the cropArea field only (it must not include an insights token or URL).",
"required": false,
Expand Down Expand Up @@ -1182,7 +1182,7 @@
}
}
},
"KnowledgeRequest": {
"VisualSearchRequest": {
"description": "A JSON object that contains information about the image to get insights of. Specify this object only in a knowledgeRequest form data.",
"type": "object",
"properties": {
Expand All @@ -1191,9 +1191,9 @@
"$ref": "#/definitions/ImageInfo",
"readOnly": true
},
"filters": {
"description": "A key-value object consisting of filters that may be specified to limit the results returned by the API.",
"$ref": "#/definitions/Filters",
"knowledgeRequest": {
"description": "A JSON object containing information about the request, such as filters, or a description.",
"$ref": "#/definitions/KnowledgeRequest",
"readOnly": true
}
}
Expand Down Expand Up @@ -1251,6 +1251,17 @@
}
}
},
"KnowledgeRequest": {
"description": "A JSON object containing information about the request, such as filters for the resulting actions.",
"type": "object",
"properties": {
"filters": {
"description": "A key-value object consisting of filters that may be specified to limit the results returned by the API.",
"$ref": "#/definitions/Filters",
"readOnly": true
}
}
},
"Filters": {
"description": "A key-value object consisting of filters that may be specified to limit the results returned by the API. Current available filters: site.",
"type": "object",
Expand Down