Skip to content
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

Warn when GAM is calling a deprecated API #1670

Open
jay0lee opened this issue Dec 21, 2023 · 2 comments
Open

Warn when GAM is calling a deprecated API #1670

jay0lee opened this issue Dec 21, 2023 · 2 comments
Assignees

Comments

@jay0lee
Copy link
Member

jay0lee commented Dec 21, 2023

Google's Discovery -based apis flag when a given API endpoint is deprecated and will likely stop working in the future. For example see:

https://github.com/jay0lee/google-api-tracker/blob/master/admin-directory_v1.json#L308

When it's calling an API that's been deprecated GAM should:

  • warn the user with a message on STDERR
  • instruct them to upgrade GAM versions (since we've likely moved to the new API in latest GAM)
  • still allow the old API call.

@taers232c fyi

@jay0lee jay0lee self-assigned this Dec 21, 2023
@taers232c
Copy link
Contributor

taers232c commented Dec 21, 2023 via email

@jay0lee
Copy link
Member Author

jay0lee commented Oct 3, 2024

@taers232c did this get added? FYI if you include a string like addresses #1670 in the commit message then GitHub will link the commit here making it easier to map Issues to actual code commits. Hopefully we can get better about that going forward to make this easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants