public function upload($file, $doc_type = null, $access = null, $revId = null)
{
$args = array('file' => $file);
if ($docType !== null) {
$args['doc_type'] = $docType;
}
if ($access !== null) {
$args['access'] = $access;
}
if ($revId !== null) {
$args['rev_id'] = $revId;
}
$response = $this->newRequest('docs.upload', $args)->run();
/*@TODO*/
}