Vai al contenuto principale
GET
/
reference
/
services
Elenca servizi comuni
curl --request GET \
  --url https://api.altostrat.io/reference/services \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "HTTPS",
    "port": 443,
    "protocols": [
      {
        "name": "TCP",
        "value": 6
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

L'autenticazione viene eseguita tramite un JSON Web Token (JWT) emesso da Auth0. Fornire il token nell'header Authorization con lo schema Bearer.

Response

Un elenco di servizi comuni.

name
string

Il nome comune del servizio (es. 'HTTPS', 'SSH').

Example:

"HTTPS"

port
integer

Il numero di porta standard per il servizio.

Example:

443

protocols
object[]

Un suggerimento su quali protocolli sono comunemente usati per questo servizio.