Socket
Book a DemoInstallSign in
Socket

delorean-up-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

delorean-up-api

DeloreanUp backend server is used to generate volume's backup using doc-nodes and send of this backups on a predefined persistent system (eg. NFS, SWIFT, ...)

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

delorean-up-api

DeloreanUp Api - JavaScript client for deloreanUp backend

DeloreanUp backend server is used to generate volume's backup using doc-nodes and send of this backups on a predefined persistent system (eg. NFS, SWIFT, ...)

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

Install it via:

npm install delorean-up-api --save

Getting Started

Please follow the installation instruction and execute the following JS code:

var DeloreanUpApi = require('delorean_up_api');

var api = new DeloreanUpApi.NodesApi()

var nodeId = "nodeId_example"; // {String} ID of the node

var containerId = "containerId_example"; // {String} ID of the container to return


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.containerBackupPOST(nodeId, containerId, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost:3000/api/v1.0.0

ClassMethodHTTP requestDescription
DeloreanUpApi.NodesApicontainerBackupPOSTPOST /nodes/{nodeId}/containers/{containerId}/backupCreate backup of the container passed by Id.
DeloreanUpApi.NodesApicontainerMountsGETGET /nodes/{nodeId}/containers/{containerId}/mountsReturns an array of mounts object.
DeloreanUpApi.NodesApinodeContainerByIdGETGET /nodes/{nodeId}/containers/{containerId}Returns a container object.
DeloreanUpApi.NodesApinodeContainersGETGET /nodes/{nodeId}/containersReturns a list of active container in a node.
DeloreanUpApi.NodesApinodesGETGET /nodes/Returns a list of nodes.

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

FAQs

Package last updated on 13 May 2019

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.