feat(route): Add Discourse notifications support (#13114)

* Adding discourse notifications support.

* Refactor & add doc.
This commit is contained in:
Andvari
2023-08-25 00:34:19 +08:00
committed by GitHub
parent bf50612ff3
commit eebd99c85a
6 changed files with 43 additions and 6 deletions
+5 -1
View File
@@ -150,7 +150,11 @@ You need to set the environment variable `DISCOURSE_CONFIG_{id}` before using it
### Latest posts {#discourse-latest-posts}
<Route author="dzx-dzx" example="/discourse/0/posts" path="/discuz/:configId/posts" paramsDesc={['Environment variable configuration id, see above']} selfhost="1"/>
<Route author="dzx-dzx" example="/discourse/0/posts" path="/discourse/:configId/posts" paramsDesc={['Environment variable configuration id, see above']} selfhost="1"/>
### Notifications {#discourse-notifications}
<Route author="dzx-dzx" example="/discourse/0/notifications" path="/discourse/:configId/notifications" paramsDesc={['Environment variable configuration id, see above']} selfhost="1"/>
## Discuz {#discuz}