link = client.documents.previews.retrieve_pdf_link(id=123){
"temporaryLink": "<string>",
"expirationTime": 1519862400000
}Required capabilities:
filesAcl:READ
This endpoint works similar as the normal preview endpoint except it returns a short-lived temporary link to download the rendered preview instead of returning the binary data.
link = client.documents.previews.retrieve_pdf_link(id=123){
"temporaryLink": "<string>",
"expirationTime": 1519862400000
}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.
cdf version header. Use this to specify the requested CDF release.
"alpha"
Internal ID for document to preview
OK
A temporary link to download a preview of the document. The link is reachable without additional authentication details for a limited time.
Was this page helpful?