From 92d0d58fe578e22b7aa6a3b5081321dfed1e103b Mon Sep 17 00:00:00 2001 From: M M Arif Date: Sun, 8 Oct 2023 11:44:43 +0500 Subject: [PATCH] push it to the correct place --- .../org/gitnex/tea4j/v2/apis/custom/CustomApi.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java b/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java index 6573dde..dd39787 100644 --- a/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java +++ b/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java @@ -97,4 +97,15 @@ public interface CustomApi { @Headers({"Content-Type:application/json"}) @HTTP(method = "DELETE", path = "user/emails", hasBody = true) Call userDeleteEmailWithBody(@Body DeleteEmailOption body); + + @Headers({"Content-Type:application/json"}) + @GET("notifications") + Call> notifyGetList2( + @retrofit2.http.Query("all") Boolean all, + @retrofit2.http.Query("status-types") List statusTypes, + @retrofit2.http.Query("subject-type") List subjectType, + @retrofit2.http.Query("since") String since, + @retrofit2.http.Query("before") String before, + @retrofit2.http.Query("page") Integer page, + @retrofit2.http.Query("limit") Integer limit); }