@@ -4,30 +4,32 @@ sort: 1
4
4
description : >
5
5
Networking endpoints provide a means of viewing networking objects.
6
6
endpoints :
7
- /networking/ipv4 :
8
- group : IPv4
7
+ /networking/ips :
8
+ group : IPs
9
9
authenticated : true
10
10
description : >
11
- View and manage IPv4 Addresses you own.
11
+ View and manage IP Addresses you own.
12
12
methods :
13
13
GET :
14
14
response : ipaddress
15
- paginationKey : ipv4
15
+ paginationKey : data
16
16
oauth : ips:view
17
17
description : >
18
- Returns a list of IPv4 Addresses.
18
+ Returns a list of IP Addresses, including v4 and slaac addresses .
19
19
examples :
20
20
curl : |
21
21
curl -H "Authorization: Bearer $TOKEN" \
22
- https://$api_root/$version/networking/ipv4
23
- python : |
24
- my_ipv4s = client.networking.get_ipv4()
22
+ https://$api_root/$version/networking/ips
25
23
POST :
26
24
money : true
27
25
oauth : ips:create
28
26
description : >
29
27
Create a new Public IPv4 Address.
30
28
params :
29
+ type :
30
+ type : String
31
+ description : >
32
+ The type of IP to allocate. Currently only "ipv4" is supported.
31
33
linode_id :
32
34
description : >
33
35
The Linode ID to assign this IP to.
@@ -36,38 +38,36 @@ endpoints:
36
38
curl : |
37
39
curl -H "Content-Type: application/json" \
38
40
-H "Authorization: Bearer $TOKEN" \
39
- -X POST -d '{"linode":123}' \
40
- https://$api_root/$version/networking/ipv4
41
- python : |
42
- # presently unsupported
43
- /networking/ipv4/$address :
44
- group : IPv4
41
+ -X POST -d '{"type":"ipv4","linode":123}' \
42
+ https://$api_root/$version/networking/ips
43
+ /networking/ips/$address :
44
+ group : IPs
45
45
type : resource
46
46
authenticated : true
47
47
description : >
48
- Manage a single IPv4 Address.
48
+ Manage a single IP Address.
49
49
methods :
50
50
GET :
51
51
response : ipaddress
52
52
oauth : ips:get
53
53
description : >
54
- Returns a single IPv4 Address.
54
+ Returns a single IP Address.
55
55
examples :
56
56
curl : |
57
57
curl -H "Authorization: Bearer $TOKEN" \
58
- https://$api_root/$version/networking/ipv4 /97.107.143.37
58
+ https://$api_root/$version/networking/ips /97.107.143.37
59
59
python : |
60
60
my_ipv4 = linode.IPAddress(client, '97.107.143.37')
61
61
PUT :
62
62
oauth : ips:modify
63
63
description : >
64
- Update RDNS on one IPv4 Address. Set RDNS to null to reset.
64
+ Update RDNS on one IP Address. Set RDNS to null to reset.
65
65
examples :
66
66
curl : |
67
67
curl -H "Content-Type: application/json" \
68
68
-H "Authorization: Bearer $TOKEN" \
69
69
-X PUT -d '{"rdns":"example.org"}' \
70
- https://$api_root/$version/networking/ipv4 /97.107.143.37
70
+ https://$api_root/$version/networking/ips /97.107.143.37
71
71
python : |
72
72
my_ipv4.rdns = 'example.org'
73
73
my_ipv4.save()
@@ -79,7 +79,7 @@ endpoints:
79
79
curl : |
80
80
curl -H "Authorization: Bearer $TOKEN" \
81
81
-X DELETE \
82
- https://$api_root/$version/networking/ipv4 /97.107.143.37
82
+ https://$api_root/$version/networking/ips /97.107.143.37
83
83
/networking/ipv6 :
84
84
group : IPv6
85
85
authenticated : true
0 commit comments