1.0.3 • Published 8 years ago

own-couchdb v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

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 :)