Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find deprecated API in Google Scripts

I have a message stating our Google Apps domain is using an API that will be deprecated soon. When I look at the list of upcoming APIs I don't see any I believe we are using, but I have copied some code from various example sources and may be missing something. Outside looking at every line of code in the various spreadsheets, forms, etc, is there a way to determine what code in what files might be using an API which is about to go away? If I have o manually look at them all I am sure to miss something. And if it i in an old test script I can gladly throw them away. Just trying to most efficiently find any problems as we area non-profit and all my time has been volunteer time that is better spent on new directions.

Regards, Karl S

like image 595
Karl_S Avatar asked Jul 14 '26 17:07

Karl_S


1 Answers

You can run a report from your admin console to see where in your domain scopes have been authorized.

https://admin.google.com/AdminHome?#Reports:subtab=token-audit

Here you can search for the scopes of the depreciating apis. If found it will return the app associated with them

Here are the scopes that are depreciating.

https://apps-apis.google.com/a/feeds/.*?/(user|nickname|emailList)/

And

https://apps-apis.google.com/a/feeds/(group|user|alias|customer|orgunit|orguser)/
like image 98
Spencer Easton Avatar answered Jul 17 '26 19:07

Spencer Easton



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!