Add IP info to the API v1 (issue #4188)