Retrieve PDF Preview Temporary Link
- async AsyncCogniteClient.documents.previews.retrieve_pdf_link(
- id: int,
Retrieve a Temporary link to download pdf preview.
- Parameters:
id (int) – The server-generated ID for the document you want to retrieve the preview of.
- Returns:
A temporary link to download the pdf preview.
- Return type:
Examples
Retrieve the PDF preview download link for document with id 123:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> link = client.documents.previews.retrieve_pdf_link(id=123)