Linearize PDF

POST https://api.pdfrest.com/linearized-pdf

Enable Fast Web Viewing in a PDF by applying linearization to a document.

Required form-data body parameters:

  • One of:
    • file - File to be uploaded and processed
    • id - Alphanumeric ID (UUID) of existing file on server to be processed

Optional form-data body parameters:

  • output - File name of output file (without extension)

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"id", "value"=>"xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "datatype"=>"string"}, {"name"=>"output", "value"=>"pdfrest_linearized_pdf", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Api-Keystring