curl
curl -sS "https://gateway.orbit/api/v1/firewall-rules" \
--cacert /path/to/orbit-root-ca.pem \
-H 'Accept: application/json' \
-H 'X-Orbit-Request-Id: 9d6b1e5c-4a3f-4a1b-9f0e-6d2c3f5a7b81'
{
"data": [
{
"id": 123,
"node_id": 123,
"node": "<string>",
"name": "<string>",
"action": "<string>",
"source": "<string>",
"protocol": "<string>",
"port": "<string>",
"status": "<string>",
"backend_status": "<string>",
"failed_step": "<string>",
"error_code": "<string>"
}
],
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Firewall
List firewall rules on every Node
Returns the operator firewall rules of every Node the caller can reach, in one response, ordered by Node and name. The web app uses it for the fleet list instead of one request per Node. The per-Node list stays for the CLI. The list does not SSH.
GET
/
api
/
v1
/
firewall-rules
curl
curl -sS "https://gateway.orbit/api/v1/firewall-rules" \
--cacert /path/to/orbit-root-ca.pem \
-H 'Accept: application/json' \
-H 'X-Orbit-Request-Id: 9d6b1e5c-4a3f-4a1b-9f0e-6d2c3f5a7b81'
{
"data": [
{
"id": 123,
"node_id": 123,
"node": "<string>",
"name": "<string>",
"action": "<string>",
"source": "<string>",
"protocol": "<string>",
"port": "<string>",
"status": "<string>",
"backend_status": "<string>",
"failed_step": "<string>",
"error_code": "<string>"
}
],
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}