mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
docs: Rename "webhooks" to "incoming webhooks".
I only renamed references that I thought were absolutely necessary and only if the resulting sentence structure wasn't awkward. If the renaming resulted in awkward structure, I replaced the term "webhook" with "integration" (but only in some very obvious cases). Fixes #9500.
This commit is contained in:
@@ -88,7 +88,7 @@ Note the `zh-hans` prefix--that url pattern gets added by `i18n_patterns`.
|
||||
|
||||
Our example is a REST API endpoint. It's a PUT to `/users`.
|
||||
|
||||
With the exception of Webhooks (which we do not usually control the
|
||||
With the exception of incoming webhooks (which we do not usually control the
|
||||
format of), legacy endpoints, and logged-out endpoints, Zulip uses REST
|
||||
for its API. This means that we use:
|
||||
|
||||
@@ -154,7 +154,7 @@ mind. They are used extensively by the web client, and use POST.
|
||||
You can see them in
|
||||
[zproject/legacy_urls.py](https://github.com/zulip/zulip/blob/master/zproject/legacy_urls.py).
|
||||
|
||||
### Webhook integrations may not be RESTful
|
||||
### Incoming webhook integrations may not be RESTful
|
||||
|
||||
Zulip endpoints that are called by other services for integrations have
|
||||
to conform to the service's request format. They are likely to use
|
||||
|
||||
@@ -345,9 +345,9 @@ These endpoints make use of some older authentication decorators,
|
||||
`authenticated_json_api_view`, `authenticated_json_post_view`, and
|
||||
`authenticated_json_view`, so you may see them in the code.
|
||||
|
||||
## Webhook integration endpoints
|
||||
## Incoming webhook integrations
|
||||
|
||||
Webhooks are called by other services, often to send a message as part
|
||||
Incoming webhooks are called by other services, often to send a message as part
|
||||
of those services' integrations. They are most often POST requests, and
|
||||
often there is very little you can customize about them. Usually you can
|
||||
expect that the webhook for a service will allow specification for the
|
||||
|
||||
Reference in New Issue
Block a user