Retrieve OCR text
Required capabilities:
filesAcl:READ
Provides ocr annotations for a given file. Currently only files that have been parsed with diagram/detect will yield non-empty results.
In beta. Available only when the cdf-version header with the beta suffix value is provided.
Authorizations
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Body
File id and page range to get ocr result for.
The ID of a file in CDF. The file must have mime_type application/pdf, image/jpeg, image/png or image/tiff.
1234
The first page in the range to get ocr results from.
x >= 11
The maximum number of pages to get results for. With a limit of 10 and start page of 1, results for pages 1-10 are returned if they are available.
1 <= x <= 10010
Response
Success
A list of ocr results by page for a single file.