jio putAttachment API changed
// Before:
jio.putAttachment({
"id": "docid/attmtid",
"data": "abc",
"mimetype": "text/plain",
"rev": "xxxx"
});
// Now:
jio.putAttachment({
"_id": "docid/attmtid",
"_data": "abc",
"_mimetype": "text/plain",
"_rev": "xxxxx"
});
Please register or sign in to comment