action api2pdf_libre_convert_post { label: "Convert office document or image to PDF" description: "Convert an office document (Word, Excel, Powerpoint) or an image (jpg, gif, png) to a PDF using LibreOffice on AWS Lambda.\n### Authorize via Header of Request\n**Authorization: YOUR-API-KEY**" provider: api2pdf method: POST path: "/libreoffice/convert" encoding: json input: { type: "object" required: ["url"] properties: { fileName: { type: "string" } inlinePdf: { type: "boolean" } url: { type: "string" format: "url" } } } output: { type: "object" properties: { cost: { type: "number" description: "Cost of the operation (mbIn + mbOut) * $.001" } mbIn: { type: "number" description: "The amount of megabytes of bandwidth used to process the pdf" } mbOut: { type: "number" description: "The amount of megabytes of bandwidth generated from the resulting pdf" } pdf: { type: "string" description: "A url to the PDF that will exist only for 24 hours" } success: { type: "boolean" description: "Will be true if the operation suceeded" } } } }