add resetful controller json api example