All Projects → ONLYOFFICE → document-server-integration

ONLYOFFICE / document-server-integration

Licence: Apache-2.0 License
Examples on how to integrate ONLYOFFICE Document Server into your own website or application

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
C#
18002 projects
CSS
56736 projects
PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to document-server-integration

onlyoffice-confluence
The plugin which enables the users to edit office documents from Confluence using ONLYOFFICE Document Server, allows multiple users to collaborate in real time and to save back those changes to Confluence
Stars: ✭ 34 (-50%)
Mutual labels:  integration, onlyoffice
djcra
Django ❤️ create-react-app integration example
Stars: ✭ 12 (-82.35%)
Mutual labels:  integration, example
onlyoffice-alfresco
The package which enables the users to edit office documents from Alfresco using ONLYOFFICE Document Server, allows multiple users to collaborate in real time and to save back those changes to Alfresco
Stars: ✭ 33 (-51.47%)
Mutual labels:  integration, onlyoffice
nodejs-with-postgres-api-example
k8s course example - node.js app with Postgres, Hapi.js and Swagger
Stars: ✭ 59 (-13.24%)
Mutual labels:  example
Movie Trailers SwiftUI
A simple app which shows the lastest movies trailers based on different genres developed using SwiftUI.
Stars: ✭ 51 (-25%)
Mutual labels:  integration
cypress-example-docker-compose
Example running Cypress tests against Apache server via docker-compose
Stars: ✭ 106 (+55.88%)
Mutual labels:  example
haskell-tic-tac-toe
A multiplayer web real-time implementation of the famous Tic Tac Toe game in Haskell.
Stars: ✭ 51 (-25%)
Mutual labels:  example
integreat-app
React JS and React Native App for Integreat
Stars: ✭ 25 (-63.24%)
Mutual labels:  integration
Examples Gtkmm
Shows how to use Gtkmm controls by programming code (c++17).
Stars: ✭ 23 (-66.18%)
Mutual labels:  example
tensorflow flask
tensorflow model deployment in flask REST API
Stars: ✭ 26 (-61.76%)
Mutual labels:  example
go-wasm-examples
Some small examples of using Go and WebAssembly
Stars: ✭ 22 (-67.65%)
Mutual labels:  example
microservice-template-ddd
Golnag microservice-template by DDD
Stars: ✭ 13 (-80.88%)
Mutual labels:  example
play-scala-secure-session-example
An example Play application showing encrypted session management
Stars: ✭ 54 (-20.59%)
Mutual labels:  example
match stream
A sample project to show in our scale blog post
Stars: ✭ 30 (-55.88%)
Mutual labels:  example
SimplePipes
A small test pipes mod based around LibBlockAttributes
Stars: ✭ 22 (-67.65%)
Mutual labels:  example
sdkjs-plugins
The add-ons for ONLYOFFICE Document Server and ONLYOFFICE Desktop Editors.
Stars: ✭ 88 (+29.41%)
Mutual labels:  onlyoffice
camel-karavan
Karavan the Camel Integration Designer
Stars: ✭ 77 (+13.24%)
Mutual labels:  integration
UWO
Unity WebGL x WebSocket MMO demo
Stars: ✭ 49 (-27.94%)
Mutual labels:  example
3scale-security-oidc-demo
Securing APIs with OpenID Connect using 3scale API Management and Red Hat Single Sign On
Stars: ✭ 25 (-63.24%)
Mutual labels:  integration
vue-vuex-todomvc
Example TodoMVC Vue.js app with Vuex store and server backend via REST
Stars: ✭ 41 (-39.71%)
Mutual labels:  example

Integration examples

Test examples are simple document management systems that can be built into your application for testing (please, do not use it for production without proper code modifications).

These examples show the way to integrate ONLYOFFICE Docs into your own website or application using one of the programming languages. The package contains examples written in .Net (C# MVC), .Net (C#), Java, Node.js, PHP and Ruby.

You should change http://documentserver to your server address in these files:

  • .Net (C# MVC) - web/documentserver-example/csharp-mvc/web.appsettings.config
  • .Net (C#) - web/documentserver-example/csharp/settings.config
  • Java - web/documentserver-example/java/src/main/resources/settings.properties
  • Node.js - web/documentserver-example/nodejs/config/default.json
  • PHP - web/documentserver-example/php/config.php
  • Ruby - web/documentserver-example/ruby/config/application.rb

More information on how to use these examples can be found here: http://api.onlyoffice.com/editors/demopreview

API methods for test examples

The methods described below are available for all of the test examples.

POST /upload

Summary Upload file to test example via request
URL /upload
Method POST
Request
Headers
Content-Type: multipart/form-data
Request
Body
uploadedFile=@<filepath>
filepath - file for uploading
Multipart body with the file binary contents
Response Code: 200 OK
Content on success:
{ "filename": <filename>}
Content on error:
{ "error": "Uploaded file not found" }
Or
{ "error": "File size is incorrect" }
Sample curl -X POST -F [email protected] http://localhost/upload

DELETE /file

Summary Delete one file or all files
URL /file
Method DELETE
URL Params Optional:
filename=[string] - file for deleting.
WARNING! Without this parameter, all files will be deleted
Response Code: 200 OK
Success:
{ "success": true }
Sample Delete one file:
curl -X DELETE http://localhost/file?filename=filename.docx
Delete all files:
curl -X DELETE http://localhost/file

GET /files

Summary Get information about all files
URL /files
Method GET
Response Code: 200 OK
Success:
[{ "version": <file_version>, "id": <file_id>, "contentLength": <file_size_in_kilobytes>, "pureContentLength": <file_size_in_bytes>, "title": <file_name>, "updated": <last_change_date>}, ..., {...}]
Sample curl -X GET http://localhost/files/

GET /files/file/{fileId}

Summary Get information about a file by file id
URL /files/file/{fileId}
Method GET
Response Code: 200 OK
Content on success:
[{ "version": <file_version>, "id": <file_id>, "contentLength": <file_size_in_kilobytes>, "pureContentLength": <file_size_in_bytes>, "title": <file_name>, "updated": <last_change_date>}]
Content on error:
"File not found"
Sample curl -X GET http://localhost/files/{fileId}

Project Information

Official website: https://www.onlyoffice.com

Code repository: https://github.com/ONLYOFFICE/document-server-integration

ONLYOFFICE for developers: https://www.onlyoffice.com/developer-edition.aspx

User Feedback and Support

If you have any problems with or questions about ONLYOFFICE Document Server, please visit our official forum to find answers to your questions: forum.onlyoffice.com or you can ask and answer ONLYOFFICE development questions on Stack Overflow.

License

document-server-integration is released under the Apache-2.0 License. See the LICENSE file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].