Saltar al contenido principal
GET
/
site
/
{siteId}
/
subnets
Listar subredes para un sitio
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

Introduzca su token de portador en el formato: Bearer {token}

Path Parameters

siteId
string<uuid>
required

El identificador único (UUID) para el sitio.

Example:

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

Response

Una lista de subredes disponibles para el sitio.

route
string

La subred en notación CIDR.

Example:

"192.168.50.0/24"

type
string

El tipo de rango de direcciones IP.

Example:

"rfc1918"

interface
string

La interfaz de red en el enrutador del sitio asociada con esta subred.

Example:

"bridge"