public interface OperationAPI
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<Object> |
execute(String operationId,
OperationBody body) |
retrofit2.Call<Object> |
execute(String operationId,
OperationBody body,
List<okhttp3.MultipartBody.Part> filePart) |
retrofit2.Call<Object> |
execute(String operationId,
OperationBody body,
Map<String,okhttp3.RequestBody> inputs) |
retrofit2.Call<Operation> |
fetchOperation(String operationId) |
@POST(value="automation/{operationId}")
retrofit2.Call<Object> execute(@Path(value="operationId")
String operationId,
@Body
OperationBody body)
@Multipart
@POST(value="automation/{operationId}")
retrofit2.Call<Object> execute(@Path(value="operationId")
String operationId,
@Part(value="request")
OperationBody body,
@PartMap
Map<String,okhttp3.RequestBody> inputs)
@Multipart
@POST(value="automation/{operationId}")
retrofit2.Call<Object> execute(@Path(value="operationId")
String operationId,
@Part(value="request")
OperationBody body,
@Part
List<okhttp3.MultipartBody.Part> filePart)
Copyright © 2018 Nuxeo. All rights reserved.