Hello,
 
i want to get a list of Snapshots with the java-API from a specified volume.
A list of volumes is no problem, but i cant find anything about snapshots.
 
Here the java code for a volume list:
 
private ApiRunner getRunner()
    {
        
        ApiRunner runner = null;
        try
        {
             runner = new ApiRunner(ApiTarget.builder()
                .withHost(ip)
                .withUserName(user)
                .withPassword(pw)
                .withTargetType(TargetType.FILER)
                .useHttp()
                .build());
        
        
        }
        catch(Exception e)
        {
            System.out.println("Connection Problem");
            e.printStackTrace();
        }
        return runner;
    }
public Iterator getVolumes()
    {
        ArrayList volList = null;
        ApiRunner runner = getRunner();
        VolumeListInfoIterStartRequest volListReq = new VolumeListInfoIterStartRequest();
        Iterator<VolumeInfo> volumeIter = runner.iterate(volListReq, 10);
        
        return volumeIter;
     
    } 
 
Please help!
 
Best regards,
 
Peter