Create a collection
POST {{baseUrl}}/v2/namespaces/:namespace-id/collections
Request Body
{"name"=>"users", "fields"=>{"name"=>{"type"=>"String", "index"=>true}}, "validationAction"=>"warn"}
HEADERS
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. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"name":"killrvideo"}