implemented binary upload for Api() and Batch()
update doc