Skip to main content
GET
/
reference
/
protocols
List supported protocols
curl --request GET \
  --url https://api.altostrat.io/reference/protocols \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "TCP",
    "value": 6,
    "supports_ports": true
  }
]

Authorizations

Authorization
string
header
required

Authentication is performed via an Auth0-issued JSON Web Token (JWT). Provide the token in the Authorization header with the Bearer scheme.

Response

A list of supported protocols.

name
string

The common name of the protocol (e.g., 'TCP', 'UDP').

Example:

"TCP"

value
integer

The integer value representing the protocol.

Example:

6

supports_ports
boolean

Indicates if this protocol uses port numbers.

Example:

true