cast integer user_id and video_id in http api