rest api for jobs_req, needs fixing