Stamp the document with text

POST http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/pages
(sample JSON)
{
	"TextStampAction":{
		"rotation":15,
		"transparency":50,
		"x":100,
		"y":100,
		"text":"HelloWorld",
		"color":0,
		"fontSize": 32,
		"fontName": "Courier",
		"fontStyle": "Plain",
		"pageIndex":1
	}
}
}

Stamp the document with an image

POST http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/pages
(image file as attachment)
(sample JSON)
{
	"ImageStampAction":{
		"rotation":15,
		"x":100,
		"y":100,
		"pageIndex":1
	}
}