POST MULTIPLE BOOKS with id-path

POST {{base_doc_url}}{{doc_api}}/{{namespace}}/collections/{{collection}}/batch?id-path=book.title

Request Params

KeyDatatypeRequiredDescription
id-pathstring

Request Body

{"0"=>{"id"=>"moby-dick", "book"=>{"title"=>"Moby Dick", "isbn"=>"12345", "author"=>["Herman Melville"], "pub-year"=>1899, "genre"=>["adventure", "ocean", "action"], "format"=>["hardback", "paperback", "epub"], "languages"=>["English", "German", "French"]}}, "1"=>{"id"=>"pride-and-prejudice", "book"=>{"title"=>"Pride and Prejudice", "isbn"=>"45674", "author"=>["Jane Austen"], "pub-year"=>1890, "genre"=>["romance", "England", "regency"], "format"=>["hardback", "paperback", "epub"], "languages"=>["English", "Japanese", "French"]}}}

HEADERS

KeyDatatypeRequiredDescription
X-Cassandra-Tokenstring(Required) The token returned from the authorization endpoint. Use this token in each request to the database.
Content-Typestring

RESPONSES

status: Created

{"name":"killrvideo"}