action pdfbroker_post_api_pdf_xslfo { label: "Create pdf-file from complete XSL-FO document." provider: pdfbroker method: POST path: "/api/pdf/xslfo" encoding: json input: { type: "object" description: "The basic request with the XSL-FO document as a Base64 encoded string with a set of resources provided with a name and the data of the resource as a Base64 encoded string." properties: { FoDocumentBase64String: { type: "string" description: "This is the complete XSL-FO document provided using Base64 encoding." } Metadata: { type: "object" description: "Enter meta data for pdf document" properties: { Author: { type: "string" description: "Pdf document author" } EnableAdd: { type: "boolean" description: "Enables or disables adding or modifying text annotations and interactive \nform fields." } EnableCopy: { type: "boolean" description: "Enables or disables copying of text and graphics." } EnableModify: { type: "boolean" description: "Enables or disables modifying document contents (other than text annotations and \ninteractive form fields)." } EnablePrinting: { type: "boolean" description: "Enables or disables printing." } Keywords: { type: "array" description: "Pdf document keywords" items: { type: "string" } } OwnerPassword: { type: "string" description: "Specifies the owner password that will protect full access to any generated PDF documents." } Subject: { type: "string" description: "Pdf document subject" } Title: { type: "string" description: "Pdf document title" } UserPassword: { type: "string" description: "Specifies the user password that will protect access to any generated PDF documents." } } additionalProperties: false } Resources: { type: "object" description: "This is a set of key-value pairs of digital resources like images that is referenced in the XSL-FO document. It uses the filename as key and the data is provided as a Base64 encoded string." } } additionalProperties: false } output: { type: "object" description: "When setting the Accept-header in the request to \"application/json\" the content of the pdf file will be return as Base64 encoded string. Note that converting data to Base64 encoded strings increases the response size with approximately 33%, if you can accept the a binary format it's better to use Accept-header \"application/pdf\"." properties: { ErrorMessage: { type: "string" description: "If any error occurs the message will be displayed in here" } PdfFileBase64String: { type: "string" description: "The Base64 encoded string that is the pdf file." } } additionalProperties: false } }