Description
Could you consider reverting #1111 please? Those API endpoints happen to be used by both the GitHub Services feature, which is being deprecated (as mentioned in #1109), but also by repository webhooks which are still very much a supported feature from what I can tell. https://developer.github.com/v3/guides/replacing-github-services/#replacing-services-with-webhooks mentions that the migration path is to use webhooks, and https://developer.github.com/webhooks/#webhooks still mentions both organization and repository webhooks. Finally, the announcement specifically states that the particular APIs that were removed in #1111
affect the following endpoints for service hooks only
i.e. they're still vaild for repository hooks themselves.
FYI, I stumbled across this whilst trying to update the vendored version of go-github in https://github.com/terraform-providers/terraform-provider-github.