I'm wondering if it's possible to obtain the URI for an image located on one's Google Drive.
What I've Tried:
Drive API: GET https://www.googleapis.com/drive/v2/files/{fileId}
(Using the Google Docs batchUpdate ReplaceImageRequest to replace images)
uri = file["selfLink"] => "Invalid requests[0].replaceImage: Access to the provided image was forbidden."
uri = file["webContentLink"] => "Invalid requests[0].replaceImage: There was a problem retrieving the image. The provided image should be publicly accessible, within size limit, and in supported formats."
uri = file["alternateLink"] => (see above)
uri = file["embedLink"] => (see file["webContentLink"])
I was trying these properties– expecting the Docs API to automatically interpret drive links. But this was probably just wishful thinking; as it of course, did not work.