Append two PDFs that are both already uploaded
POST http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/pages
{
"InsertUploadedPagesAction":
{
"appendFilePath":"mydir/subdir/myotherdoc.pdf",
"appendPassword":"password",
"pageRange":1
}
}
Upload and append a PDF to an existing PDF
POST http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/pages
(PDF file as attachment)
(sample JSON)
{
"InsertAttachedPagesAction": {
"pageIndex":2,
"pageRange":"2-4"
}
}
Append an image to an existing PDF
POST http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/pages
(image file attached)
(sample JSON)
{
"InsertAttachedPagesAction": {
"dpi":300
}
}
Delete a page
DELETE http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/pages/0
Add a new page to an existing PDF
POST http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/pages
(sample JSON)
{
"NewPageAction": {
"width": 612,
"height":792
}
}