Miscellaneous - Get Resource Info
傳回目前資源的相關信息。
GET {endpoint}/formrecognizer/info?api-version=2022-08-31
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
endpoint
|
path | True |
string |
支援的認知服務端點 (通訊協定和主機名,例如: https://westus2.api.cognitive.microsoft.com) 。 |
api-version
|
query | True |
要求的 API 版本。 |
要求標頭
名稱 | 必要 | 類型 | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
正常。 |
|
Other Status Codes |
發生錯誤。 |
安全性
Ocp-Apim-Subscription-Key
類型:
apiKey
位於:
header
範例
GetResourceDetails
範例要求
GET {endpoint}/formrecognizer/info?api-version=2022-08-31
範例回覆
{
"customDocumentModels": {
"count": 2,
"limit": 13
}
}
定義
名稱 | Description |
---|---|
Api |
API 版本。 |
Custom |
自訂檔案模型的詳細數據。 |
Error |
錯誤資訊。 |
Error |
錯誤回應物件。 |
Inner |
詳細的錯誤。 |
Resource |
關於目前資源的一般資訊。 |
ApiVersion
API 版本。
名稱 | 類型 | Description |
---|---|---|
2022-08-31 |
string |
CustomDocumentModelsDetails
自訂檔案模型的詳細數據。
名稱 | 類型 | Description |
---|---|---|
count |
integer |
目前資源中的自定義檔模型數目。 |
limit |
integer |
目前資源支援的最大自定義檔模型數目。 |
Error
錯誤資訊。
名稱 | 類型 | Description |
---|---|---|
code |
string |
錯誤碼。 |
details |
Error[] |
詳細錯誤清單。 |
innererror |
詳細的錯誤。 |
|
message |
string |
錯誤訊息。 |
target |
string |
錯誤的目標。 |
ErrorResponse
錯誤回應物件。
名稱 | 類型 | Description |
---|---|---|
error |
錯誤資訊。 |
InnerError
詳細的錯誤。
名稱 | 類型 | Description |
---|---|---|
code |
string |
錯誤碼。 |
innererror |
詳細的錯誤。 |
|
message |
string |
錯誤訊息。 |
ResourceDetails
關於目前資源的一般資訊。
名稱 | 類型 | Description |
---|---|---|
customDocumentModels |
自訂檔案模型的詳細數據。 |