Skip to content

Commit bcd251e

Browse files
authored
Merge pull request #68 from jamesottinger/separatepoolsandranges
brk: separated /networking/ipv6 into /pools and /ranges
2 parents c41762e + 21c423c commit bcd251e

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

src/data/endpoints/networking.yaml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ endpoints:
8080
curl -H "Authorization: Bearer $TOKEN" \
8181
-X DELETE \
8282
https://$api_root/$version/networking/ips/97.107.143.37
83-
/networking/ipv6:
83+
/networking/ipv6/pools:
8484
group: IPv6
8585
authenticated: true
8686
description: >
@@ -95,9 +95,27 @@ endpoints:
9595
examples:
9696
curl: |
9797
curl -H "Authorization: Bearer $TOKEN" \
98-
https://$api_root/$version/networking/ipv6
98+
https://$api_root/$version/networking/ipv6/pools
9999
python: |
100-
my_ipv6s = client.networking.get_ipv6()
100+
my_ipv6s = client.networking.get_ipv6_pools()
101+
/networking/ipv6/ranges:
102+
group: IPv6
103+
authenticated: true
104+
description: >
105+
Manage IPv6 Ranges.
106+
methods:
107+
GET:
108+
response: ipv6pool
109+
paginationKey: ipv6s
110+
oauth: ips:view
111+
description: >
112+
Returns a list of IPv6 Ranges.
113+
examples:
114+
curl: |
115+
curl -H "Authorization: Bearer $TOKEN" \
116+
https://$api_root/$version/networking/ipv6/ranges
117+
python: |
118+
my_ipv6s = client.networking.get_ipv6_ranges()
101119
/networking/ipv6/$address:
102120
group: IPv6
103121
type: resource

0 commit comments

Comments
 (0)