Interface KeyValueClient.Api

Enclosing class:
KeyValueClient

public static interface KeyValueClient.Api
Retrofit API interface.
  • Method Details

    • getValue

      @GET("kv/{key}") retrofit2.Call<List<Value>> getValue(@Path("key") String key, @QueryMap Map<String,Object> query)
    • getKeys

      @GET("kv/{key}") retrofit2.Call<List<String>> getKeys(@Path("key") String key, @QueryMap Map<String,Object> query)
    • putValue

      @PUT("kv/{key}") retrofit2.Call<Boolean> putValue(@Path("key") String key, @QueryMap Map<String,Object> query)
    • putValue

      @PUT("kv/{key}") retrofit2.Call<Boolean> putValue(@Path("key") String key, @Body okhttp3.RequestBody data, @QueryMap Map<String,Object> query)
    • deleteValues

      @DELETE("kv/{key}") retrofit2.Call<Void> deleteValues(@Path("key") String key, @QueryMap Map<String,Object> query)
    • performTransaction

      @PUT("txn") @Headers("Content-Type: application/json") retrofit2.Call<TxResponse> performTransaction(@Body okhttp3.RequestBody body, @QueryMap Map<String,Object> query)