Interface RikaFirenetApi


public interface RikaFirenetApi
Author:
Sebastien Vermeille
  • Method Details

    • getStoveStatus

      @GET("/api/client/{stoveId}/status") @Headers("Content-Type: application/json") retrofit2.Call<StoveStatus> getStoveStatus(@Path("stoveId") String stoveId)
    • authenticate

      @POST("/web/login") retrofit2.Call<okhttp3.ResponseBody> authenticate(@Body Auth credentials)
    • logout

      @GET("/web/logout") retrofit2.Call<okhttp3.ResponseBody> logout()
    • getStoves

      @GET("/web/summary") retrofit2.Call<okhttp3.ResponseBody> getStoves()
    • updateControls

      @POST("/api/client/{stoveId}/controls") retrofit2.Call<okhttp3.ResponseBody> updateControls(@Path("stoveId") String stoveId, @Body UpdatableControls fields)
      Typed api call (safer)
      Parameters:
      stoveId -
      fields -
      Returns: