Package com.pubnub.api.services
Interface HistoryService
-
public interface HistoryService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<DeleteMessagesEnvelope>
deleteMessages(java.lang.String subKey, java.lang.String channels, java.util.Map<java.lang.String,java.lang.String> options)
retrofit2.Call<com.google.gson.JsonElement>
fetchCount(java.lang.String subKey, java.lang.String channels, java.util.Map<java.lang.String,java.lang.String> options)
retrofit2.Call<com.google.gson.JsonElement>
fetchHistory(java.lang.String subKey, java.lang.String channel, java.util.Map<java.lang.String,java.lang.String> options)
retrofit2.Call<FetchMessagesEnvelope>
fetchMessages(java.lang.String subKey, java.lang.String channels, java.util.Map<java.lang.String,java.lang.String> options)
retrofit2.Call<FetchMessagesEnvelope>
fetchMessagesWithActions(java.lang.String subKey, java.lang.String channel, java.util.Map<java.lang.String,java.lang.String> options)
-
-
-
Method Detail
-
fetchHistory
@GET("v2/history/sub-key/{subKey}/channel/{channel}") retrofit2.Call<com.google.gson.JsonElement> fetchHistory(@Path("subKey") java.lang.String subKey, @Path("channel") java.lang.String channel, @QueryMap java.util.Map<java.lang.String,java.lang.String> options)
-
deleteMessages
@DELETE("v3/history/sub-key/{subKey}/channel/{channels}") retrofit2.Call<DeleteMessagesEnvelope> deleteMessages(@Path("subKey") java.lang.String subKey, @Path("channels") java.lang.String channels, @QueryMap java.util.Map<java.lang.String,java.lang.String> options)
-
fetchMessages
@GET("v3/history/sub-key/{subKey}/channel/{channels}") retrofit2.Call<FetchMessagesEnvelope> fetchMessages(@Path("subKey") java.lang.String subKey, @Path("channels") java.lang.String channels, @QueryMap java.util.Map<java.lang.String,java.lang.String> options)
-
fetchMessagesWithActions
@GET("v3/history-with-actions/sub-key/{subKey}/channel/{channel}") retrofit2.Call<FetchMessagesEnvelope> fetchMessagesWithActions(@Path("subKey") java.lang.String subKey, @Path("channel") java.lang.String channel, @QueryMap java.util.Map<java.lang.String,java.lang.String> options)
-
fetchCount
@GET("v3/history/sub-key/{subKey}/message-counts/{channels}") retrofit2.Call<com.google.gson.JsonElement> fetchCount(@Path("subKey") java.lang.String subKey, @Path("channels") java.lang.String channels, @QueryMap java.util.Map<java.lang.String,java.lang.String> options)
-
-