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

🤖📯 Octokit webhooks changed #124

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions cache/event-types-and-payloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,28 @@





<div class="deprecation-banner deprecation-note">
<h5 class="text-center">
👋 We've unified all of GitHub's product documentation in one place! Check out the content for <a href="https://docs.github.com/rest">REST API</a>, <a href="https://docs.github.com/graphql">GraphQL API</a>, and <a href="https://docs.github.com/developers">Developers</a>. Learn more on the <a href="https://github.blog/2020-07-01-launching-docs-github-com">GitHub blog</a>. For the most accurate and up-to-date content on this page, visit <a id="newDocsRedirectURL" href="https://docs.github.com">docs.github.com</a>.
</h5>
</div>

<script>
window.addEventListener('DOMContentLoaded', (event) => {
console.log('DOM fully loaded and parsed');
const redirectPatterns = [
"/v3", "/v4", "/apps", "/webhooks", "/marketplace"
]
if (redirectPatterns.some(pattern => window.location.pathname.match(pattern))) {
const element = document.getElementById("newDocsRedirectURL");
const newUrl = window.location.href.replace(window.location.origin, "https://docs.github.com")
element.setAttribute("href", newUrl)
element.innerHTML = newUrl.replace("https://", "")
}
});
</script>

<div class="sub-nav mt-5 mb-3">
<h2><a href="/webhooks/">Webhooks</a></h2>
Expand Down