AJAX API to mark snaps now working