| / |
GET |
Returns home page with search form |
200 |
| /document/ |
GET |
Returns the first page of documents |
200 |
| /document/?cursor=<cursor> |
GET |
Returns the page of documents beginning with <cursor> |
200 |
| /document/<doctype>/ |
GET |
Returns the first page of documents with <doctype>> |
200 |
| /document/<doctype>/?cursor=<cursor> |
GET |
Returns the page of documents with <doctype> beginning with <cursor> |
200 |
| /document/<doctype>/<docid>/ |
GET |
Returns the document with <doctype> and <docid> if exists |
200/404/304 |
| /document/<doctype>/<docid>/ |
POST |
Create or update the document with <doctype> and <docid> and defer association
| 202 |
| /document/<doctype>/<docid>/ |
PUT |
Create or update the document with <doctype> and <docid> and associate |
202 |
| /document/<doctype>/<docid>/ |
DELETE |
Delete the document with <doctype> and <docid> and related associations |
204/404 |
| /index/ |
GET |
Returns the first page of the index |
200 |
| /index/?cursor=<cursor> |
GET |
Returns the page of the index beginning with <cursor> |
200 |