Create a new folder

PUT http://{host}:{port}/qoppapdf/v1/documents/mydir

Upload a PDF via PUT

PUT http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf
Content-Type: application/pdf
(PDF file in message body)

Upload a PDF via POST

POST http://{host}:{port}/qoppapdf/v1/documents/mydir?namingMode=1
(file as attachment)

Upload an image as a PDF

PUT http://{host}:{port}/qoppapdf/v1/documents/mydir/jpeg.pdf
Content-Type: image/jpeg
(image file in message body)

Upload a Word document as a PDF

PUT http://{host}:{port}/qoppapdf/v1/documents/mydir/word.pdf
Content-Type: application/msword
(Word file in message body)

Upload a text document as a PDF

PUT http://{host}:{port}/qoppapdf/v1/documents/mydir/text.pdf
Content-Type: text/plain
(text file in message body)

Get all the children in a folder

GET http://{host}:{port}/qoppapdf/v1/documents/mydir?details=true