GET
/
{site}
/
subnets
curl --request GET \
  --url https://api.altostrat.io/backups/{site}/subnets \
  --header 'Authorization: Bearer <token>'
[
  {
    "route": "192.168.12.1/24",
    "type": "rfc1918",
    "interface": "bridge1"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

site
string
required

Site ID to retrieve subnets from the latest backup

Response

200
application/json

Array of discovered subnets

The response is of type object[].