Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svalley-onlyoffice-controller

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svalley-onlyoffice-controller

SvalleyEditorOnlyoffice

  • 1.0.29
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Overview

This package will help you integrate ONLYOFFICE Docs into your web application on Node.js.

Release for the package v1.0.0

Install the prerequisites on your backend

  1. Install svalley-onlyoffice-controller:
    npm install svalley-onlyoffice-controller --save
    
  2. Add on your backend
    const onlyfficeController = require('svalley-onlyoffice-controller')
    
    Example :
    /**
    * define a handler for uploading files
    */
    router.post('/endpoint-api', onlyfficeController.method);
    

List of method functional

  • track: POST method for savaving the document with the callbackUrl.
  • documentCreate: POST method for created a new empty document body: {fileName: filename.extension}.
  • upload: POST method for uploaded a document from your local body: {fileName: filename.extension}.
  • createWithModel: POST method for created a new document from a modal body: {fileName: filename.extension}.
  • saveAsModel: POST method for saved a document like a modal body: {fileName: filename.extension}.
  • models: GET method for getting all the modals.
  • delFile: DELETE method for deletedg a document query: filename=filename.extension.

FAQs

Package last updated on 15 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc