Prepared for REST API for marking snaps with AJAX