Miscellaneous - Get Resource Info
Returnera information om den aktuella resursen.
GET {endpoint}/formrecognizer/info?api-version=2022-08-31
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
endpoint
|
path | True |
string |
Cognitive Services-slutpunkter som stöds (protokoll och värdnamn, till exempel: https://westus2.api.cognitive.microsoft.com). |
api-version
|
query | True |
Begärd API-version. |
Begärandehuvud
Name | Obligatorisk | Typ | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
OK. |
|
Other Status Codes |
Fel påträffades. |
Säkerhet
Ocp-Apim-Subscription-Key
Typ:
apiKey
I:
header
Exempel
GetResourceDetails
Exempelbegäran
GET {endpoint}/formrecognizer/info?api-version=2022-08-31
Exempelsvar
{
"customDocumentModels": {
"count": 2,
"limit": 13
}
}
Definitioner
Name | Description |
---|---|
Api |
API-version. |
Custom |
Information om anpassade dokumentmodeller. |
Error |
Felinformation. |
Error |
Felsvarsobjekt. |
Inner |
Detaljerat fel. |
Resource |
Allmän information om den aktuella resursen. |
ApiVersion
API-version.
Name | Typ | Description |
---|---|---|
2022-08-31 |
string |
CustomDocumentModelsDetails
Information om anpassade dokumentmodeller.
Name | Typ | Description |
---|---|---|
count |
integer |
Antal anpassade dokumentmodeller i den aktuella resursen. |
limit |
integer |
Maximalt antal anpassade dokumentmodeller som stöds i den aktuella resursen. |
Error
Felinformation.
Name | Typ | Description |
---|---|---|
code |
string |
Felkod. |
details |
Error[] |
Lista över detaljerade fel. |
innererror |
Detaljerat fel. |
|
message |
string |
Felmeddelande. |
target |
string |
Målet för felet. |
ErrorResponse
Felsvarsobjekt.
Name | Typ | Description |
---|---|---|
error |
Felinformation. |
InnerError
Detaljerat fel.
Name | Typ | Description |
---|---|---|
code |
string |
Felkod. |
innererror |
Detaljerat fel. |
|
message |
string |
Felmeddelande. |
ResourceDetails
Allmän information om den aktuella resursen.
Name | Typ | Description |
---|---|---|
customDocumentModels |
Information om anpassade dokumentmodeller. |