Skip to content

Commit 0d35255

Browse files
andystevensnameleslitagordita
authored andcommitted
Added GET /networking/firewalls endpoint
1 parent a1ef7b9 commit 0d35255

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
@@ -8889,6 +8889,47 @@ paths:
88898889
linode-cli networking v6-ranges
88908890
/networking/firewalls:
88918891
x-linode-cli-command: firewalls
8892+
get:
8893+
x-linode-grant: read_only
8894+
parameters:
8895+
- $ref: '#/components/parameters/pageOffset'
8896+
- $ref: '#/components/parameters/pageSize'
8897+
servers:
8898+
- url: https://api.linode.com/v4beta
8899+
tags:
8900+
- Networking
8901+
summary: List Firewalls
8902+
description: |
8903+
Returns a paginated list of your Firewalls.
8904+
operationId: getFirewalls
8905+
x-linode-cli-action: list
8906+
responses:
8907+
'200':
8908+
description: Returns an array of Firewalls.
8909+
content:
8910+
application/json:
8911+
schema:
8912+
type: object
8913+
properties:
8914+
data:
8915+
type: array
8916+
items:
8917+
$ref: '#/components/schemas/Firewall'
8918+
page:
8919+
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
8920+
pages:
8921+
$ref: '#/components/schemas/PaginationEnvelope/properties/pages'
8922+
results:
8923+
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
8924+
default:
8925+
$ref: '#/components/responses/ErrorResponse'
8926+
x-code-samples:
8927+
- lang: Shell
8928+
source: >
8929+
curl https://api.linode.com/v4beta/networking/firewalls
8930+
- lang: CLI
8931+
source: >
8932+
linode-cli firewalls list
88928933
post:
88938934
x-linode-grant: read_write
88948935
servers:
@@ -9099,7 +9140,8 @@ paths:
90999140
- oauth:
91009141
- firewall:read_write
91019142
description: >
9102-
Delete a Firewall resource by its ID.
9143+
Delete a Firewall resource by its ID. This will also remove all rules from the
9144+
device it was attched to, returning it to its default state.
91039145

91049146

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

0 commit comments

Comments
 (0)