GET /api/locations/447626440/subnets 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "network": "131.254.13.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": "2019-02-20 13:35:24 UTC", "updated_at": "2019-02-20 13:35:24 UTC", "ipam": "None", "boot_mode": "DHCP", "id": 1018350803, "name": "subnet500", "description": null, "network_address": "131.254.13.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 field and order, eg. ‘id DESC’ Validations:
|
page optional |
paginate results Validations:
|
per_page optional |
number of entries per request Validations:
|
Field name | Type | Possible values |
---|---|---|
boot_mode | string | |
dns_primary | string | |
dns_secondary | string | |
domain | string | |
gateway | string | |
ipam | string | |
location | string | |
location_id | integer | |
mask | string | |
mtu | integer | |
name | text | |
network | string | |
organization | string | |
organization_id | integer | |
params | text | |
type | string | |
vlanid | integer |