Method to call before uploading an image to AODocs. The images are visible to the users who can access the library and if present the document.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the library into which the image will be uploaded
The ID of a document to filter which users can see the image: only users who can see this document will be able to see the image
The name of the file to be uploaded
The domain
The security code