Skip to content
Filesystem over HTTP API
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
test
.gitignore
README.md
package.json

README.md

Filesystem API

Filesystem API server

Requires Authorization: <token> header for every request.

Supported Methods:

  • GET /my-file.txt - Get contents of my-file.txt
  • POST /my-file.txt - Create my-file.txt with request body
  • PUT /my-file.txt - Update my-file.txt with request body
  • DELETE /my-file.txt - Delete my-file.txt

Provides metrics for requests to a statsd server. Configurable via environment variables.

See lib/config.js for specifics.

Tests

npm test

Todo

  • Synchronise files across filesystem nodes..
  • Provide timing metrics to statsd
You can’t perform that action at this time.