Skip to content

Commit 3da88e0

Browse files
committed
Update and fix x-filters for IP Addresses
1 parent 2407949 commit 3da88e0

File tree

1 file changed

+95
-12
lines changed

1 file changed

+95
-12
lines changed

openapi.yaml

Lines changed: 95 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.157.0
3+
version: 4.157.1
44

55
title: Linode API
66
description: |
@@ -12196,14 +12196,7 @@ paths:
1219612196
content:
1219712197
application/json:
1219812198
schema:
12199-
allOf:
12200-
- $ref: '#/components/schemas/PaginationEnvelope'
12201-
- type: object
12202-
properties:
12203-
data:
12204-
type: array
12205-
items:
12206-
$ref: '#/components/schemas/IPAddress'
12199+
$ref: '#/components/schemas/IPAddressesListResponse'
1220712200
default:
1220812201
$ref: '#/components/responses/ErrorResponse'
1220912202
x-code-samples:
@@ -21481,7 +21474,6 @@ components:
2148121474
The reverse DNS assigned to this address. For public IPv4 addresses,
2148221475
this will be set to a default value provided by Linode if not
2148321476
explicitly set.
21484-
x-linode-filterable: true
2148521477
x-linode-cli-display: 4
2148621478
example: test.example.org
2148721479
nullable: true
@@ -21502,7 +21494,6 @@ components:
2150221494
The Region this IP address resides in.
2150321495
example: us-east
2150421496
readOnly: true
21505-
x-linode-filterable: true
2150621497
x-linode-cli-display: 5
2150721498
IPAddressesAssignRequest:
2150821499
type: object
@@ -21547,6 +21538,99 @@ components:
2154721538
with at least one public address and no more than one
2154821539
private address once all assignments have been made.
2154921540
example: 123
21541+
IPAddressesListResponse:
21542+
description: The response data for the IP Addresses List (GET /networking/ips) command.
21543+
allOf:
21544+
- $ref: '#/components/schemas/PaginationEnvelope'
21545+
- type: object
21546+
properties:
21547+
data:
21548+
type: array
21549+
items:
21550+
type: object
21551+
description: >
21552+
An IP address that exists in Linode's system, either IPv4 or IPv6, specific to the response for the IP Addresses List command.
21553+
properties:
21554+
address:
21555+
type: string
21556+
format: ip
21557+
description: >
21558+
The IP address.
21559+
example: 192.0.2.141
21560+
readOnly: true
21561+
x-linode-filterable: true
21562+
x-linode-cli-display: 1
21563+
gateway:
21564+
type: string
21565+
nullable: true
21566+
format: ip
21567+
description: >
21568+
The default gateway for this address.
21569+
example: 192.0.2.1
21570+
readOnly: true
21571+
subnet_mask:
21572+
type: string
21573+
format: ip
21574+
description: >
21575+
The mask that separates host bits from network bits for this address.
21576+
example: 255.255.255.0
21577+
readOnly: true
21578+
prefix:
21579+
type: integer
21580+
description: >
21581+
The number of bits set in the subnet mask.
21582+
example: 24
21583+
x-linode-filterable: true
21584+
readOnly: true
21585+
type:
21586+
type: string
21587+
enum:
21588+
- ipv4
21589+
- ipv6
21590+
- ipv6/pool
21591+
- ipv6/range
21592+
description: >
21593+
The type of address this is.
21594+
example: ipv4
21595+
readOnly: true
21596+
x-linode-filterable: true
21597+
x-linode-cli-display: 2
21598+
public:
21599+
type: boolean
21600+
description: >
21601+
Whether this is a public or private IP address.
21602+
example: true
21603+
readOnly: true
21604+
x-linode-cli-display: 3
21605+
rdns:
21606+
type: string
21607+
description: >
21608+
The reverse DNS assigned to this address. For public IPv4 addresses,
21609+
this will be set to a default value provided by Linode if not
21610+
explicitly set.
21611+
x-linode-filterable: true
21612+
x-linode-cli-display: 4
21613+
example: test.example.org
21614+
nullable: true
21615+
linode_id:
21616+
type: integer
21617+
description: >
21618+
The ID of the Linode this address currently belongs to. For IPv4
21619+
addresses, this is by default the Linode that this address was
21620+
assigned to on creation, and these addresses my be moved using the
21621+
[/networking/ipv4/assign](/docs/api/networking/#ips-to-linodes-assign)
21622+
endpoint. For SLAAC and link-local addresses, this value may not be changed.
21623+
example: 123
21624+
readOnly: true
21625+
x-linode-cli-display: 6
21626+
region:
21627+
type: string
21628+
description: >
21629+
The Region this IP address resides in.
21630+
example: us-east
21631+
readOnly: true
21632+
x-linode-filterable: true
21633+
x-linode-cli-display: 5
2155021634
IPAddressesShareRequest:
2155121635
type: object
2155221636
description: A request object IP Addresses Share (POST /networking/ips/share)
@@ -21639,7 +21723,6 @@ components:
2163921723
The Region this address resides in.
2164021724
example: us-east
2164121725
readOnly: true
21642-
x-linode-filterable: true
2164321726
x-linode-cli-display: 5
2164421727
IPAddressV6LinkLocal:
2164521728
type: object

0 commit comments

Comments
 (0)