-
Notifications
You must be signed in to change notification settings - Fork 89
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
feat: Replace Controller
role with Billing Admin
role
#528
Conversation
✅ Deploy Preview for open-api ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
Controller
role with Billing Admin
role
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like a breaking change? should we have a backwards compatible API that allows Controller
as an alias for Billing Admin
?
also i think you need to run go generate ./...
and commit the generated files
Can you elaborate how this is a breaking change? We no longer accept Thanks for the second suggestion, I will try to generate the files. |
yeah, exactly what i meant. we made a breaking change to our API since existing code from customers that might have used we have this distinction deliberately. there is an internal open api spec that contains all methods that our API offers, not just the ones we want to provide to customers |
You are absolutely right that this would be a problem if this was being actively used. There are 85 non-netlify Billing Admins all time and I have a strong suspicion they were not created through the API but rather through the UI. I do not think this role is being created by the users programatically. To substantiate my claim, I tried looking in Humio but I cannot find a way to differentiate "user-generated" requests vs our UI. I can find some data to confirm once I figure out how to obtain it. EDIT - I found a way to query requests not coming from our FE app and as you can see here, in the last 3 months (our Humio retention period), there's not been a single request to create or update Controller roles. I think it is safe to say users are not using these endpoints programatically and it is safe to update it in the documentation. |
d31a509
to
c1a7687
Compare
We recently renamed all Controllers to Billing Admins in PR. This needs to be reflected in the api docs.