NotificationController.http 594 B

1234567891011121314151617181920212223242526
  1. GET {{host}}/notifications/1267752631465082880/read
  2. X-Access-Token: {{token}}
  3. ###
  4. GET {{host}}/notifications/subscribes/_query
  5. X-Access-Token: {{token}}
  6. ###
  7. PATCH {{host}}/notifications/subscribe
  8. X-Access-Token: {{token}}
  9. Content-Type: application/json
  10. {
  11. "id": "test",
  12. "subscriberType": "user",
  13. "subscriber": "1199596756811550720",
  14. "topicProvider": "device_alarm",
  15. "topicName": "设备告警",
  16. "topicConfig": {},
  17. "description": "测试",
  18. "state": {
  19. "text": "订阅中",
  20. "value": "enabled"
  21. }
  22. }