| Description | : Gets all projects for a user. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "QuestionAnsweringProjects_ListProjects",
"$parameters": [
{
"#name": "api-version",
"Description": {
"new": "The API version to use for this operation.",
"old": "Client API version."
}
}
],
"$responses": {
"200": {
"Description": {
"new": "Paged collection of QuestionAnsweringProjectMetadata items",
"old": "Collection of projects metadata and global settings."
},
"$properties": [
{
"#name": "value",
"Required": {
"new": true,
"old": false
},
"$items": {
"$properties": [
{
"#name": "projectName",
"Required": {
"new": true,
"old": false
}
},
{
"#name": "language",
"Description": {
"new": "Language of the text records. This is BCP-47 representation of a language. For\nexample, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for\nEnglish as default.",
"old": "Language of the text records. This is BCP-47 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default."
}
}
]
}
}
]
},
"default": {
"$properties": {
"error": [
{
"#name": "code",
"Enum": {
"new": [
[
"InvalidRequest",
"Invalid request error"
],
[
"InvalidArgument",
"Invalid argument error"
],
[
"Unauthorized",
"Unauthorized access error"
],
[
"Forbidden",
"Forbidden access error"
],
[
"NotFound",
"Not found error"
],
[
"ProjectNotFound",
"Project not found error"
],
[
"OperationNotFound",
"Operation not found error"
],
[
"AzureCognitiveSearchNotFound",
"Azure Cognitive Search not found error"
],
[
"AzureCognitiveSearchIndexNotFound",
"Azure Cognitive Search index not found error"
],
[
"TooManyRequests",
"Too many requests error"
],
[
"AzureCognitiveSearchThrottling",
"Azure Cognitive Search throttling error"
],
[
"AzureCognitiveSearchIndexLimitReached",
"Azure Cognitive Search index limit reached error"
],
[
"InternalServerError",
"Internal server error"
],
[
"ServiceUnavailable",
"Service unavailable error"
],
[
"Timeout",
"Timeout error"
],
[
"QuotaExceeded",
"Quota exceeded error"
],
[
"Conflict",
"Conflict error"
],
[
"Warning",
"Warning error"
]
],
"old": [
[
"InvalidRequest",
""
],
[
"InvalidArgument",
""
],
[
"Unauthorized",
""
],
[
"Forbidden",
""
],
[
"NotFound",
""
],
[
"ProjectNotFound",
""
],
[
"OperationNotFound",
""
],
[
"AzureCognitiveSearchNotFound",
""
],
[
"AzureCognitiveSearchIndexNotFound",
""
],
[
"TooManyRequests",
""
],
[
"AzureCognitiveSearchThrottling",
""
],
[
"AzureCognitiveSearchIndexLimitReached",
""
],
[
"InternalServerError",
""
],
[
"ServiceUnavailable",
""
],
[
"Timeout",
""
],
[
"QuotaExceeded",
""
],
[
"Conflict",
""
],
[
"Warning",
""
]
]
}
},
{
"#name": "innererror",
"Description": {
"new": "An object containing more specific information than the current object about\nthe error.",
"old": "An object containing more specific information than the current object about the error."
},
"$properties": [
{
"#name": "code",
"Enum": {
"new": [
[
"InvalidRequest",
"Invalid request error"
],
[
"InvalidParameterValue",
"Invalid parameter value error"
],
[
"KnowledgeBaseNotFound",
"Knowledge base not found error"
],
[
"AzureCognitiveSearchNotFound",
"Azure Cognitive Search not found error"
],
[
"AzureCognitiveSearchThrottling",
"Azure Cognitive Search throttling error"
],
[
"ExtractionFailure",
"Extraction failure error"
],
[
"InvalidRequestBodyFormat",
"Invalid request body format error"
],
[
"EmptyRequest",
"Empty request error"
],
[
"MissingInputDocuments",
"Missing input documents error"
],
[
"InvalidDocument",
"Invalid document error"
],
[
"ModelVersionIncorrect",
"Model version incorrect error"
],
[
"InvalidDocumentBatch",
"Invalid document batch error"
],
[
"UnsupportedLanguageCode",
"Unsupported language code error"
],
[
"InvalidCountryHint",
"Invalid country hint error"
]
],
"old": [
[
"InvalidRequest",
""
],
[
"InvalidParameterValue",
""
],
[
"KnowledgeBaseNotFound",
""
],
[
"AzureCognitiveSearchNotFound",
""
],
[
"AzureCognitiveSearchThrottling",
""
],
[
"ExtractionFailure",
""
],
[
"InvalidRequestBodyFormat",
""
],
[
"EmptyRequest",
""
],
[
"MissingInputDocuments",
""
],
[
"InvalidDocument",
""
],
[
"ModelVersionIncorrect",
""
],
[
"InvalidDocumentBatch",
""
],
[
"UnsupportedLanguageCode",
""
],
[
"InvalidCountryHint",
""
]
]
}
}
]
}
]
}
}
}
}
⚼ Request
GET:
/authoring/query-knowledgebases/projects
{
api-version:
string
,
top:
integer
,
skip:
integer
,
maxpagesize:
integer
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
projectName:
string
,
description:
string
,
language:
string
,
multilingualResource:
boolean
,
settings:
{
,
defaultAnswer:
string
,
}
createdDateTime:
string
,
lastModifiedDateTime:
string
,
lastDeployedDateTime:
string
,
}
nextLink:
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
,
}