mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Add Host to IP lookup
This commit is contained in:
parent
ba8e4ff33c
commit
7c159e97de
4 changed files with 68 additions and 44 deletions
27
API.md
27
API.md
|
@ -1706,7 +1706,7 @@ Returns:
|
|||
|
||||
|
||||
### get_whois_lookup
|
||||
Get the ISP info for an IP address.
|
||||
Get the connection info for an IP address.
|
||||
|
||||
```
|
||||
Required parameters:
|
||||
|
@ -1717,18 +1717,21 @@ Optional parameters:
|
|||
|
||||
Returns:
|
||||
json:
|
||||
[{"description": "Google Inc.",
|
||||
"address": "1600 Amphitheatre Parkway",
|
||||
"city": "Mountain View",
|
||||
"state": "CA",
|
||||
"postal_code": "94043",
|
||||
"country": "United States",
|
||||
...
|
||||
},
|
||||
{...}
|
||||
]
|
||||
{"host": "google-public-dns-a.google.com",
|
||||
"nets": [{"description": "Google Inc.",
|
||||
"address": "1600 Amphitheatre Parkway",
|
||||
"city": "Mountain View",
|
||||
"state": "CA",
|
||||
"postal_code": "94043",
|
||||
"country": "United States",
|
||||
...
|
||||
},
|
||||
{...}
|
||||
]
|
||||
json:
|
||||
{"error": "The address 127.0.0.1 is not in the database."
|
||||
{"host": "Not available",
|
||||
"nets": [],
|
||||
"error": "IPv4 address 127.0.0.1 is already defined as Loopback via RFC 1122, Section 3.2.1.3."
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue