Do you need to migrate to Drive API when using https://spreadsheets.google.com/feeds/

喜欢而已 提交于 2019-12-30 06:42:27

问题


The 22nd of January, I received an email with the subject 'Important: Steps to migrate from discontinued Documents List API' from Google Apps .

Important: Steps to migrate from discontinued Documents List API

Hello administrators,

We recently communicated that Documents List API will be discontinued on April 20, 2015. This change means that service calls for this API will no longer be supported, and any Google Apps features that are implemented using this API will no longer function.

Our records indicate that you may have an application that uses Documents List API, and we recommend that you migrate to Drive API, which has comparable functionality, as soon as possible.

Here's what you need to do:

Determine if you have an application that makes requests to these types of URLs:

  • https://docs.google.com/feeds/
  • https://docs.googleusercontent.com/
  • https://spreadsheets.google.com/feeds/

Migrate the applications to Drive API. If you have questions about migration, please contact Google Apps for Work Support.

Sincerely, The Google Apps for Work Team

I think it says that applications using https://spreadsheets.google.com/feeds/ should migrate to the new Drive API. But in the new Drive API, this URL is used too: https://developers.google.com/google-apps/spreadsheets/#sheets_api_urls_visibilities_and_projections

Is there a typo somewhere in the URL either in the email or Drive API documentation? Or is this email saying that when you determined you used any of these URL's you're OK?

PS: I opened a case at Google but I fear a late response, so I asked here.


回答1:


Short answer is no.

The Docslist API is being discontinued because it has been replaced by the Drive API. In the case of the Spreadsheet API, there is no replacement API (yet - maybe one day), so it remains supported.

The only gotcha is that at some point, only OAuth 2 will be supported for authentication/authorisation so if you're using OAuth 1 or u/p, you have some work to do.




回答2:


The official Google response is that the Spreadsheets API will continue to function after the 20 April shutdown:

"Apologies for the confusing email. The sheets API is not yet deprecated and will continue to operate beyond the April shutdowns."

https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3709



来源:https://stackoverflow.com/questions/28169309/do-you-need-to-migrate-to-drive-api-when-using-https-spreadsheets-google-com-f

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!