GET api/Hosting/{hosting_handle}/IpFilter?user={user}
Get ip addresses used for connection to this hosting
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| hosting_handle |
Handle of the hosting |
string |
Required |
| user |
Owner of object. If empty, currently logged in user will be used |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
A list of IpFilter objects on success
Collection of errors on failure
Return codes
200 - ok
401 - unauthorized
404 - not found
500 - internal server error
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id |
integer |
None. |
| HostingHandle |
Hosting handle |
string |
None. |
| IpAddress |
Ip address |
string |
None. |
| IpType |
Ip Type - IPV4 or IPV6 |
string |
None. |
| ServiceType |
Service Type - SQL Server or SSH |
string |
None. |
| Comment |
Comment |
string |
None. |
| DateModified |
Last modified date |
date |
None. |
| DateCreated |
Created date |
date |
None. |
Response Formats
application/json, text/json
[
{
"Id": 1,
"HostingHandle": "sample string 2",
"IpAddress": "sample string 3",
"IpType": "sample string 4",
"ServiceType": "sample string 5",
"Comment": "sample string 6",
"DateModified": "2025-12-12T19:13:30.1459196+01:00",
"DateCreated": "2025-12-12T19:13:30.1459196+01:00"
},
{
"Id": 1,
"HostingHandle": "sample string 2",
"IpAddress": "sample string 3",
"IpType": "sample string 4",
"ServiceType": "sample string 5",
"Comment": "sample string 6",
"DateModified": "2025-12-12T19:13:30.1459196+01:00",
"DateCreated": "2025-12-12T19:13:30.1459196+01:00"
}
]
application/xml, text/xml
<ArrayOfIpFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Hosting">
<IpFilter>
<Comment>sample string 6</Comment>
<DateCreated>2025-12-12T19:13:30.1459196+01:00</DateCreated>
<DateModified>2025-12-12T19:13:30.1459196+01:00</DateModified>
<HostingHandle>sample string 2</HostingHandle>
<Id>1</Id>
<IpAddress>sample string 3</IpAddress>
<IpType>sample string 4</IpType>
<ServiceType>sample string 5</ServiceType>
</IpFilter>
<IpFilter>
<Comment>sample string 6</Comment>
<DateCreated>2025-12-12T19:13:30.1459196+01:00</DateCreated>
<DateModified>2025-12-12T19:13:30.1459196+01:00</DateModified>
<HostingHandle>sample string 2</HostingHandle>
<Id>1</Id>
<IpAddress>sample string 3</IpAddress>
<IpType>sample string 4</IpType>
<ServiceType>sample string 5</ServiceType>
</IpFilter>
</ArrayOfIpFilter>