public interface ServerConfigRetrofitApi
Class that will implement the server config API for any exxtractor
Since:
1/8/15
  • Method Details

    • setExxtractorServerConfigInfo

      @PUT("/exxtractor/api/v2/data") void setExxtractorServerConfigInfo(@Query("token") String token, @Body ServerConfigInfo serverConfigInfo, retrofit.Callback<retrofit.client.Response> handler)
      Method that will update the server configuration for a given exxtractor
      Parameters:
      token - the token that will authenticate the current request
      serverConfigInfo - the information that will be updated
      handler - the handler for the status of the request
    • getExxtractorServerConfigInfo

      @GET("/exxtractor/api/v2/data") void getExxtractorServerConfigInfo(@Query("token") String token, retrofit.Callback<ServerConfigInfo> handler)
      Method that will get the current exxtractor data from the selected exxtractor
      Parameters:
      token - the token used to authenticate the request
      handler - handler that will manage the request status