We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alt
files().get()
There is no error, but it ignores the parameter.
file = drive.files().get(alt="media", fileId=id).execute() file = drive.files().get(alt="proto", fileId=id).execute() file = drive.files().get(alt="json", fileId=id).execute()
{ "id": "dfjjh1394hf1eijdhf1s", "kind": "drive#file", "mimeType": "text/plain", "name": "Filename" }
file = drive.files().get(alt="nonexistante", fileId=id).execute()
TypeError: Parameter "alt" value "nonexistante" is not an allowed value in "['json', 'media', 'proto']"
The text was updated successfully, but these errors were encountered:
parthea
No branches or pull requests
The
alt
option does not work onfiles().get()
:alt
as [json, media or proto] always returns the json metadata format.There is no error, but it ignores the parameter.
Environment details
Steps to reproduce
Code example
If You Pass Whatever Accepted Option, The Reponse is Always the Metadata
The response:
But if You Try a Wrong Option, It Throws the Error as It Should
The Error:
The text was updated successfully, but these errors were encountered: