You can integrate ONLYOFFICE Docs with any cloud service using either API or WOPI.
The table below will help you find out the difference between these options.
API |
WOPI |
|
General info |
Application Programming Interface: describes the main methods that allow you to interact with different ONLYOFFICE components, including editors, thus giving you programmatic access to it. |
Web Application Open Platform Interface: REST-based protocol by Microsoft that defines a set of operations that enables a client to access and change files stored by a server. |
Integration with sync&share and DMS solutions |
Integration via ready-to-use connectors developed by ONLYOFFICE or its partners. |
Integration via WOPI connector/universal WOPI client. |
Collaboration (modes) |
Switching between real-time and paragraph-locking co-editing modes. |
Only real-time co-editing, switching between the modes is not available in the interface. |
Customization |
|
|
Denying requests for resources |
Configuring IPs of trusted integrators (white list) which requests ONLYOFFICE Docs can accept. |
Configuring IPs of trusted integrators (white list) which requests ONLYOFFICE Docs can accept. |
Restricting access to the use of ONLYOFFICE server |
Editing access control is based on JWT signature. The secret key is required to generate a file open request. |
No restrictions |
Restricting access to data |
Verification of request from the ONLYOFFICE server is based on the JWT signature. The request is signed with a secret key, and this allows making sure that it is not executed by a third-party. |
Verification of request from the ONLYOFFICE server is based on the private key signing the request and a public key which is written in the proof-key element in the WOPI discovery XML. |
Basic actions |
The basic actions of viewing, editing, co-editing, mobile viewing and editing, embedded documents viewing are supported. |
The basic actions of viewing, editing and co-editing are supported. |
Additional actions through method calls |
No additional actions |
|
Additional actions through event handling |
|
|
File lock |
Getting a message with the document status informing about opening a file for editing, closing a file with no changes or closing a file which is ready for saving after editing. |
|
File access rights |
|