使用 Apple 登录
一个 Apple 账户连接你的私人设备组。
选择端点
Plush 适合 cron 任务、部署钩子、家庭自动化、服务器、快捷指令,以及任何能发送 JSON 的地方。
一个 Apple 账户连接你的私人设备组。
每台设备都会加入推送令牌和公开加密密钥。
广播到所有设备,或向单台设备发送加密的 App 载荷。
API
从 App 获取令牌,列出设备,按名称定向,并发送 APNs 可见文案以及仅 App 可见的加密内容。
curl -X POST https://api.easypush.app/v1/send \
-H "Authorization: Bearer $PLUSH_API_TOKEN" \
-d 'Deploy done'
批准生产发布
POST/v1/send发送可见的 APNs 提醒和加密载荷信封。
curl -X POST /v1/send -d 'Deploy done'
GET/v1/devicesList every registered device before choosing where the next alert lands.
curl /v1/devices
POST/v1/devicesRegister a push token with its public encryption key so app-only content stays private.
{ "publicKey": "...", "pushToken": "..." }