Add a new document to {collection-id}

POST {{baseUrl}}/v2/namespaces/:namespace-id/collections/:collection-id

Request Body

{"title"=>"Hello World", "author"=>{"name"=>"CRW", "social"=>{"foo-bar-789"=>{"followers"=>1, "likes"=>7}}}}

HEADERS

KeyDatatypeRequiredDescription
X-Cassandra-Tokenstring(Required) The token returned from the authorization endpoint for classic databases. Use this token in each request.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"documentId":"e73c77ec-002d-457a-8b65-8ce7cfb15fc7"}