resource = resource.queryParam("start", start);
if(end != null)
resource = resource.queryParam("end", end);
resource = resource.queryParam("colo", colo);
return resource.header(REMOTE_USER, USER).accept(instances.mimeType).method(instances.method, InstancesResult.class);
}
private String sendInstanceRequest(Instances instances, String type,
String entity, String start, String end, InputStream props,
String runid, String colo) throws IvoryCLIException {