Skip to content

Commit 3711b19

Browse files
Added GET /networking/firewalls endpoint
1 parent 6fc0238 commit 3711b19

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

openapi.yaml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7809,6 +7809,47 @@ paths:
78097809
linode-cli networking v6-ranges
78107810
/networking/firewalls:
78117811
x-linode-cli-command: firewalls
7812+
get:
7813+
x-linode-grant: read_only
7814+
parameters:
7815+
- $ref: '#/components/parameters/pageOffset'
7816+
- $ref: '#/components/parameters/pageSize'
7817+
servers:
7818+
- url: https://api.linode.com/v4beta
7819+
tags:
7820+
- Networking
7821+
summary: List Firewalls
7822+
description: |
7823+
Returns a paginated list of your Firewalls.
7824+
operationId: getFirewalls
7825+
x-linode-cli-action: list
7826+
responses:
7827+
'200':
7828+
description: Returns an array of Firewalls.
7829+
content:
7830+
application/json:
7831+
schema:
7832+
type: object
7833+
properties:
7834+
data:
7835+
type: array
7836+
items:
7837+
$ref: '#/components/schemas/Firewall'
7838+
page:
7839+
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
7840+
pages:
7841+
$ref: '#/components/schemas/PaginationEnvelope/properties/pages'
7842+
results:
7843+
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
7844+
default:
7845+
$ref: '#/components/responses/ErrorResponse'
7846+
x-code-samples:
7847+
- lang: Shell
7848+
source: >
7849+
curl https://api.linode.com/v4beta/networking/firewalls
7850+
- lang: CLI
7851+
source: >
7852+
linode-cli firewalls list
78127853
post:
78137854
x-linode-grant: read_write
78147855
servers:
@@ -8019,7 +8060,8 @@ paths:
80198060
- oauth:
80208061
- firewall:read_write
80218062
description: >
8022-
Delete a Firewall resource by its ID.
8063+
Delete a Firewall resource by its ID. This will also remove all rules from the
8064+
device it was attched to, returning it to its default state.
80238065

80248066

80258067
**Beta**: This endpoint is in beta. Please make sure to prepend all requests with

0 commit comments

Comments
 (0)