What is the 2-legged oauth scope, described as "Download PDF files and arbitrary files",

The "Download PDF files and arbitrary files" field seems to indicate downloading any non-native google file types, but I can not find more information about this. I can use the API document document entry of the API document to get a download link that usually works, but I recently encountered some unexpected authentication errors when trying to download, which led me to discover this additional manifest of the oauth scope application.

Certain areas are described here and another list (which skips the download area). What is this area and where can I find more information about it?

EDIT

I use various google data APIs in the context of the Google engine, and this is an instance manifest of an application engine that declares its required areas. Since different area lists are documented differently depending on the contexts in which the google data APIs are used, and I mean the documentation for the application manifest for the application engine, I include the application engine tag.

EDIT

The area is additionally indicated (at the URL - https://docs.googleusercontent.com/ ) in this documentation , and appears to be required in order to cover all potential download sources.

+4
source share
1 answer

I just did a little testing, and it seems that the https://docs.google.com/feeds/ area gives you access to the document API itself (list files, reading and writing metadata), while https://docs.googleusercontent.com/ allows https://docs.googleusercontent.com/ to download non-local formats of Google Docs therefore files such as PDFs, images, etc. that have been downloaded by the user to disk. It seems to me that https://docs.googleusercontent.com/feeds/download/ is an alias of https://docs.googleusercontent.com/

0
source

Source: https://habr.com/ru/post/1414383/


All Articles