-
Notifications
You must be signed in to change notification settings - Fork 2
REST API
piroor edited this page Jan 23, 2013
·
5 revisions
- GET /status/memory => server status
- GET /schema => list of all tables and columns
- GET /tables/(table name)?query=... => search
- GET /tables => list tables
- PUT /tables/(table name) => create table
- DELETE /tables/(table name) => remove table
- GET /tables/(table name)/columns => list columns
- PUT /tables/(table name)/columns/(column name) => create column
- DELETE /tables/(table name)/columns/(column name) => remove column
- PUT /tables/(table name)/records/(key) => update record or add new record with key
- DELETE /tables/(table name)/records/(key) => remove a record
- POST /tables/(table name)/records => load new records (and create keys automatically)
All responses are returned as JSON. The content of a response for a request will completely equal to the body of Socket.IO API.
The express-kotoumi provides only limited features via REST API. For example, less customizability about output format. If you need more flexible requests, you have to use Spcket.IO API.