Text Analysis Authoring - Delete Project
Projeyi siler.
DELETE {Endpoint}/language/authoring/analyze-text/projects/{projectName}?api-version=2022-05-01
URI Parametreleri
| Name | İçinde | Gerekli | Tür | Description |
|---|---|---|---|---|
|
Endpoint
|
path | True |
string |
Desteklenen Bilişsel Hizmetler uç noktası (örneğin, https://< resource-name.api.cognitiveservices.azure.com>). |
|
project
|
path | True |
string maxLength: 100 |
Kullanılacak projenin adı. |
|
api-version
|
query | True |
string |
İstemci API'si sürümü. |
İstek Başlığı
| Name | Gerekli | Tür | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
Dil hizmeti kaynağı için abonelik anahtarı. |
Yanıtlar
| Name | Tür | Description |
|---|---|---|
| 202 Accepted |
Başarılı bir çağrı, işin durumunu denetlemek için kullanılan Operation-Location başlığı ile sonuçlanır. Üst Bilgiler operation-location: string |
|
| Other Status Codes |
Hata yanıtı. |
Güvenlik
Ocp-Apim-Subscription-Key
Dil hizmeti kaynağı için abonelik anahtarı.
Tür:
apiKey
İçinde:
header
Örnekler
Successful Delete Project
Örnek isteği
DELETE {Endpoint}/language/authoring/analyze-text/projects/LoanAgreements?api-version=2022-05-01
Örnek yanıt
operation-location: {Endpoint}/language/authoring/analyze-text/projects/global/deletion-jobs/129d3182-625d-496c-bcf9-43686e85160b_637858368000000000?api-version=2022-05-01
Tanımlar
| Name | Description |
|---|---|
| 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. |
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 | |
| InvalidArgument | |
| Unauthorized | |
| Forbidden | |
| NotFound | |
| ProjectNotFound | |
| OperationNotFound | |
| AzureCognitiveSearchNotFound | |
| AzureCognitiveSearchIndexNotFound | |
| TooManyRequests | |
| AzureCognitiveSearchThrottling | |
| AzureCognitiveSearchIndexLimitReached | |
| InternalServerError | |
| ServiceUnavailable | |
| Timeout | |
| QuotaExceeded | |
| Conflict | |
| Warning |
ErrorResponse
Hata yanıtı.
| Name | Tür | Description |
|---|---|---|
| error |
Hata nesnesi. |
InnerErrorCode
İnsan tarafından okunabilen hata kodu.
| Değer | Description |
|---|---|
| InvalidRequest | |
| InvalidParameterValue | |
| KnowledgeBaseNotFound | |
| AzureCognitiveSearchNotFound | |
| AzureCognitiveSearchThrottling | |
| ExtractionFailure | |
| InvalidRequestBodyFormat | |
| EmptyRequest | |
| MissingInputDocuments | |
| InvalidDocument | |
| ModelVersionIncorrect | |
| InvalidDocumentBatch | |
| UnsupportedLanguageCode | |
| InvalidCountryHint |
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. |