Package co.novu.api.notifications
Interface NotificationApi
-
public interface NotificationApi- Since:
- : 09/10/23
- Author:
- : Debanjan Choudhury
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<NotificationResponse>getNotification(String notificationId)retrofit2.Call<NotificationGraphStatsResponse>getNotificationGraphStats()retrofit2.Call<NotificationsResponse>getNotifications(Map<String,Object> options)retrofit2.Call<NotificationStatsResponse>getNotificationsStats()
-
-
-
Field Detail
-
ENDPOINT
static final String ENDPOINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNotifications
@GET("notifications") retrofit2.Call<NotificationsResponse> getNotifications(@QueryMap Map<String,Object> options)
-
getNotificationsStats
@GET("notifications/stats") retrofit2.Call<NotificationStatsResponse> getNotificationsStats()
-
getNotificationGraphStats
@GET("notifications/graph/stats") retrofit2.Call<NotificationGraphStatsResponse> getNotificationGraphStats()
-
getNotification
@GET("notifications/{notificationId}") retrofit2.Call<NotificationResponse> getNotification(@Path("notificationId") String notificationId)
-
-