-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
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
Upgrade samples to v40 and use new requestBody key #77
Comments
Where do you see the failing code in the documentation? |
Updated the issue with the link. Sorry for missing that out. 😅 |
So using the key "responses" like you had in your original code will fail, but isn't what's shown on the page. The preferred key was recently changes to "requestBody", but it was a backwards compatible change and "resources" is still accepted. googleapis/google-api-nodejs-client#1149 Changing this to an enhancement to upgrade to v40 of the library and update our key to "requestBody". |
Can I make a quick contribution to improving the docs?
requestBody
object to replaceresponses
like so:Pass ✔
Fails ❌
Link: https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/create
The text was updated successfully, but these errors were encountered: