Search for documents in {collection-id}
GET {{baseUrl}}/v2/namespaces/:namespace-id/collections/:collection-id?author.name=Cliff Wicklow&createTime={"$gte":0}&$or=[{"name":"Cliff"},{"documentId":"my-first-post-a6h54"}]&fields=name, email&page-size=10&page-state=&raw=true
Request Params
| Key | Datatype | Required | Description |
|---|
author.name | string | | URL escaped JSON query using the following keys: |
| Key | Operation |
|---|
| $lt | Less Than |
| $lte | Less Than Or Equal To |
| $gt | Greater Than |
| $gte | Greater Than Or Equal To |
| $eq | Equal To |
| $ne | Not Equal To |
| $in | Contained In |
| $nin | Not Contained In |
| $exists | A value is set for the key |
| |
createTime | string |
| Key | Operation |
|---|
| $lt | Less Than |
| $lte | Less Than Or Equal To |
| $gt | Greater Than |
| $gte | Greater Than Or Equal To |
| $eq | Equal To |
| $ne | Not Equal To |
| $in | Contained In |
| $nin | Not Contained In |
| $exists | A value is set for the key |
| |
$or | string |
| Key | Operation |
|---|
| $lt | Less Than |
| $lte | Less Than Or Equal To |
| $gt | Greater Than |
| $gte | Greater Than Or Equal To |
| $eq | Equal To |
| $ne | Not Equal To |
| $in | Contained In |
| $nin | Not Contained In |
| $exists | A value is set for the key |
| |
fields | string |
page-size | number |
page-state | null |
raw | boolean |
| Key | Datatype | Required | Description |
|---|
X-Cassandra-Token | string | | (Required) The token returned from the authorization endpoint for classic databases. Use this token in each request. |
Accept | string | | |
RESPONSES
status: OK
{"count":1,"pageState":"2f4acd34","data":[{"documentId":"my-first-post-a6h54","title":"Hello World","author":{"name":"Cliff Wicklow"}}]}