Question Answering Projects - Get Delete Status
Proje silme işinin durumunu alır.
GET {Endpoint}/language/authoring/query-knowledgebases/projects/deletion-jobs/{jobId}?api-version=2023-04-01
URI Parametreleri
| Name | İçinde | Gerekli | Tür | Description |
|---|---|---|---|---|
|
Endpoint
|
path | True |
string (uri) |
Desteklenen Bilişsel Hizmetler uç noktası (örneğin, https://< resource-name.api.cognitiveservices.azure.com>). |
|
job
|
path | True |
string |
İş kimliği. |
|
api-version
|
query | True |
string minLength: 1 |
Bu işlem için kullanılacak API sürümü. |
Yanıtlar
| Name | Tür | Description |
|---|---|---|
| 200 OK |
İstek başarılı oldu. |
|
| Other Status Codes |
Beklenmeyen bir hata yanıtı. Üst Bilgiler x-ms-error-code: string |
Güvenlik
Ocp-Apim-Subscription-Key
Tür:
apiKey
İçinde:
header
OAuth2Auth
Tür:
oauth2
Akış:
implicit
Yetkilendirme URL’si:
https://login.microsoftonline.com/common/oauth2/authorize
Kapsamlar
| Name | Description |
|---|---|
| https://cognitiveservices.azure.com/.default |
Örnekler
Successful query
Örnek isteği
GET {Endpoint}/language/authoring/query-knowledgebases/projects/deletion-jobs/job1?api-version=2023-04-01
Örnek yanıt
{
"createdDateTime": "2021-05-01T17:21:14Z",
"errors": [],
"expirationDateTime": "2021-05-01T17:21:14Z",
"jobId": "635c2741-15c4-4c2c-9f78-bfd30b6b2a4a",
"lastUpdatedDateTime": "2021-05-01T17:21:14Z",
"status": "succeeded"
}
Tanımlar
| Name | Description |
|---|---|
|
Azure. |
Hata nesnesi. |
|
Azure. |
Hata hakkında daha ayrıntılı bilgi içeren bir nesne. Azure REST API yönergelerine göre - https://aka.ms/AzureRestApiGuidelines#handling-errors. |
| Error |
Hata nesnesi. |
|
Error |
İnsan tarafından okunabilen hata kodu. |
|
Error |
Hata yanıtı. |
|
Inner |
İnsan tarafından okunabilen hata kodu. |
|
Inner |
Hata hakkında daha ayrıntılı bilgi içeren bir nesne. Microsoft One API yönergelerine göre - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. |
|
job |
İş Durumu. |
|
Question |
Bir proje silme işinin durumunu temsil eder. |
Azure.Core.Foundations.Error
Hata nesnesi.
| Name | Tür | Description |
|---|---|---|
| code |
string |
Sunucu tanımlı hata kodları kümesinden biri. |
| details |
Bu bildirilen hataya yol açan belirli hatalar hakkında bir dizi ayrıntı. |
|
| innererror |
Hatayla ilgili geçerli nesneden daha belirli bilgiler içeren bir nesne. |
|
| message |
string |
Hatanın insan tarafından okunabilir bir gösterimi. |
| target |
string |
Hatanın hedefi. |
Azure.Core.Foundations.InnerError
Hata hakkında daha ayrıntılı bilgi içeren bir nesne. Azure REST API yönergelerine göre - https://aka.ms/AzureRestApiGuidelines#handling-errors.
| Name | Tür | Description |
|---|---|---|
| code |
string |
Sunucu tanımlı hata kodları kümesinden biri. |
| innererror |
İç hata. |
Error
Hata nesnesi.
| Name | Tür | Description |
|---|---|---|
| code |
Sunucu tanımlı hata kodları kümesinden biri. |
|
| details |
Error[] |
Bu bildirilen hataya yol açan belirli hatalar hakkında bir dizi ayrıntı. |
| innererror |
Hatayla ilgili geçerli nesneden daha belirli bilgiler içeren bir nesne. |
|
| message |
string |
Hatanın insan tarafından okunabilir bir gösterimi. |
| target |
string |
Hatanın hedefi. |
ErrorCode
İnsan tarafından okunabilen hata kodu.
| Değer | Description |
|---|---|
| InvalidRequest |
Geçersiz istek hatası |
| InvalidArgument |
Geçersiz bağımsız değişken hatası |
| Unauthorized |
Yetkisiz erişim hatası |
| Forbidden |
Yasak erişim hatası |
| NotFound |
Bulunamadı hatası |
| ProjectNotFound |
Proje bulunamadı hatası |
| OperationNotFound |
İşlem bulunamadı hatası |
| AzureCognitiveSearchNotFound |
Azure Bilişsel Arama bulunamadı hatası |
| AzureCognitiveSearchIndexNotFound |
Azure Bilişsel Arama dizini bulunamadı hatası |
| TooManyRequests |
Çok fazla istek hatası |
| AzureCognitiveSearchThrottling |
Azure Bilişsel Arama azaltma hatası |
| AzureCognitiveSearchIndexLimitReached |
Azure Bilişsel Arama dizin sınırına ulaşıldı hatası |
| InternalServerError |
İç sunucu hatası |
| ServiceUnavailable |
Hizmet kullanılamıyor hatası |
| Timeout |
Zaman aşımı hatası |
| QuotaExceeded |
Kota aşıldı hatası |
| Conflict |
Çakışma hatası |
| Warning |
Uyarı hatası |
ErrorResponse
Hata yanıtı.
| Name | Tür | Description |
|---|---|---|
| error |
Hata nesnesi. |
InnerErrorCode
İnsan tarafından okunabilen hata kodu.
| Değer | Description |
|---|---|
| InvalidRequest |
Geçersiz istek hatası |
| InvalidParameterValue |
Geçersiz parametre değeri hatası |
| KnowledgeBaseNotFound |
Bilgi bankası bulunamadı hatası |
| AzureCognitiveSearchNotFound |
Azure Bilişsel Arama bulunamadı hatası |
| AzureCognitiveSearchThrottling |
Azure Bilişsel Arama azaltma hatası |
| ExtractionFailure |
Ayıklama hatası |
| InvalidRequestBodyFormat |
Geçersiz istek gövdesi biçimi hatası |
| EmptyRequest |
Boş istek hatası |
| MissingInputDocuments |
Eksik giriş belgeleri hatası |
| InvalidDocument |
Geçersiz belge hatası |
| ModelVersionIncorrect |
Model sürümü yanlış hatası |
| InvalidDocumentBatch |
Geçersiz belge toplu iş hatası |
| UnsupportedLanguageCode |
Desteklenmeyen dil kodu hatası |
| InvalidCountryHint |
Geçersiz ülke ipucu hatası |
InnerErrorModel
Hata hakkında daha ayrıntılı bilgi içeren bir nesne. Microsoft One API yönergelerine göre - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
| Name | Tür | Description |
|---|---|---|
| code |
Sunucu tanımlı hata kodları kümesinden biri. |
|
| details |
object |
Hata ayrıntıları. |
| innererror |
Hatayla ilgili geçerli nesneden daha belirli bilgiler içeren bir nesne. |
|
| message |
string |
Hata mesajı. |
| target |
string |
Hata hedefi. |
jobStatus
İş Durumu.
| Değer | Description |
|---|---|
| notStarted | |
| running | |
| succeeded | |
| failed | |
| cancelled | |
| cancelling | |
| partiallyCompleted |
QuestionAnsweringAuthoringProjectDeletionJobState
Bir proje silme işinin durumunu temsil eder.
| Name | Tür | Description |
|---|---|---|
| createdDateTime |
string (date-time) |
İşin oluşturma tarihi. |
| errors |
İş yürütülürken karşılaşılan hatalar. |
|
| expirationDateTime |
string (date-time) |
İşin son kullanma tarihi. |
| jobId |
string |
İş kimliği. |
| lastUpdatedDateTime |
string (date-time) |
İşin son güncelleştirildiği tarih. |
| status |
İş Durumu. |