Interface UploadPluginService
@Service
public interface UploadPluginService
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<okhttp3.ResponseBody>assignTeam(String appId, String clientSecret, okhttp3.RequestBody body) retrofit2.Call<okhttp3.ResponseBody>checkStatus(String buildId, String clientSecret) retrofit2.Call<okhttp3.ResponseBody>downloadReport(String assessmentId, String reportFormat, String clientSecret) retrofit2.Call<okhttp3.ResponseBody>retrofit2.Call<LoginResponse>login(LoginCredentials body) retrofit2.Call<LoginResponse>retrofit2.Call<okhttp3.ResponseBody>
-
Method Details
-
login
@Headers("Content-Type: application/json") @POST("api/auth/v1/api_keys/login") retrofit2.Call<LoginResponse> login(@Body LoginCredentials body) -
refreshAccess
@Headers("Content-Type: application/json") @POST("api/auth/v1/api_keys/access") retrofit2.Call<LoginResponse> refreshAccess(@Body RefreshCredentials body) -
upload
@POST("api/zdev-upload/public/v1/uploads/build") retrofit2.Call<okhttp3.ResponseBody> upload(@Header("Authorization") String clientSecret, @Body okhttp3.RequestBody body) -
assignTeam
-
listTeams
@GET("api/auth/public/v1/teams") retrofit2.Call<okhttp3.ResponseBody> listTeams(@Header("Authorization") String clientSecret) -
checkStatus
-
downloadReport
-