Get a single document with fields
GET {{base_doc_url}}{{doc_api}}/{{namespace}}/collections/{{collection}}/{{bookdocid}}?fields=["book.title","book.genre"]
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cassandra-Token | string |
RESPONSES
status: OK
{"documentId":"native-son-doc-id","data":{"book":{"genre":["slavery","action"],"title":"Native Son"}}}