Further work on the REST API, documented most of /api/printer and while at it also fixed #365