{"/":{"description":"Get this response","method":"GET"},"/dpi/:dpi/:format?":{"description":"Change file DPI, and optionally format","method":"POST","contentType":"multipart/form-data"},"/log/:namespace":{"description":"Append a new entry in the corresponding namespaced log, creating the file if none. IP are anonymized, user inputs sanitized.","method":"POST","body":{"action":{"required":false,"default":"log","type":"string","description":"Name of the log entry"},"data":{"required":false,"default":{},"type":["boolean","number","string","object"],"description":"Additional data to attach to the log entry"}},"contentType":"application/json"},"/pantone/nearest":{"description":"Find Pantone® references similar to a RGB color","method":"POST","body":{"rgb":{"required":true,"type":"object","description":"[r, g, b] color to match against"},"book":{"required":true,"type":"string","description":"Book ID from where to find Pantone® references"},"length":{"required":false,"default":1,"type":"number","description":"Length of Pantone® references to return"}},"contentType":"application/json"},"/pantone/:book?":{"description":"Get the list of all available Pantone® books, or the content of a specific book","method":"GET"},"/pdf":{"description":"Convert svg to pdf","method":"POST","body":{"svg":{"required":true,"type":"string","description":"SVG string"},"options":{"required":false,"default":"{}","type":"string","description":"Stringified JSON object defining svg-to-pdf options"},"ghostscript":{"required":false,"default":null,"type":"string","description":"Stringified JSON object defining ghostscript optimization parameters: { dpi[Color|Gray|Mono] = 720, preset = screen }"}},"contentType":"multipart/form-data"},"/ping":{"description":"No description available","method":"GET"}}