Passing in doc rev to attachment url
Uploads attachments