We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<doc-ref> is the _ref field in MongoDB.
<doc-ref>
_ref
GET - /api/<app-slug>/document/<collection-namespace>
return:
{ "total": 9, "skip": 0, "limit": 999999, "results": [ { "_ref": "4fd44bfdd3f3f", "name": "The Road Runner", "name-given": "Accelleratii incredibus", "voiced": [ "Paul Julian", "Mel Blanc", "Dee Bradley Baker", "Frank Welker" ] }, { "_ref": "5r4cd77bfdd2e2e", "name": "Wile E. Coyote", "name-given": "Eatibus anythingus", "voiced": [ "Silent", "Mel Blanc", "Joe Alaskey", "Dee Bradley Baker", "Maurice LaMarche" ] } ] }
r
l
q
MongoDb query is a JSON formated string, ex:
?q={"select": ["title"], "where":{"title":"hello"}}
Allowed parameters are:
select
where
sort
limit
skip
CRUD - /api/<app-slug>/document/<collection-namespace>/<doc-ref>
{ "_ref": "5r4cd77bfdd2e2e", "name": "Wile E. Coyote", "name-given": "Eatibus anythingus", "voiced": [ "Silent", "Mel Blanc", "Joe Alaskey", "Dee Bradley Baker", "Maurice LaMarche" ] }
You can get a specific revision with the r argument
GET - /api/<app-namespace>/document/<collection-slug>/<doc-ref>?r=int