public interface ScriptingApi
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<okhttp3.ResponseBody> |
callDownload(java.lang.String transactionId) |
retrofit2.Call<okhttp3.ResponseBody> |
callScript(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
callScriptUrl(java.lang.String targetDid,
java.lang.String appDid,
java.lang.String scriptName,
java.lang.String params) |
retrofit2.Call<okhttp3.ResponseBody> |
registerScript(okhttp3.RequestBody body) |
@POST(value="/api/v1/scripting/set_script")
retrofit2.Call<okhttp3.ResponseBody> registerScript(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/scripting/run_script")
retrofit2.Call<okhttp3.ResponseBody> callScript(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/scripting/run_script_download/{transaction_id}")
retrofit2.Call<okhttp3.ResponseBody> callDownload(@Path(value="transaction_id")
java.lang.String transactionId)
@GET(value="/api/v1/scripting/run_script_url/{targetDid}@{appDid}/{scriptName}")
retrofit2.Call<okhttp3.ResponseBody> callScriptUrl(@Path(value="targetDid")
java.lang.String targetDid,
@Path(value="appDid")
java.lang.String appDid,
@Path(value="scriptName")
java.lang.String scriptName,
@Query(value="params")
java.lang.String params)