obsidian-notes/工具/push.md
2024-04-15 11:48:44 +08:00

57 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
created: 2024-04-15
tags:
title: push-message
---
# [message-push](https://tmp.020824.xyz)
考虑到平台和推送能力差异使用message-push统一推送
## API
- 地址:`https://tmp.020824.xyz/push/murmur`
- 参数:
```json
{
"title"="",
"description":"",
"content":"",
"channel":"",
"token":""
}
```
# [wxpush](https://wxpusher.zjiecode.com/admin/)
可推送微信,添加用户方便,单日发送上限高。使用`## 主题(Topics)管理`便于广播。
- 地址:`https://wxpusher.zjiecode.com/api/send/message`
- 参数:
```json
{
"appToken":"AT_g1akIPlPauv7ahWdCbbXyjwZRWfmDHZl",//根据需要更改
"content":"$content",
"summary":"$description",
"contentType":3,
"topicIds":[
"28661"//根据需要更改
],
"url":"$url",
"verifyPayType":0
}
```
# [gotify](https://push.020824.xyz/gotify)
自带客户端
- 地址:`https://push.020824.xyz/gotify/message?token=ALoadxEe9nu-pxI`。按需更改token
- 参数:
```json
{
"title": "$title",
"message": "> $description \n\n [details]($url) \n\n $content",
"priority": 0,
"extras": {
"client::display": {
"contentType": "text/markdown"
}
}
}
```
# Discord
基于webhook自带客户端
- 地址:`https://discord.com/api/webhooks/1229267655983104001/huidZw3MVy4u2jOlcM1GcZkphoTanx_m8wm5OuPhCVMj0UaUmDzbYnM6HkJcbfMKRa5R`
- 参数:无