Dela via


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

ApiVersion

Begärd API-version.

Begärandehuvud

Name Obligatorisk Typ Description
Ocp-Apim-Subscription-Key True

string

Svar

Name Typ Description
200 OK

ResourceDetails

OK.

Other Status Codes

ErrorResponse

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
ApiVersion

API-version.

CustomDocumentModelsDetails

Information om anpassade dokumentmodeller.

Error

Felinformation.

ErrorResponse

Felsvarsobjekt.

InnerError

Detaljerat fel.

ResourceDetails

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

InnerError

Detaljerat fel.

message

string

Felmeddelande.

target

string

Målet för felet.

ErrorResponse

Felsvarsobjekt.

Name Typ Description
error

Error

Felinformation.

InnerError

Detaljerat fel.

Name Typ Description
code

string

Felkod.

innererror

InnerError

Detaljerat fel.

message

string

Felmeddelande.

ResourceDetails

Allmän information om den aktuella resursen.

Name Typ Description
customDocumentModels

CustomDocumentModelsDetails

Information om anpassade dokumentmodeller.