Vai al contenuto principale
GET
/
site
/
{siteId}
/
subnets
Elenca le subnet di un sito
curl --request GET \
  --url https://api.altostrat.io/site/{siteId}/subnets \
  --header 'Authorization: Bearer <token>'
[
  {
    "route": "192.168.50.0/24",
    "type": "rfc1918",
    "interface": "bridge"
  }
]

Authorizations

Authorization
string
header
required

Inserisci il tuo bearer token nel formato: Bearer {token}

Path Parameters

siteId
string<uuid>
required

L'identificatore univoco (UUID) per il sito.

Example:

"c3d5e2a0-88c9-4f7f-9f7b-6a1e2b4c5d6e"

Response

Un elenco delle subnet disponibili per il sito.

route
string

La subnet in notazione CIDR.

Example:

"192.168.50.0/24"

type
string

Il tipo di intervallo di indirizzi IP.

Example:

"rfc1918"

interface
string

L'interfaccia di rete sul router del sito associata a questa subnet.

Example:

"bridge"