Pular para o conteúdo principal
GET
/
site
/
{siteId}
/
subnets
Listar sub-redes de um site
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

Insira seu token bearer no formato: Bearer {token}

Path Parameters

siteId
string<uuid>
required

O identificador único (UUID) para o site.

Example:

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

Response

Uma lista de sub-redes disponíveis para o site.

route
string

A sub-rede em notação CIDR.

Example:

"192.168.50.0/24"

type
string

O tipo de intervalo de endereços IP.

Example:

"rfc1918"

interface
string

A interface de rede no roteador do site associada a esta sub-rede.

Example:

"bridge"