Get Started
Usage API
Using WOPI
Additional API
More information
|
Command serviceFor the interaction with the document command service the POST requests are used. The request parameters are entered in JSON format in the request body. The requests are sent to the https://documentserver/coauthoring/CommandService.ashx address where the documentserver is the name of the server with the ONLYOFFICE Document Server installed. In ONLYOFFICE Document Server prior to version 4.2 the GET request with the parameters in the QueryString were used.
See the available command types below to find more about them. Command types
The JSON Web Token should be sent in the JSON object format to document command service. It is used to receive the status of the document with the key specified. { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjIjoiaW5mbyIsImtleSI6IktoaXJ6NnpUUGRmZDcifQ.r_6sThjFABsHMNHhkVdHDSz4jwkbXRQNYdvawkBGJgg" } Parameters
The document editing service informs the document storage service about the result caused by command and sends the response with all the necessary data via the callback handler. Possible error codes and their description
|