Get a JSON Schema
GET {{base_doc_url}}{{doc_api}}/{{namespace}}/collections/{{collection2}}/json-schema
Request Body
{"title"=>"Person", "type"=>"object", "properties"=>{"firstName"=>{"type"=>"string", "description"=>"The person'''s first name."}, "lastName"=>{"type"=>"string", "description"=>"The person'''s last name."}, "age"=>{"description"=>"Age in years which must be equal to or greater than zero.", "type"=>"integer", "minimum"=>0}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cassandra-Token | string | (Required) The token returned from the authorization endpoint. Use this token in each request to the database. | |
Content-Type | string |
RESPONSES
status: Created
{"name":"killrvideo"}