@Path("/deploy/{handle}")
@ApiOperation("Checks whether the deployment to the agents identified by the provided handle has finished or not.")
public Response isUpdateFinished(@ApiParam("The deploy handle") @PathParam("handle") String handle,
@Context HttpHeaders headers) {
BooleanValue ret = new BooleanValue(pluginManager.isPluginUpdateOnAgentsFinished(caller, handle));
return withMediaType(Response.ok(ret), headers).build();
}