GET /api/locations/447626440/subnets 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "network": "176.99.108.0", "network_type": "IPv4", "cidr": 24, "mask": "255.255.255.0", "priority": null, "vlanid": null, "mtu": 1500, "gateway": null, "dns_primary": null, "dns_secondary": null, "from": null, "to": null, "created_at": "2018-11-16 10:03:38 UTC", "updated_at": "2018-11-16 10:03:38 UTC", "ipam": "None", "boot_mode": "DHCP", "id": 1018350796, "name": "subnet8", "description": null, "network_address": "176.99.108.0/24", "dhcp_id": null, "dhcp_name": null, "tftp_id": null, "tftp_name": null, "httpboot_id": null, "httpboot_name": null, "dns_id": null, "template_id": null, "template_name": null, "dhcp": null, "tftp": null, "httpboot": null, "dns": null, "template": null } ] }
Param name | Description |
---|---|
domain_id optional |
ID of domain Validations:
|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort and order by a searchable field, e.g. '<field> DESC' Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return, 'all' to return all results Validations:
|
Field name | Type | Possible values |
---|---|---|
boot_mode | string | |
dns_primary | string | |
dns_secondary | string | |
domain | string | |
gateway | string | |
id | integer | |
ipam | string | |
location | string | |
location_id | integer | |
mask | string | |
mtu | integer | |
name | text | |
network | string | |
nic_delay | integer | |
organization | string | |
organization_id | integer | |
params | string | |
type | string | |
vlanid | integer |