wpsapi native service

WPS Office 12.1.2 automation over HTTP. Calls are serialised; each request starts a native WPS process through bin/wps-api.

MethodPathPurpose
GET/healthzliveness, no WPS start
GET/api/versiontoolkit + WPS version; add ?runtime=1
POST/api/writerdocx (+pdf)
POST/api/etxlsx (+pdf)
POST/api/wpppptx (+pdf)
POST/api/convertupload + 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