Download Document
AI-generatedSummary
Downloads a document from a d.velop repository and outputs its decoded contents as binary data. Choose Original or PDF format; for each input item, provide the required repository and document IDs.
Inputs
- Action Mode (required) — Select Stable Action to use this operation.
- Repository (required) — d.velop repository ID.
- Document ID (required) — ID of the document to download.
- Format (required) — Choose Original or PDF. Defaults to Original.
Output shape
One output item per input item, with file data in the binary property data when the response contains a document.
Successful downloads include JSON fields
actionMode,operation,fileName,mimeType, andstatusCode(200). The filename comes from the response or defaults todocument.pdf; MIME type isapplication/pdffor PDF andapplication/octet-streamfor Original. If the response has no stringdocumentfield, or PDF content lacks a%PDF-header, the item contains JSON error details and no binary data. Request failures raise a node API error.