WPS Office 12.1.2 automation over HTTP. Calls are serialised; each request
starts a native WPS process through bin/wps-api.
| Method | Path | Purpose |
|---|---|---|
| GET | /healthz | liveness, no WPS start |
| GET | /api/version | toolkit + WPS version; add ?runtime=1 |
| POST | /api/writer | docx (+pdf) |
| POST | /api/et | xlsx (+pdf) |
| POST | /api/wpp | pptx (+pdf) |
| POST | /api/convert | upload + X-Filename → pdf |
| GET | /files/<name> | download |
Auth: Authorization: Bearer <token> when a token is configured.
curl -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"text":"hello","pdf":true}' https://HOST/api/writer