JSPM

own-couchdb

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q29238F
  • License MIT

users for usepages

Package Exports

  • own-couchdb

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (own-couchdb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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