HTTP Driver
POST /:object/db/bulk
$> mdctl api POST /accounts/db/bulk --file ./bulk-def.json --env=dev.example$.ajax({
url: 'https://api.dev.medable.com/example/v2/accounts/bulk',
method: 'POST',
dataType : 'json',
xhrFields: {
withCredentials: true
},
headers: {
'Medable-Client-Key': 'GsAqlhnIMzrDeD8V2MBQWq'
},
data: [{
operation: 'updateOne',
match: {
email: '[email protected]'
},
update: {
$set: {
c_field: true
}
},
output: false,
halt: false
}, {
operation: 'cursor',
where: {
email: '[email protected]'
}
}]
}).done(function(data) {
// ...
});POST /:object/db/count
POST /:object/db/cursor
Last updated
Was this helpful?