own-couchdb

1.0.3 • Public • Published

own

A service to own couchdb instances

API

All requests require a valid Authorization header like Basic TOKEN or Bearer TOKEN.

POST /:app

Own app

any user

GET /:app

Get code for app

admin only

PURGE /:app

Renew app's code

admin only

PUT /:app/:code

Join the app as the current user with a code

any user

DELETE /:app/:email

Make user leave the app

admin only

TODO

LOCK /:app

Prevent users from outside the app to see its contents without being logged in.

admin only

UNLOCK /:app

Allow users from outside the app to see its contents without being logged in.

admin only

Ref: http://docs.couchdb.org/en/stable/api/database/security.html

License MIT with <3 by Uxtemple :)

Readme

Keywords

Package Sidebar

Install

npm i own-couchdb

Weekly Downloads

9

Version

1.0.3

License

MIT

Last publish

Collaborators

  • dariocravero