public uploadFromUrl ( string $url, $doc_type = null, string $access = null, integer $rev_id = null ) : array | ||
$url | string | Document location |
$access | string | Document visibility. 'public' or 'private', default 'public' |
$rev_id | integer | The doc_id to save uploaded file as a revision to |
return | array | [doc_id, access_key, [secret_password]] |