Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

When a single web service is used to perform multiple actions based on
a single
`webhook event <https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/about-webhooks#events>`_, it
`webhook event <https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads>`_, it
is easier to do those multiple steps in some sort of routing mechanism
to make sure the right objects are called is provided. This module is
meant to provide such a router for :class:`gidgethub.sansio.Event`
Expand Down
6 changes: 3 additions & 3 deletions docs/sansio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Webhook events
--------------
`Webhook events <https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/about-webhooks>`_ are represented by
`Webhook events <https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads>`_ are represented by
:class:`Event` objects. The expectation is that a server will receive an HTTP
request from GitHub and then use :meth:`Event.from_http` to create an
:class:`Event` instance. For example::
Expand Down Expand Up @@ -44,14 +44,14 @@ without requiring the use of the :class:`Event` class.

.. attribute:: data

The `payload <https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/webhook-events-and-payloads>`_ of the
The `payload <https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads>`_ of the
event.


.. attribute:: event

The string representation of the
`triggering event <https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/about-webhooks#events>`_.
`triggering event <https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads>`_.


.. attribute:: delivery_id
Expand Down