POST ONE BOOK
PUT {{base_doc_url}}{{doc_api}}/{{namespace}}/collections/{{collection}}/{{bookdocid}}
Request Body
{"book"=>{"title"=>"Native Son", "isbn"=>"12322", "author"=>["Richard Wright"], "pub-year"=>1930, "genre"=>["poverty", "action"], "format"=>["hardback", "paperback", "epub"], "languages"=>["English", "German", "French"]}}
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"}