added snapshots endpoint