更新时间:2022-02-26 00:25:25
文档仍在进行中,可能会有一些变化,但总之:
The docs are still in progress, and stuff might change a bit, but in short:
获取/notifications-获取系统中所有通知的列表
GET /notifications - get list of all notifications in system
获取/notifications/{nid}获得单个通知
GET /notifications/{nid} get single notification
获取/notifications/{nid}/收件人-获取单个通知的收件人列表
GET /notifications/{nid}/recipients - get list of recipients for single notification
获取/notifications/{nid}/收件人/电子邮件-获取订阅通知的电子邮件收件人列表
GET /notifications/{nid}/recipients/emails - get list of email recipients subscribed to notification
获取/notifications/{nid}/收件人/用户-获取订阅通知的用户收件人列表
GET /notifications/{nid}/recipients/users- get list of user recipients subscribed to notification
GET/HEAD/PUT/DELETE/notifications/{nid}/收件人/电子邮件/{email}-获取/管理单个电子邮件收件人
GET/HEAD/PUT/DELETE /notifications/{nid}/recipients/emails/{email} - get/manage single email recipient
GET/HEAD/PUT/DELETE/notifications/{nid}/收件人/用户/{user}-获取/管理单用户收件人
GET/HEAD/PUT/DELETE /notifications/{nid}/recipients/users/{user} - get/manage single user recipient