使用 Apple 登入
一個 Apple 帳戶連結你的私人裝置群組。
選擇端點
Plush 適合 cron 工作、部署 hook、家庭自動化、伺服器、捷徑,以及任何能傳送 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": "..." }