fix getSnapshotList and add getSnapshotIds