fileRendition

open fun fileRendition(sfdcId: String, version: String, renditionType: RenditionType, pageNum: Integer): RestRequest

Build a Request that can fetch the a preview/rendition of a particular page of the file (and version).

Return

A new RestRequest that can be used to fetch this data.

Parameters

sfdcId

The Id of the file.

version

If null fetches the most recent version, otherwise fetches this specific version.

renditionType

What format of rendition do you want to get.

pageNum

Which page to fetch, pages start at 0.