storjshare-daemon-proxy

0.0.2 • Public • Published

storjshare-daemon-proxy

node npm license

reverse proxy which makes storjshare-daemon api available via http with basic-auth

Requests template:

Request:

POST /method
  {"param": any} - optional post data

Response:

{
  "result": Boolean,
  "error": String,
  "data": Object - optional if api returns something
}

Example:

Request:

POST /restart
  {"param": "*"} - restarts all shares

Response:

{
  "result": true,
  "error": ""
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    0

Package Sidebar

Install

npm i storjshare-daemon-proxy

Weekly Downloads

2

Version

0.0.2

License

GPL-3.0

Last publish

Collaborators

  • felixbrucker