Added reesult/{id}/generate resource.