-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove mediaTypeRequiredApprovingReviewsPreview header from remaining APIs #1779
Comments
Hmmm... I think we have a disconnect. If I search for that custom media header in this repo, I see this: https://github.com/google/go-github/search?q=mediaTypeRequiredApprovingReviewsPreview which shows it being used in two locations:
These appear to have been modified most recently in: #880 Can you please clarify where you are seeing this custom media header? |
Well, I took the latest for the last pull request, plus here, https://github.com/google/go-github/blob/c2c4a6d477016a3e73a63d67b1933fb24f52fd99/github/repos.go, where I can see it being used multiple times. I guess here they are just showing the top 2 matches, but if you open the file, it's more than 2. |
Ah! You are right! Mine was the disconnect. Sorry about that. Then yes, please feel free to submit a PR to clean these all up, or we can open it up to another volunteer to do this... your choice. Thank you, @n1lesh ! |
Will work on it, no problem. Thank you, @gmlewis |
As mentioned in,
https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews/
only 4 endpoints require
mediaTypeRequiredApprovingReviewsPreview
header as mentioned in here as well.Can we remove the header in remaining APIs, namely status checks APIs, as I see it being used in around 14 endpoints, or am I missing something?
The text was updated successfully, but these errors were encountered: