hostinfo: Rename 'mod' to 'api'