Skip to content

Commit 57bd9f6

Browse files
authored
Merge pull request #811 from bbiggerr/ipv6-rdns-optional
Added skip_ipv6_rdns to IP Addresses List
2 parents e288610 + 0f7611e commit 57bd9f6

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

openapi.yaml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12147,15 +12147,31 @@ paths:
1214712147
tags:
1214812148
- Networking
1214912149
summary: IP Addresses List
12150-
description: >
12151-
Returns a paginated list of IP Addresses on your Account, excluding
12152-
private addresses.
12150+
description: |
12151+
Returns a paginated list of IP Addresses on your Account, excluding private addresses.
12152+
12153+
We recommend utilizing the "skip_ipv6_rdns" option to improve performance if your application frequently accesses this command and does not require IPv6 RDNS data.
1215312154
operationId: getIPs
1215412155
x-linode-cli-action: ips-list
1215512156
security:
1215612157
- personalAccessToken: []
1215712158
- oauth:
1215812159
- ips:read_only
12160+
requestBody:
12161+
description: Options to request additional data.
12162+
required: true
12163+
content:
12164+
application/json:
12165+
schema:
12166+
type: object
12167+
properties:
12168+
skip_ipv6_rdns:
12169+
type: boolean
12170+
default: false
12171+
description: |
12172+
When `true`, the "rdns" property for any "ipv6" type addresses always returns `null` regardless of whether RDNS data exists for the address.
12173+
12174+
The default value is `false`.
1215912175
responses:
1216012176
'200':
1216112177
description: A paginated list of IP Addresses.
@@ -12180,10 +12196,14 @@ paths:
1218012196
- lang: Shell
1218112197
source: >
1218212198
curl -H "Authorization: Bearer $TOKEN" \
12199+
-H "Content-Type: application/json" \
12200+
-X GET -d '{
12201+
"skip_ipv6_rdns": false
12202+
}' \
1218312203
https://api.linode.com/v4/networking/ips
1218412204
- lang: CLI
1218512205
source: >
12186-
linode-cli networking ips-list
12206+
linode-cli networking ips-list --skip_ipv6_rdns false
1218712207
post:
1218812208
x-linode-grant: read_write
1218912209
tags:

0 commit comments

Comments
 (0)