Interface ServerActionsRetrofitApi
public interface ServerActionsRetrofitApi
Class that holds all the request that represent a direct
- Since:
- 1/13/15
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getExxtractorLogs
(String token, retrofit.Callback<LogFile> handler) void
getServerInfo
(retrofit.Callback<ServerInfo> handler) void
updateServerState
(String token, ServerState serverState, retrofit.Callback<retrofit.client.Response> handler)
-
Method Details
-
updateServerState
@POST("/exxtractor/api/v2/state") void updateServerState(@Query("token") String token, @Body ServerState serverState, retrofit.Callback<retrofit.client.Response> handler) -
getExxtractorLogs
-
getServerInfo
@GET("/controller/api/v3/config-virtual/public") void getServerInfo(retrofit.Callback<ServerInfo> handler)
-