public interface HistoryService
| Modifier and Type | Method and 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> |
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) |
@GET(value="v2/history/sub-key/{subKey}/channel/{channel}")
retrofit2.Call<com.google.gson.JsonElement> fetchHistory(@Path(value="subKey")
java.lang.String subKey,
@Path(value="channel")
java.lang.String channel,
@QueryMap
java.util.Map<java.lang.String,java.lang.String> options)
@DELETE(value="v3/history/sub-key/{subKey}/channel/{channels}")
retrofit2.Call<DeleteMessagesEnvelope> deleteMessages(@Path(value="subKey")
java.lang.String subKey,
@Path(value="channels")
java.lang.String channels,
@QueryMap
java.util.Map<java.lang.String,java.lang.String> options)
@GET(value="v3/history/sub-key/{subKey}/channel/{channels}")
retrofit2.Call<FetchMessagesEnvelope> fetchMessages(@Path(value="subKey")
java.lang.String subKey,
@Path(value="channels")
java.lang.String channels,
@QueryMap
java.util.Map<java.lang.String,java.lang.String> options)