Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update QnAMaker.json - response code correction #10828

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 @@ -77,11 +77,8 @@
"application/json"
],
"responses": {
"200": {
"description": "Response with endpointSettings update status.",
"schema": {
"type": "string"
}
"204": {
"description": "HTTP 204 No Content."
},
"default": {
"description": "Error response.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Ocp-Apim-Subscription-Key": "{API key}",
"kbId": "9d091697-fb8c-4ed5-9ac0-35bf8273bfff",
"replaceKb": {
"qnaList": [
"qnAList": [
{
"id": 0,
"answer": "You can change the default message if you use the QnAMakerDialog. See this for details: https://docs.botframework.com/en-us/azure-bot-service/templates/qnamaker/#navtitle",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
}
},
"responses": {
"200": {
"headers": {},
"body": "Successfully updated endpoint settings"
}
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@
"add": [],
"delete": []
},
"alternateQuestionClusters": {
"delete": []
},
"context": {
"isContextOnly": false,
"promptsToAdd": [
Expand All @@ -65,7 +62,6 @@
"How can I add prompts?"
],
"metadata": [],
"alternateQuestionClusters": [],
"context": {
"isContextOnly": false,
"prompts": []
Expand All @@ -84,7 +80,6 @@
"How can I delete delete prompts?"
],
"metadata": [],
"alternateQuestionClusters": [],
"context": {
"isContextOnly": false,
"prompts": []
Expand Down Expand Up @@ -126,9 +121,6 @@
}
]
},
"alternateQuestionClusters": {
"delete": []
},
"context": {
"isContextOnly": false,
"promptsToAdd": [
Expand Down