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

c2s-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c2s-api

Cloud2Sign REST API wrapper

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

c2s-api

node wrapper around cloud2sign REST-ful APIs

All the methods have a single object parameter, used as a way to improve readability and have optional parameters.

All methods return a Promise/A+ but accept an optional Node-style callback(err, data) parameter.

All methods accept a user parameter used to specify the user the request is made on the behalf of (to be used if and only if the authentication user is root).

login

Login to the service.

Arguments

  • username: the name of the Cloud2Sign user
  • password: the password associated to username

Returns

Full session data, with token to identify the session, and user data with companies info and permissions.

logout

Logout from the service.

Arguments

  • token: the token associated with the session

Returns

logoutSuccessful flag.

listWorkflows

Retrieves the workflows list for a given company.

Arguments

  • token: the token associated with the session
  • cid: company id
  • dateMin: the starting date for searching Workflow (mandatory), in "milliseconds since Unix Epoch" format
  • dateMax: the ending date for searching Workflow, in "milliseconds since Unix Epoch" format
  • meta: optional metadata for searching

Returns

Workflows list.

downloadWorkflow

Retrieves a Buffer with the content of a workflow.

Arguments

  • token: the token associated with the session
  • wfid: the workflow id to be downloaded

Returns

Full workflow data (in zip format)

FAQs

Package last updated on 16 Dec 2022

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