| Description | : Import project assets. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "QuestionAnsweringProjects_Import",
"$parameters": {
"body": {
"Description": {
"new": "Project assets that need to be imported.",
"old": "Project assets the needs to be imported."
}
}
}
}
⚼ Request
POST:
/authoring/query-knowledgebases/projects/{projectName}/:import
{
api-version:
string
,
projectName:
string
,
format:
string
,
assetKind:
string
,
body:
}
{
,
metadata:
{
,
projectName:
string
,
description:
string
,
language:
string
,
multilingualResource:
boolean
,
settings:
{
,
defaultAnswer:
string
,
}
createdDateTime:
string
,
lastModifiedDateTime:
string
,
lastDeployedDateTime:
string
,
}
assets:
{
,
synonyms:
[
]
,
{
,
alterations:
}
[
,
string
,
]
qnas:
}
[
]
,
{
,
id:
integer
,
answer:
string
,
source:
string
,
questions:
[
,
string
,
]
metadata:
object
,
dialog:
{
,
isContextOnly:
boolean
,
prompts:
}
[
]
,
{
,
displayOrder:
integer
,
qnaId:
integer
,
qna:
{
,
id:
integer
,
answer:
string
,
source:
string
,
questions:
[
,
string
,
]
metadata:
object
,
dialog:
string
,
activeLearningSuggestions:
}
[
]
,
{
,
clusterHead:
string
,
suggestedQuestions:
}
[
]
,
{
,
question:
string
,
userSuggestedCount:
integer
,
autoSuggestedCount:
integer
,
}
displayText:
string
,
}
activeLearningSuggestions:
[
]
,
{
,
clusterHead:
string
,
suggestedQuestions:
}
[
]
,
{
,
question:
string
,
userSuggestedCount:
integer
,
autoSuggestedCount:
integer
,
}
lastUpdatedDateTime:
string
,
sourceDisplayName:
string
,
}
fileUri:
string
,
}
⚐ Response (202)
{
operation-location:
string
,
}
⚐ Response (default)
{
$headers:
{
,
x-ms-error-code:
string
,
}
$schema:
}
{
,
error:
}
{
,
code:
enum
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
innererror:
}
{
,
code:
enum
,
message:
string
,
details:
object
,
target:
string
,
innererror:
string
,
}