api-docs: Add tip for finding a stream or user ID.

Adds a tip to the section on webhook URLs in the incoming webhook
overview and to the section on stream and user IDs in the construct
a narrow documentation. The tip links to relevant articles in the
help center.

Part of work on #19067.
This commit is contained in:
Lauryn Menard
2023-11-28 18:12:31 +01:00
committed by Tim Abbott
parent 276ceb46e2
commit 2f91179c1e
2 changed files with 15 additions and 0 deletions

View File

@@ -179,6 +179,11 @@ Parameters accepted in the URL include:
name. By default the integration will send direct messages to the
bot's owner.
!!! tip ""
A stream ID can be found when [browsing streams][browse-streams]
in the web app via the URL.
* `topic`: The topic in the specified stream for the integration to
send notifications to. The topic should also be
[URL-encoded][url-encoder]. By default the integration will have a
@@ -189,5 +194,6 @@ Parameters accepted in the URL include:
notification. For details, see the integration's [integration
documentation](/integrations) page.
[browse-streams]: /help/browse-and-subscribe-to-streams
[add-bot]: /help/add-a-bot-or-integration
[url-encoder]: https://www.urlencoder.org/