notification.yaml
446 字节
version: v1
kind: HttpApi
metadata:
service: notification
path: /notifications
endpoints:
- method: readSentNotification
route:
post: /{sentNotificationId}/read
- method: readAllUnReadSentNotification
route:
post: /read-all
- method: listSentNotification
route:
get: /
params:
- name: receiverId
- name: notificationType
- name: offset
- name: limit