snapshot on resource API