Method
getDocstoreImage GET
Copy GET

Return a document store image by id.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes docId str A unique Docstore string identifier for the image.
No maxWidth int Rescales the returned image so the width is less than or equal to the given maximum width, while preserving the aspect ratio.
No maxHeight int Rescales the returned image so the height is less than or equal to the given maximum height, while preserving the aspect ratio.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
data stream

Exceptions:

TYPE WHEN
DataNotFoundError

docId is not found.

Language: