public interface SdsService
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<CloudScanResponse> |
scanFiles(java.lang.String accountId,
java.lang.String projectId,
java.lang.String authKey,
java.lang.String appId,
java.lang.String host,
okhttp3.RequestBody stopAtFirst,
okhttp3.RequestBody stopAt,
okhttp3.RequestBody verbose,
okhttp3.RequestBody masked,
java.util.List<okhttp3.MultipartBody.Part> files) |
retrofit2.Call<CloudScanResponse> |
scanStrings(java.lang.String accountId,
java.lang.String projectId,
java.lang.String authKey,
java.lang.String appId,
java.lang.String host,
okhttp3.RequestBody stopAtFirst,
okhttp3.RequestBody stopAt,
okhttp3.RequestBody verbose,
okhttp3.RequestBody masked,
java.util.List<okhttp3.RequestBody> strings) |
@Multipart @POST(value="accounts/{accountId}/projects/{projectId}/apps/{appId}/scanner/upload_file") @Headers(value={"accept: application/json","cache-control: no-cache"}) retrofit2.Call<CloudScanResponse> scanFiles(@Path(value="accountId") java.lang.String accountId, @Path(value="projectId") java.lang.String projectId, @Header(value="auth-key") java.lang.String authKey, @Path(value="appId") java.lang.String appId, @Header(value="host") java.lang.String host, @Part(value="stop_at_first") okhttp3.RequestBody stopAtFirst, @Part(value="stop_at") okhttp3.RequestBody stopAt, @Part(value="verbose") okhttp3.RequestBody verbose, @Part(value="mask_threats") okhttp3.RequestBody masked, @Part java.util.List<okhttp3.MultipartBody.Part> files)
@Multipart @POST(value="accounts/{accountId}/projects/{projectId}/apps/{appId}/scanner/data") @Headers(value={"accept: application/json","cache-control: no-cache"}) retrofit2.Call<CloudScanResponse> scanStrings(@Path(value="accountId") java.lang.String accountId, @Path(value="projectId") java.lang.String projectId, @Header(value="auth-key") java.lang.String authKey, @Path(value="appId") java.lang.String appId, @Header(value="host") java.lang.String host, @Part(value="stop_at_first") okhttp3.RequestBody stopAtFirst, @Part(value="stop_at") okhttp3.RequestBody stopAt, @Part(value="verbose") okhttp3.RequestBody verbose, @Part(value="mask_threats") okhttp3.RequestBody masked, @Part(value="data") java.util.List<okhttp3.RequestBody> strings)