Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Wonderful World of Webhooks

The Wonderful World of Webhooks

Short tech talk slot from Lead Developer 2016

Lorna Mitchell

June 23, 2016
Tweet

More Decks by Lorna Mitchell

Other Decks in Technology

Transcript

  1. Inside A Webhook Webhook for github wiki page created {

    "pages": [ { "page_name": "Home", "title": "Home", "summary": null, "action": "created", ... and 111 more lines @lornajane
  2. Inside A Webhook This hook will contain: • The pages

    that changed in the wiki • The repository • The owner of the repository • The user that sent this change Includes much hypermedia @lornajane
  3. Inside A Webhook "owner": { "login": "baxterthehacker", "id": 6752317, "avatar_url":

    "https://avatars.githubusercontent.com/u/6752317?v=3", "url": "https://api.github.com/users/baxterthehacker", "html_url": "https://github.com/baxterthehacker", "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", "repos_url": "https://api.github.com/users/baxterthehacker/repos", "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", "received_events_url": "https://api.github.com/users/baxterthehacker/received_events "type": "User", "site_admin": false } @lornajane