linodeapi 0.2.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -5
- data/circle.yml +12 -0
- data/dev/spec.yml +10 -6
- data/lib/linodeapi/raw.rb +1 -1
- data/linodeapi.gemspec +5 -4
- data/spec/fixtures/cassettes/basic_auth.yml +448 -0
- data/spec/fixtures/cassettes/basic_auth_fail.yml +42 -0
- data/spec/fixtures/cassettes/kernel_list.yml +51 -0
- data/spec/fixtures/cassettes/linode_list.yml +42 -0
- data/spec/fixtures/cassettes/no_creds.yml +370 -0
- data/spec/fixtures/cassettes/test_echo.yml +42 -0
- data/spec/linodeapi/raw_spec.rb +72 -0
- data/spec/linodeapi_spec.rb +11 -2
- data/spec/spec_helper.rb +16 -6
- metadata +41 -12
- data/.travis.yml +0 -17
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.linode.com/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: username=bad&password=bad&api_key=&api_action=user.getapikey
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Thu, 29 Oct 2015 02:03:01 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=UTF-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Powered-By:
|
32
|
+
- Tiger Blood
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Strict-Transport-Security:
|
36
|
+
- max-age=31536000
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"ERRORARRAY":[{"ERRORCODE":4,"ERRORMESSAGE":"Authentication failed"}],"DATA":{},"ACTION":"user.getapikey"}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Thu, 29 Oct 2015 02:03:02 GMT
|
42
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.linode.com/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: isxen=true&api_key=<APIKEY>&api_action=avail.kernels
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Thu, 29 Oct 2015 02:24:10 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=UTF-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Powered-By:
|
32
|
+
- Tiger Blood
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Strict-Transport-Security:
|
36
|
+
- max-age=31536000
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"ERRORARRAY":[],"DATA":[{"ISKVM":1,"LABEL":"Latest 32 bit (4.1.5-x86-linode80)","ISXEN":1,"ISPVOPS":1,"KERNELID":137},{"ISKVM":0,"LABEL":"3.13.7-x86-linode57","ISXEN":1,"ISPVOPS":1,"KERNELID":178},{"ISKVM":0,"LABEL":"3.14.1-x86-linode58","ISXEN":1,"ISPVOPS":1,"KERNELID":180},{"ISKVM":0,"LABEL":"3.14.4-x86-linode59","ISXEN":1,"ISPVOPS":1,"KERNELID":182},{"ISKVM":0,"LABEL":"3.14.5-x86-linode60","ISXEN":1,"ISPVOPS":1,"KERNELID":184},{"ISKVM":0,"LABEL":"3.14.5-x86-linode61","ISXEN":1,"ISPVOPS":1,"KERNELID":186},{"ISKVM":0,"LABEL":"3.15.2-x86-linode62","ISXEN":1,"ISPVOPS":1,"KERNELID":188},{"ISKVM":0,"LABEL":"3.15.3-x86-linode63","ISXEN":1,"ISPVOPS":1,"KERNELID":190},{"ISKVM":0,"LABEL":"3.15.4-x86-linode64","ISXEN":1,"ISPVOPS":1,"KERNELID":192},{"ISKVM":0,"LABEL":"3.16.5-x86-linode65","ISXEN":1,"ISPVOPS":1,"KERNELID":194},{"ISKVM":0,"LABEL":"3.16.7-x86-linode67","ISXEN":1,"ISPVOPS":1,"KERNELID":198},{"ISKVM":0,"LABEL":"3.18.1-x86-linode68","ISXEN":1,"ISPVOPS":1,"KERNELID":200},{"ISKVM":0,"LABEL":"3.18.3-x86-linode69","ISXEN":1,"ISPVOPS":1,"KERNELID":203},{"ISKVM":0,"LABEL":"3.18.5-x86-linode70","ISXEN":1,"ISPVOPS":1,"KERNELID":204},{"ISKVM":0,"LABEL":"3.19.1-x86-linode71","ISXEN":1,"ISPVOPS":1,"KERNELID":206},{"ISKVM":0,"LABEL":"4.0-x86-linode72","ISXEN":1,"ISPVOPS":1,"KERNELID":208},{"ISKVM":0,"LABEL":"4.0.1-x86-linode73","ISXEN":1,"ISPVOPS":1,"KERNELID":211},{"ISKVM":0,"LABEL":"4.0.4-x86-linode75","ISXEN":1,"ISPVOPS":1,"KERNELID":217},{"ISKVM":0,"LABEL":"4.0.5-x86-linode76","ISXEN":1,"ISPVOPS":1,"KERNELID":219},{"ISKVM":1,"LABEL":"4.0.5-x86-linode77","ISXEN":1,"ISPVOPS":1,"KERNELID":221},{"ISKVM":1,"LABEL":"4.1.0-x86-linode78","ISXEN":1,"ISPVOPS":1,"KERNELID":222},{"ISKVM":1,"LABEL":"4.1.5-x86-linode79","ISXEN":1,"ISPVOPS":1,"KERNELID":224},{"ISKVM":1,"LABEL":"4.1.5-x86-linode80","ISXEN":1,"ISPVOPS":1,"KERNELID":227},{"ISKVM":1,"LABEL":"Latest
|
40
|
+
64 bit (4.1.5-x86_64-linode61)","ISXEN":1,"ISPVOPS":1,"KERNELID":138},{"ISKVM":0,"LABEL":"3.13.7-x86_64-linode38","ISXEN":1,"ISPVOPS":1,"KERNELID":177},{"ISKVM":0,"LABEL":"3.14.1-x86_64-linode39","ISXEN":1,"ISPVOPS":1,"KERNELID":179},{"ISKVM":0,"LABEL":"3.14.4-x86_64-linode40","ISXEN":1,"ISPVOPS":1,"KERNELID":181},{"ISKVM":0,"LABEL":"3.14.5-x86_64-linode41","ISXEN":1,"ISPVOPS":1,"KERNELID":183},{"ISKVM":0,"LABEL":"3.14.5-x86_64-linode42","ISXEN":1,"ISPVOPS":1,"KERNELID":185},{"ISKVM":0,"LABEL":"3.15.2-x86_64-linode43","ISXEN":1,"ISPVOPS":1,"KERNELID":187},{"ISKVM":0,"LABEL":"3.15.3-x86_64-linode44","ISXEN":1,"ISPVOPS":1,"KERNELID":189},{"ISKVM":0,"LABEL":"3.15.4-x86_64-linode45","ISXEN":1,"ISPVOPS":1,"KERNELID":191},{"ISKVM":0,"LABEL":"3.16.5-x86_64-linode46","ISXEN":1,"ISPVOPS":1,"KERNELID":193},{"ISKVM":0,"LABEL":"3.16.7-x86_64-linode49","ISXEN":1,"ISPVOPS":1,"KERNELID":199},{"ISKVM":0,"LABEL":"3.18.1-x86_64-linode50","ISXEN":1,"ISPVOPS":1,"KERNELID":201},{"ISKVM":0,"LABEL":"3.18.3-x86_64-linode51","ISXEN":1,"ISPVOPS":1,"KERNELID":202},{"ISKVM":0,"LABEL":"3.18.5-x86_64-linode52","ISXEN":1,"ISPVOPS":1,"KERNELID":205},{"ISKVM":0,"LABEL":"3.19.1-x86_64-linode53","ISXEN":1,"ISPVOPS":1,"KERNELID":207},{"ISKVM":0,"LABEL":"4.0-x86_64-linode54","ISXEN":1,"ISPVOPS":1,"KERNELID":209},{"ISKVM":0,"LABEL":"4.0.1-x86_64-linode55","ISXEN":1,"ISPVOPS":1,"KERNELID":212},{"ISKVM":1,"LABEL":"4.0.4-x86_64-linode57","ISXEN":1,"ISPVOPS":1,"KERNELID":218},{"ISKVM":1,"LABEL":"4.0.5-x86_64-linode58","ISXEN":1,"ISPVOPS":1,"KERNELID":220},{"ISKVM":1,"LABEL":"4.1.0-x86_64-linode59
|
41
|
+
","ISXEN":1,"ISPVOPS":1,"KERNELID":223},{"ISKVM":1,"LABEL":"4.1.5-x86_64-linode60
|
42
|
+
","ISXEN":1,"ISPVOPS":1,"KERNELID":225},{"ISKVM":1,"LABEL":"4.1.5-x86_64-linode61","ISXEN":1,"ISPVOPS":1,"KERNELID":226},{"ISKVM":0,"LABEL":"pv-grub-x86_32","ISXEN":1,"ISPVOPS":0,"KERNELID":92},{"ISKVM":0,"LABEL":"pv-grub-x86_64","ISXEN":1,"ISPVOPS":0,"KERNELID":95},{"ISKVM":1,"LABEL":"Recovery
|
43
|
+
- Finnix (kernel)","ISXEN":1,"ISPVOPS":0,"KERNELID":61},{"ISKVM":0,"LABEL":"Latest
|
44
|
+
2.6 (2.6.39.1-linode34)","ISXEN":1,"ISPVOPS":1,"KERNELID":110},{"ISKVM":0,"LABEL":"Latest
|
45
|
+
Legacy (2.6.18.8-linode22)","ISXEN":1,"ISPVOPS":0,"KERNELID":60},{"ISKVM":0,"LABEL":"2.6.18.8-domU-linode7","ISXEN":1,"ISPVOPS":0,"KERNELID":81},{"ISKVM":0,"LABEL":"2.6.18.8-linode10","ISXEN":1,"ISPVOPS":0,"KERNELID":89},{"ISKVM":0,"LABEL":"2.6.18.8-linode16","ISXEN":1,"ISPVOPS":0,"KERNELID":98},{"ISKVM":0,"LABEL":"2.6.18.8-linode19","ISXEN":1,"ISPVOPS":0,"KERNELID":103},{"ISKVM":0,"LABEL":"2.6.18.8-linode22","ISXEN":1,"ISPVOPS":0,"KERNELID":113},{"ISKVM":0,"LABEL":"2.6.24.4-linode8","ISXEN":1,"ISPVOPS":1,"KERNELID":84},{"ISKVM":0,"LABEL":"2.6.25-linode9","ISXEN":1,"ISPVOPS":1,"KERNELID":88},{"ISKVM":0,"LABEL":"2.6.25.10-linode12","ISXEN":1,"ISPVOPS":1,"KERNELID":90},{"ISKVM":0,"LABEL":"2.6.26-linode13","ISXEN":1,"ISPVOPS":1,"KERNELID":91},{"ISKVM":0,"LABEL":"2.6.27.4-linode14","ISXEN":1,"ISPVOPS":1,"KERNELID":93},{"ISKVM":0,"LABEL":"2.6.28-linode15","ISXEN":1,"ISPVOPS":1,"KERNELID":96},{"ISKVM":0,"LABEL":"2.6.28.3-linode17","ISXEN":1,"ISPVOPS":1,"KERNELID":99},{"ISKVM":0,"LABEL":"2.6.29-linode18","ISXEN":1,"ISPVOPS":1,"KERNELID":101},{"ISKVM":0,"LABEL":"2.6.30.5-linode20","ISXEN":1,"ISPVOPS":1,"KERNELID":105},{"ISKVM":0,"LABEL":"2.6.31.5-linode21","ISXEN":1,"ISPVOPS":1,"KERNELID":109},{"ISKVM":0,"LABEL":"2.6.32-linode23","ISXEN":1,"ISPVOPS":1,"KERNELID":115},{"ISKVM":0,"LABEL":"2.6.32.12-linode25","ISXEN":1,"ISPVOPS":1,"KERNELID":119},{"ISKVM":0,"LABEL":"2.6.32.16-linode28","ISXEN":1,"ISPVOPS":1,"KERNELID":123},{"ISKVM":0,"LABEL":"2.6.33-linode24","ISXEN":1,"ISPVOPS":1,"KERNELID":117},{"ISKVM":0,"LABEL":"2.6.34-linode27","ISXEN":1,"ISPVOPS":1,"KERNELID":120},{"ISKVM":0,"LABEL":"2.6.35.7-linode29","ISXEN":1,"ISPVOPS":1,"KERNELID":126},{"ISKVM":0,"LABEL":"2.6.37-linode30","ISXEN":1,"ISPVOPS":1,"KERNELID":127},{"ISKVM":0,"LABEL":"2.6.38-linode31","ISXEN":1,"ISPVOPS":1,"KERNELID":128},{"ISKVM":0,"LABEL":"2.6.38.3-linode32","ISXEN":1,"ISPVOPS":1,"KERNELID":130},{"ISKVM":0,"LABEL":"2.6.39-linode33","ISXEN":1,"ISPVOPS":1,"KERNELID":131},{"ISKVM":0,"LABEL":"2.6.39.1-linode34","ISXEN":1,"ISPVOPS":1,"KERNELID":134},{"ISKVM":0,"LABEL":"3.0.0-linode35","ISXEN":1,"ISPVOPS":1,"KERNELID":135},{"ISKVM":0,"LABEL":"3.0.17-linode41","ISXEN":1,"ISPVOPS":1,"KERNELID":147},{"ISKVM":0,"LABEL":"3.0.18-linode43","ISXEN":1,"ISPVOPS":1,"KERNELID":149},{"ISKVM":0,"LABEL":"3.0.4-linode36","ISXEN":1,"ISPVOPS":1,"KERNELID":139},{"ISKVM":0,"LABEL":"3.0.4-linode37","ISXEN":1,"ISPVOPS":1,"KERNELID":141},{"ISKVM":0,"LABEL":"3.0.4-linode38","ISXEN":1,"ISPVOPS":1,"KERNELID":142},{"ISKVM":0,"LABEL":"3.1.0-linode39","ISXEN":1,"ISPVOPS":1,"KERNELID":143},{"ISKVM":0,"LABEL":"3.1.10-linode42","ISXEN":1,"ISPVOPS":1,"KERNELID":148},{"ISKVM":0,"LABEL":"3.10.3-x86-linode53","ISXEN":1,"ISPVOPS":1,"KERNELID":169},{"ISKVM":0,"LABEL":"3.11.6-x86-linode54","ISXEN":1,"ISPVOPS":1,"KERNELID":171},{"ISKVM":0,"LABEL":"3.12.6-x86-linode55","ISXEN":1,"ISPVOPS":1,"KERNELID":174},{"ISKVM":0,"LABEL":"3.12.9-x86-linode56","ISXEN":1,"ISPVOPS":1,"KERNELID":176},{"ISKVM":0,"LABEL":"3.2.1-linode40","ISXEN":1,"ISPVOPS":1,"KERNELID":145},{"ISKVM":0,"LABEL":"3.4.2-linode44","ISXEN":1,"ISPVOPS":1,"KERNELID":152},{"ISKVM":0,"LABEL":"3.5.2-linode45","ISXEN":1,"ISPVOPS":1,"KERNELID":153},{"ISKVM":0,"LABEL":"3.5.3-linode46","ISXEN":1,"ISPVOPS":1,"KERNELID":156},{"ISKVM":0,"LABEL":"3.6.5-linode47","ISXEN":1,"ISPVOPS":1,"KERNELID":157},{"ISKVM":0,"LABEL":"3.7.10-linode49","ISXEN":1,"ISPVOPS":1,"KERNELID":161},{"ISKVM":0,"LABEL":"3.7.5-linode48","ISXEN":1,"ISPVOPS":1,"KERNELID":159},{"ISKVM":0,"LABEL":"3.8.4-linode50","ISXEN":1,"ISPVOPS":1,"KERNELID":163},{"ISKVM":0,"LABEL":"3.9.2-x86-linode51","ISXEN":1,"ISPVOPS":1,"KERNELID":166},{"ISKVM":0,"LABEL":"3.9.3-x86-linode52","ISXEN":1,"ISPVOPS":1,"KERNELID":167},{"ISKVM":0,"LABEL":"4.0.2-x86-linode74","ISXEN":1,"ISPVOPS":1,"KERNELID":214},{"ISKVM":0,"LABEL":"Latest
|
46
|
+
2.6 (2.6.39.1-x86_64-linode19)","ISXEN":1,"ISPVOPS":1,"KERNELID":111},{"ISKVM":0,"LABEL":"Latest
|
47
|
+
Legacy (2.6.18.8-x86_64-linode10)","ISXEN":1,"ISPVOPS":0,"KERNELID":107},{"ISKVM":0,"LABEL":"2.6.16.38-x86_64-linode2","ISXEN":1,"ISPVOPS":0,"KERNELID":85},{"ISKVM":0,"LABEL":"2.6.18.8-x86_64-linode1","ISXEN":1,"ISPVOPS":0,"KERNELID":86},{"ISKVM":0,"LABEL":"2.6.18.8-x86_64-linode10","ISXEN":1,"ISPVOPS":0,"KERNELID":114},{"ISKVM":0,"LABEL":"2.6.18.8-x86_64-linode7","ISXEN":1,"ISPVOPS":0,"KERNELID":104},{"ISKVM":0,"LABEL":"2.6.27.4-x86_64-linode3","ISXEN":1,"ISPVOPS":1,"KERNELID":94},{"ISKVM":0,"LABEL":"2.6.28-x86_64-linode4","ISXEN":1,"ISPVOPS":1,"KERNELID":97},{"ISKVM":0,"LABEL":"2.6.28.3-x86_64-linode5","ISXEN":1,"ISPVOPS":1,"KERNELID":100},{"ISKVM":0,"LABEL":"2.6.29-x86_64-linode6","ISXEN":1,"ISPVOPS":1,"KERNELID":102},{"ISKVM":0,"LABEL":"2.6.30.5-x86_64-linode8","ISXEN":1,"ISPVOPS":1,"KERNELID":106},{"ISKVM":0,"LABEL":"2.6.31.5-x86_64-linode9","ISXEN":1,"ISPVOPS":1,"KERNELID":112},{"ISKVM":0,"LABEL":"2.6.32-x86_64-linode11","ISXEN":1,"ISPVOPS":1,"KERNELID":116},{"ISKVM":0,"LABEL":"2.6.32.12-x86_64-linode12","ISXEN":1,"ISPVOPS":1,"KERNELID":118},{"ISKVM":0,"LABEL":"2.6.32.12-x86_64-linode15","ISXEN":1,"ISPVOPS":1,"KERNELID":124},{"ISKVM":0,"LABEL":"2.6.34-x86_64-linode13","ISXEN":1,"ISPVOPS":1,"KERNELID":121},{"ISKVM":0,"LABEL":"2.6.34-x86_64-linode14","ISXEN":1,"ISPVOPS":1,"KERNELID":122},{"ISKVM":0,"LABEL":"2.6.35.4-x86_64-linode16","ISXEN":1,"ISPVOPS":1,"KERNELID":125},{"ISKVM":0,"LABEL":"2.6.38-x86_64-linode17","ISXEN":1,"ISPVOPS":1,"KERNELID":129},{"ISKVM":0,"LABEL":"2.6.39-x86_64-linode18","ISXEN":1,"ISPVOPS":1,"KERNELID":132},{"ISKVM":0,"LABEL":"2.6.39.1-x86_64-linode19","ISXEN":1,"ISPVOPS":1,"KERNELID":133},{"ISKVM":0,"LABEL":"3.0.0-x86_64-linode20","ISXEN":1,"ISPVOPS":1,"KERNELID":136},{"ISKVM":0,"LABEL":"3.0.18-x86_64-linode24
|
48
|
+
","ISXEN":1,"ISPVOPS":1,"KERNELID":150},{"ISKVM":0,"LABEL":"3.0.4-x86_64-linode21","ISXEN":1,"ISPVOPS":1,"KERNELID":140},{"ISKVM":0,"LABEL":"3.1.0-x86_64-linode22","ISXEN":1,"ISPVOPS":1,"KERNELID":144},{"ISKVM":0,"LABEL":"3.10.3-x86_64-linode34","ISXEN":1,"ISPVOPS":1,"KERNELID":170},{"ISKVM":0,"LABEL":"3.11.6-x86_64-linode35","ISXEN":1,"ISPVOPS":1,"KERNELID":172},{"ISKVM":0,"LABEL":"3.12.6-x86_64-linode36","ISXEN":1,"ISPVOPS":1,"KERNELID":173},{"ISKVM":0,"LABEL":"3.12.9-x86_64-linode37","ISXEN":1,"ISPVOPS":1,"KERNELID":175},{"ISKVM":0,"LABEL":"3.2.1-x86_64-linode23","ISXEN":1,"ISPVOPS":1,"KERNELID":146},{"ISKVM":0,"LABEL":"3.4.2-x86_64-linode25","ISXEN":1,"ISPVOPS":1,"KERNELID":151},{"ISKVM":0,"LABEL":"3.5.2-x86_64-linode26","ISXEN":1,"ISPVOPS":1,"KERNELID":154},{"ISKVM":0,"LABEL":"3.5.3-x86_64-linode27","ISXEN":1,"ISPVOPS":1,"KERNELID":155},{"ISKVM":0,"LABEL":"3.6.5-x86_64-linode28","ISXEN":1,"ISPVOPS":1,"KERNELID":158},{"ISKVM":0,"LABEL":"3.7.10-x86_64-linode30","ISXEN":1,"ISPVOPS":1,"KERNELID":162},{"ISKVM":0,"LABEL":"3.7.5-x86_64-linode29","ISXEN":1,"ISPVOPS":1,"KERNELID":160},{"ISKVM":0,"LABEL":"3.8.4-x86_64-linode31","ISXEN":1,"ISPVOPS":1,"KERNELID":164},{"ISKVM":0,"LABEL":"3.9.2-x86_64-linode32","ISXEN":1,"ISPVOPS":1,"KERNELID":165},{"ISKVM":0,"LABEL":"3.9.3-x86_64-linode33","ISXEN":1,"ISPVOPS":1,"KERNELID":168},{"ISKVM":1,"LABEL":"4.0.2-x86_64-linode56","ISXEN":1,"ISPVOPS":1,"KERNELID":215}],"ACTION":"avail.kernels"}'
|
49
|
+
http_version:
|
50
|
+
recorded_at: Thu, 29 Oct 2015 02:24:11 GMT
|
51
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.linode.com/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: api_key=<APIKEY>&api_action=linode.list
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Thu, 29 Oct 2015 02:01:47 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=UTF-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Powered-By:
|
32
|
+
- Tiger Blood
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Strict-Transport-Security:
|
36
|
+
- max-age=31536000
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"ERRORARRAY":[],"DATA":[],"ACTION":"linode.list"}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Thu, 29 Oct 2015 02:01:47 GMT
|
42
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,370 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.linode.com/?api_action=api.spec
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Thu, 29 Oct 2015 02:03:00 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=UTF-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Powered-By:
|
32
|
+
- Tiger Blood
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Strict-Transport-Security:
|
36
|
+
- max-age=31536000
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"ERRORARRAY":[],"DATA":{"VERSION":3.3,"METHODS":{"linode.list":{"DESCRIPTION":"Returns
|
40
|
+
a list of all Linodes user has access or delete to, including some properties. Status
|
41
|
+
values are -1: Being Created, 0: Brand New, 1: Running, and 2: Powered Off.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"Limits
|
42
|
+
the list to the specified LinodeID","TYPE":"numeric","REQUIRED":false}},"THROWS":""},"nodebalancer.node.update":{"DESCRIPTION":"Updates
|
43
|
+
a Node''s properties","PARAMETERS":{"Label":{"NAME":"Label","DESCRIPTION":"This
|
44
|
+
backend Node''s label","TYPE":"string","REQUIRED":false},"NodeID":{"NAME":"NodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"Mode":{"NAME":"Mode","DESCRIPTION":"The
|
45
|
+
connections mode for this node. One of ''accept'', ''reject'', or ''drain''","TYPE":"string","REQUIRED":false},"Weight":{"NAME":"Weight","DESCRIPTION":"Load
|
46
|
+
balancing weight, 1-255. Higher means more connections.","TYPE":"numeric","REQUIRED":false},"Address":{"NAME":"Address","DESCRIPTION":"The
|
47
|
+
address:port combination used to communicate with this Node","TYPE":"string","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"},"domain.update":{"DESCRIPTION":"Update
|
48
|
+
a domain record.","PARAMETERS":{"DomainID":{"NAME":"DomainID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"Description":{"NAME":"Description","DESCRIPTION":"Currently
|
49
|
+
undisplayed.","TYPE":"string","REQUIRED":false},"Retry_sec":{"NAME":"Retry_sec","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"Expire_sec":{"NAME":"Expire_sec","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"status":{"NAME":"status","DESCRIPTION":"0,
|
50
|
+
1, or 2 (disabled, active, edit mode)","TYPE":"numeric","REQUIRED":false},"Refresh_sec":{"NAME":"Refresh_sec","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"lpm_displayGroup":{"NAME":"lpm_displayGroup","DESCRIPTION":"Display
|
51
|
+
group in the Domain list inside the Linode DNS Manager","TYPE":"string","REQUIRED":false},"master_ips":{"NAME":"master_ips","DESCRIPTION":"When
|
52
|
+
type=slave, the zone''s master DNS servers list, semicolon separated ","TYPE":"string","REQUIRED":false},"SOA_Email":{"NAME":"SOA_Email","DESCRIPTION":"Required
|
53
|
+
when type=master","TYPE":"string","REQUIRED":false},"TTL_sec":{"NAME":"TTL_sec","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"Domain":{"NAME":"Domain","DESCRIPTION":"The
|
54
|
+
zone''s name","TYPE":"string","REQUIRED":false},"Type":{"NAME":"Type","DESCRIPTION":"master
|
55
|
+
or slave","TYPE":"string","REQUIRED":false},"axfr_ips":{"NAME":"axfr_ips","DESCRIPTION":"IP
|
56
|
+
addresses allowed to AXFR the entire zone, semicolon separated","TYPE":"string","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"},"avail.datacenters":{"DESCRIPTION":"Returns
|
57
|
+
a list of Linode data center facilities.","PARAMETERS":{},"THROWS":""},"avail.linodeplans":{"DESCRIPTION":"Returns
|
58
|
+
a structure of Linode PlanIDs containing the Plan label and the availability
|
59
|
+
in each Datacenter.","PARAMETERS":{"PlanID":{"NAME":"PlanID","DESCRIPTION":"Limits
|
60
|
+
the list to the specified PlanID","TYPE":"numeric","REQUIRED":false}},"THROWS":""},"linode.disk.delete":{"DESCRIPTION":"","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"DiskID":{"NAME":"DiskID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"image.update":{"DESCRIPTION":"Update
|
61
|
+
an Image record.","PARAMETERS":{"label":{"NAME":"label","DESCRIPTION":"The
|
62
|
+
label of the Image.","TYPE":"string","REQUIRED":false},"description":{"NAME":"description","DESCRIPTION":"An
|
63
|
+
optional description of the Image.","TYPE":"string","REQUIRED":false},"ImageID":{"NAME":"ImageID","DESCRIPTION":"The
|
64
|
+
ID of the Image to modify.","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"linode.webconsoletoken":{"DESCRIPTION":"Generates
|
65
|
+
a console token starting a web console LISH session for the requesting IP","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"nodebalancer.create":{"DESCRIPTION":"","PARAMETERS":{"Label":{"NAME":"Label","DESCRIPTION":"This
|
66
|
+
NodeBalancer''s label","default":"deflabel9000cakemix","TYPE":"string","REQUIRED":false},"ClientConnThrottle":{"NAME":"ClientConnThrottle","DESCRIPTION":"To
|
67
|
+
help mitigate abuse, throttle connections per second, per client IP. 0 to
|
68
|
+
disable. Max of 20.","default":0,"TYPE":"numeric","REQUIRED":false},"DatacenterID":{"NAME":"DatacenterID","DESCRIPTION":"The
|
69
|
+
DatacenterID from avail.datacenters() where you wish to place this new NodeBalancer","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOACCESS,CCFAILED,VALIDATION"},"linode.ip.addpublic":{"DESCRIPTION":"Assigns
|
70
|
+
a Public IP to a Linode. Returns the IPAddressID and IPAddress that was added.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"The
|
71
|
+
LinodeID of the Linode that will be assigned an additional public IP address","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"domain.create":{"DESCRIPTION":"Create
|
72
|
+
a domain record.","PARAMETERS":{"SOA_Email":{"NAME":"SOA_Email","DESCRIPTION":"Required
|
73
|
+
when type=master","default":"","TYPE":"string","REQUIRED":false},"Description":{"NAME":"Description","DESCRIPTION":"Currently
|
74
|
+
undisplayed.","default":"","TYPE":"string","REQUIRED":false},"TTL_sec":{"NAME":"TTL_sec","DESCRIPTION":"","default":0,"TYPE":"numeric","REQUIRED":false},"Retry_sec":{"NAME":"Retry_sec","DESCRIPTION":"","default":0,"TYPE":"numeric","REQUIRED":false},"Expire_sec":{"NAME":"Expire_sec","DESCRIPTION":"","default":0,"TYPE":"numeric","REQUIRED":false},"Domain":{"NAME":"Domain","DESCRIPTION":"The
|
75
|
+
zone''s name","TYPE":"string","REQUIRED":true},"status":{"NAME":"status","DESCRIPTION":"0,
|
76
|
+
1, or 2 (disabled, active, edit mode)","default":1,"TYPE":"numeric","REQUIRED":false},"Type":{"NAME":"Type","DESCRIPTION":"master
|
77
|
+
or slave","TYPE":"string","REQUIRED":true},"Refresh_sec":{"NAME":"Refresh_sec","DESCRIPTION":"","default":0,"TYPE":"numeric","REQUIRED":false},"lpm_displayGroup":{"NAME":"lpm_displayGroup","DESCRIPTION":"Display
|
78
|
+
group in the Domain list inside the Linode DNS Manager","default":"","TYPE":"string","REQUIRED":false},"master_ips":{"NAME":"master_ips","DESCRIPTION":"When
|
79
|
+
type=slave, the zone''s master DNS servers list, semicolon separated ","default":"","TYPE":"string","REQUIRED":false},"axfr_ips":{"NAME":"axfr_ips","DESCRIPTION":"IP
|
80
|
+
addresses allowed to AXFR the entire zone, semicolon separated","default":"","TYPE":"string","REQUIRED":false}},"THROWS":"NOACCESS,VALIDATION"},"account.estimateinvoice":{"DESCRIPTION":"Estimates
|
81
|
+
the invoice for adding a new Linode or NodeBalancer as well as resizing a
|
82
|
+
Linode. This returns two fields: PRICE which is the estimated cost of the
|
83
|
+
invoice, and INVOICE_TO which is the date invoice would be though with timezone
|
84
|
+
set to America\/New_York","PARAMETERS":{"PaymentTerm":{"NAME":"PaymentTerm","DESCRIPTION":"Subscription
|
85
|
+
term in months. One of: 1, 12, or 24. This is required for modes ''linode_new''
|
86
|
+
and ''nodebalancer_new''.","TYPE":"numeric","REQUIRED":false},"mode":{"NAME":"mode","DESCRIPTION":"This
|
87
|
+
is one of the following options: ''linode_new'', ''linode_resize'', or ''nodebalancer_new''.","TYPE":"string","REQUIRED":true},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"This
|
88
|
+
is the LinodeID you want to resize and is required for mode ''linode_resize''.","TYPE":"numeric","REQUIRED":false},"PlanID":{"NAME":"PlanID","DESCRIPTION":"The
|
89
|
+
desired PlanID available from avail.LinodePlans(). This is required for modes
|
90
|
+
''linode_new'' and ''linode_resize''.","TYPE":"numeric","REQUIRED":false}},"THROWS":"VALIDATION"},"account.updatecard":{"DESCRIPTION":"","PARAMETERS":{"ccExpMonth":{"NAME":"ccExpMonth","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ccExpYear":{"NAME":"ccExpYear","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ccNumber":{"NAME":"ccNumber","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":""},"stackscript.create":{"DESCRIPTION":"Create
|
91
|
+
a StackScript.","PARAMETERS":{"Label":{"NAME":"Label","DESCRIPTION":"The Label
|
92
|
+
for this StackScript","TYPE":"string","REQUIRED":true},"rev_note":{"NAME":"rev_note","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"script":{"NAME":"script","DESCRIPTION":"The
|
93
|
+
actual script","TYPE":"string","REQUIRED":true},"isPublic":{"NAME":"isPublic","DESCRIPTION":"Whether
|
94
|
+
this StackScript is published in the Library, for everyone to use","default":false,"TYPE":"boolean","REQUIRED":false},"Description":{"NAME":"Description","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"DistributionIDList":{"NAME":"DistributionIDList","DESCRIPTION":"Comma
|
95
|
+
delimited list of DistributionIDs that this script works on ","TYPE":"string","REQUIRED":true}},"THROWS":"NOACCESS,VALIDATION"},"linode.disk.update":{"DESCRIPTION":"","PARAMETERS":{"Label":{"NAME":"Label","DESCRIPTION":"The
|
96
|
+
display label for this Disk","TYPE":"string","REQUIRED":false},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"isReadOnly":{"NAME":"isReadOnly","DESCRIPTION":"Enable
|
97
|
+
forced read-only for this Disk","TYPE":"boolean","REQUIRED":false},"DiskID":{"NAME":"DiskID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"domain.resource.delete":{"DESCRIPTION":"","PARAMETERS":{"DomainID":{"NAME":"DomainID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ResourceID":{"NAME":"ResourceID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND"},"linode.disk.imagize":{"DESCRIPTION":"Creates
|
98
|
+
a gold-master image for future deployments","PARAMETERS":{"Label":{"NAME":"Label","DESCRIPTION":"Sets
|
99
|
+
the name of the image shown in the base image list, defaults to the source
|
100
|
+
image label","TYPE":"string","REQUIRED":false},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"Specifies
|
101
|
+
the source Linode to create the image from","TYPE":"numeric","REQUIRED":true},"Description":{"NAME":"Description","DESCRIPTION":"An
|
102
|
+
optional description of the created image","TYPE":"string","REQUIRED":false},"DiskID":{"NAME":"DiskID","DESCRIPTION":"Specifies
|
103
|
+
the source Disk to create the image from","TYPE":"numeric","REQUIRED":true}},"THROWS":""},"professionalservices.scope.create":{"DESCRIPTION":"Creates
|
104
|
+
a new Professional Services scope submission","PARAMETERS":{"linode_plan":{"NAME":"linode_plan","DESCRIPTION":"Which
|
105
|
+
Linode plans would you like to deploy?","default":"","TYPE":"string","REQUIRED":false},"customer_name":{"NAME":"customer_name","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"web_server":{"NAME":"web_server","DESCRIPTION":"These
|
106
|
+
provide network protocol handling for hosting websites.","default":"","TYPE":"string","REQUIRED":false},"mail_transfer":{"NAME":"mail_transfer","DESCRIPTION":"Mail
|
107
|
+
transfer agents facilitate message transfer between servers","default":"","TYPE":"string","REQUIRED":false},"server_quantity":{"NAME":"server_quantity","DESCRIPTION":"How
|
108
|
+
many separate servers are involved in this migration?","default":"","TYPE":"string","REQUIRED":false},"provider_access":{"NAME":"provider_access","DESCRIPTION":"What
|
109
|
+
types of server access do you have at your current provider?","default":"","TYPE":"string","REQUIRED":false},"monitoring":{"NAME":"monitoring","DESCRIPTION":"Constant
|
110
|
+
monitoring of your deployed systems--these can also provide automatic notifications
|
111
|
+
for service failures.","default":"","TYPE":"string","REQUIRED":false},"web_cache":{"NAME":"web_cache","DESCRIPTION":"Caching
|
112
|
+
mechanisms provide temporary storage for web requests--cached content can
|
113
|
+
generally be retrieved faster.","default":"","TYPE":"string","REQUIRED":false},"database_server":{"NAME":"database_server","DESCRIPTION":"Generally
|
114
|
+
used by applications to provide an organized way to capture and manipulate
|
115
|
+
data","default":"","TYPE":"string","REQUIRED":false},"mail_filtering":{"NAME":"mail_filtering","DESCRIPTION":"Services
|
116
|
+
here manipulate recieved messages in various ways","default":"","TYPE":"string","REQUIRED":false},"notes":{"NAME":"notes","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"ticket_number":{"NAME":"ticket_number","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"content_management":{"NAME":"content_management","DESCRIPTION":"Centralized
|
117
|
+
interfaces for editing, organizing, and publishing content","default":"","TYPE":"string","REQUIRED":false},"linode_datacenter":{"NAME":"linode_datacenter","DESCRIPTION":"Which
|
118
|
+
datacenters would you like your Linodes to be deployed in?","default":"","TYPE":"string","REQUIRED":false},"mail_retrieval":{"NAME":"mail_retrieval","DESCRIPTION":"User
|
119
|
+
mail clients connect to these to retrieve delivered mail","default":"","TYPE":"string","REQUIRED":false},"system_administration":{"NAME":"system_administration","DESCRIPTION":"Various
|
120
|
+
web interfaces for performing system administration tasks","default":"","TYPE":"string","REQUIRED":false},"requested_service":{"NAME":"requested_service","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"crossover":{"NAME":"crossover","DESCRIPTION":"These
|
121
|
+
can assist in providing reliable crossover--failures of individual components
|
122
|
+
can be transparent to the application.","default":"","TYPE":"string","REQUIRED":false},"phone_number":{"NAME":"phone_number","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"application_quantity":{"NAME":"application_quantity","DESCRIPTION":"How
|
123
|
+
many separate applications or websites are involved in this migration?","default":"","TYPE":"string","REQUIRED":false},"managed":{"NAME":"managed","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"webmail":{"NAME":"webmail","DESCRIPTION":"Access
|
124
|
+
and administrate mail via web interfaces","default":"","TYPE":"string","REQUIRED":false},"current_provider":{"NAME":"current_provider","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"email_address":{"NAME":"email_address","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"replication":{"NAME":"replication","DESCRIPTION":"Redundant
|
125
|
+
services often have shared state--replication automatically propagates state
|
126
|
+
changes between individual components.","default":"","TYPE":"string","REQUIRED":false}},"THROWS":""},"linode.disk.createfromimage":{"DESCRIPTION":"Creates
|
127
|
+
a new disk from a previously imagized disk.","PARAMETERS":{"Label":{"NAME":"Label","DESCRIPTION":"The
|
128
|
+
label of this new disk image","TYPE":"string","REQUIRED":false},"rootSSHKey":{"NAME":"rootSSHKey","DESCRIPTION":"Optionally
|
129
|
+
sets this string into \/root\/.ssh\/authorized_keys upon image deployment","TYPE":"string","REQUIRED":false},"size":{"NAME":"size","DESCRIPTION":"The
|
130
|
+
size of the disk image to creates. Defaults to the minimum size required for
|
131
|
+
the requested image","TYPE":"numeric","REQUIRED":false},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"Specifies
|
132
|
+
the Linode to deploy on to","TYPE":"numeric","REQUIRED":true},"rootPass":{"NAME":"rootPass","DESCRIPTION":"Optionally
|
133
|
+
sets the root password at deployment time. If a password is not provided the
|
134
|
+
existing root password of the frozen image will not be modified","TYPE":"string","REQUIRED":false},"ImageID":{"NAME":"ImageID","DESCRIPTION":"The
|
135
|
+
ID of the frozen image to deploy from","TYPE":"numeric","REQUIRED":true}},"THROWS":""},"nodebalancer.delete":{"DESCRIPTION":"Immediately
|
136
|
+
removes a NodeBalancer from your account and issues a pro-rated credit back
|
137
|
+
to your account, if applicable.","PARAMETERS":{"NodeBalancerID":{"NAME":"NodeBalancerID","DESCRIPTION":"The
|
138
|
+
NodeBalancerID to delete","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND"},"linode.create":{"DESCRIPTION":"Creates
|
139
|
+
a Linode and assigns you full privileges. There is a 75-linodes-per-hour limiter.","PARAMETERS":{"PlanID":{"NAME":"PlanID","DESCRIPTION":"The
|
140
|
+
desired PlanID available from avail.LinodePlans()","TYPE":"numeric","REQUIRED":true},"DatacenterID":{"NAME":"DatacenterID","DESCRIPTION":"The
|
141
|
+
DatacenterID from avail.datacenters() where you wish to place this new Linode","TYPE":"numeric","REQUIRED":true},"PaymentTerm":{"NAME":"PaymentTerm","DESCRIPTION":"Subscription
|
142
|
+
term in months for prepaid customers. One of: 1, 12, or 24","default":1,"TYPE":"numeric","REQUIRED":false}},"THROWS":"NOACCESS,CCFAILED,VALIDATION,LINODELIMITER,ACCOUNTLIMIT"},"stackscript.delete":{"DESCRIPTION":"","PARAMETERS":{"StackScriptID":{"NAME":"StackScriptID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND"},"linode.disk.create":{"DESCRIPTION":"","PARAMETERS":{"isReadOnly":{"NAME":"isReadOnly","DESCRIPTION":"Enable
|
143
|
+
forced read-only for this Disk","default":false,"TYPE":"boolean","REQUIRED":false},"rootPass":{"NAME":"rootPass","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"Label":{"NAME":"Label","DESCRIPTION":"The
|
144
|
+
display label for this Disk","TYPE":"string","REQUIRED":true},"rootSSHKey":{"NAME":"rootSSHKey","DESCRIPTION":"","default":"","TYPE":"string","REQUIRED":false},"FromDistributionID":{"NAME":"FromDistributionID","DESCRIPTION":"","default":0,"TYPE":"numeric","REQUIRED":false},"Size":{"NAME":"Size","DESCRIPTION":"The
|
145
|
+
size in MB of this Disk.","TYPE":"numeric","REQUIRED":true},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"Type":{"NAME":"Type","DESCRIPTION":"The
|
146
|
+
formatted type of this disk. Valid types are: ext3, ext4, swap, raw","TYPE":"string","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"linode.disk.createfromstackscript":{"DESCRIPTION":"","PARAMETERS":{"StackScriptUDFResponses":{"NAME":"StackScriptUDFResponses","DESCRIPTION":"JSON
|
147
|
+
encoded name\/value pairs, answering this StackScript''s User Defined Fields","TYPE":"string","REQUIRED":true},"DistributionID":{"NAME":"DistributionID","DESCRIPTION":"Which
|
148
|
+
Distribution to apply this StackScript to. Must be one from the script''s
|
149
|
+
DistributionIDList","TYPE":"numeric","REQUIRED":true},"rootPass":{"NAME":"rootPass","DESCRIPTION":"The
|
150
|
+
root user''s password","TYPE":"string","REQUIRED":true},"rootSSHKey":{"NAME":"rootSSHKey","DESCRIPTION":"Optionally
|
151
|
+
sets this string into \/root\/.ssh\/authorized_keys upon distribution configuration.","TYPE":"string","REQUIRED":false},"Label":{"NAME":"Label","DESCRIPTION":"The
|
152
|
+
label of this new disk image","TYPE":"string","REQUIRED":true},"Size":{"NAME":"Size","DESCRIPTION":"Size
|
153
|
+
of this disk image in MB","TYPE":"numeric","REQUIRED":true},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"StackScriptID":{"NAME":"StackScriptID","DESCRIPTION":"The
|
154
|
+
StackScript to create this image from","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"linode.ip.setrdns":{"DESCRIPTION":"Sets
|
155
|
+
the rDNS name of a Public IP. Returns the IPAddressID and IPAddress that
|
156
|
+
were updated.","PARAMETERS":{"IPAddressID":{"NAME":"IPAddressID","DESCRIPTION":"The
|
157
|
+
IPAddressID of the address to update","TYPE":"numeric","REQUIRED":true},"Hostname":{"NAME":"Hostname","DESCRIPTION":"The
|
158
|
+
hostname to set the reverse DNS to","TYPE":"string","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"linode.update":{"DESCRIPTION":"Updates
|
159
|
+
a Linode''s properties.","PARAMETERS":{"Alert_cpu_enabled":{"NAME":"Alert_cpu_enabled","DESCRIPTION":"Enable
|
160
|
+
the cpu usage email alert","TYPE":"boolean","REQUIRED":false},"ms_ssh_user":{"NAME":"ms_ssh_user","DESCRIPTION":"","TYPE":"string","REQUIRED":false},"Alert_bwin_enabled":{"NAME":"Alert_bwin_enabled","DESCRIPTION":"Enable
|
161
|
+
the incoming bandwidth email alert","TYPE":"boolean","REQUIRED":false},"Alert_cpu_threshold":{"NAME":"Alert_cpu_threshold","DESCRIPTION":"CPU
|
162
|
+
Alert threshold, percentage 0-800","TYPE":"numeric","REQUIRED":false},"Alert_bwquota_enabled":{"NAME":"Alert_bwquota_enabled","DESCRIPTION":"Enable
|
163
|
+
the bw quote email alert","TYPE":"boolean","REQUIRED":false},"Alert_diskio_threshold":{"NAME":"Alert_diskio_threshold","DESCRIPTION":"IO
|
164
|
+
ops\/sec","TYPE":"numeric","REQUIRED":false},"Label":{"NAME":"Label","DESCRIPTION":"This
|
165
|
+
Linode''s label","TYPE":"string","REQUIRED":false},"backupWindow":{"NAME":"backupWindow","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"backupWeeklyDay":{"NAME":"backupWeeklyDay","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"watchdog":{"NAME":"watchdog","DESCRIPTION":"Enable
|
166
|
+
the Lassie shutdown watchdog","TYPE":"boolean","REQUIRED":false},"Alert_diskio_enabled":{"NAME":"Alert_diskio_enabled","DESCRIPTION":"Enable
|
167
|
+
the disk IO email alert","TYPE":"boolean","REQUIRED":false},"lpm_displayGroup":{"NAME":"lpm_displayGroup","DESCRIPTION":"Display
|
168
|
+
group in the Linode list inside the Linode Manager","TYPE":"string","REQUIRED":false},"ms_ssh_port":{"NAME":"ms_ssh_port","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"ms_ssh_disabled":{"NAME":"ms_ssh_disabled","DESCRIPTION":"","TYPE":"boolean","REQUIRED":false},"Alert_bwquota_threshold":{"NAME":"Alert_bwquota_threshold","DESCRIPTION":"Percentage
|
169
|
+
of monthly bw quota","TYPE":"numeric","REQUIRED":false},"ms_ssh_ip":{"NAME":"ms_ssh_ip","DESCRIPTION":"","TYPE":"string","REQUIRED":false},"Alert_bwin_threshold":{"NAME":"Alert_bwin_threshold","DESCRIPTION":"Mb\/sec","TYPE":"numeric","REQUIRED":false},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"Alert_bwout_threshold":{"NAME":"Alert_bwout_threshold","DESCRIPTION":"Mb\/sec","TYPE":"numeric","REQUIRED":false},"Alert_bwout_enabled":{"NAME":"Alert_bwout_enabled","DESCRIPTION":"Enable
|
170
|
+
the outgoing bandwidth email alert","TYPE":"boolean","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"},"nodebalancer.config.create":{"DESCRIPTION":"","PARAMETERS":{"Stickiness":{"NAME":"Stickiness","DESCRIPTION":"Session
|
171
|
+
persistence. One of ''none'', ''table'', ''http_cookie''","default":"table","TYPE":"string","REQUIRED":false},"check_path":{"NAME":"check_path","DESCRIPTION":"When
|
172
|
+
check=http, the path to request","default":"\/","TYPE":"string","REQUIRED":false},"check_body":{"NAME":"check_body","DESCRIPTION":"When
|
173
|
+
check=http, a regex to match within the first 16,384 bytes of the response
|
174
|
+
body","default":"","TYPE":"string","REQUIRED":false},"check_interval":{"NAME":"check_interval","DESCRIPTION":"Seconds
|
175
|
+
between health check probes. 2-3600","default":5,"TYPE":"numeric","REQUIRED":false},"cipher_suite":{"NAME":"cipher_suite","DESCRIPTION":"SSL
|
176
|
+
cipher suite to enforce. One of ''recommended'', ''legacy''","default":"recommended","TYPE":"string","REQUIRED":false},"Algorithm":{"NAME":"Algorithm","DESCRIPTION":"Balancing
|
177
|
+
algorithm. One of ''roundrobin'', ''leastconn'', ''source''","default":"roundrobin","TYPE":"string","REQUIRED":false},"NodeBalancerID":{"NAME":"NodeBalancerID","DESCRIPTION":"The
|
178
|
+
parent NodeBalancer''s ID","TYPE":"numeric","REQUIRED":true},"check_attempts":{"NAME":"check_attempts","DESCRIPTION":"Number
|
179
|
+
of failed probes before taking a node out of rotation. 1-30","default":2,"TYPE":"string","REQUIRED":false},"Port":{"NAME":"Port","DESCRIPTION":"Port
|
180
|
+
to bind to on the public interfaces. 1-65534","default":80,"TYPE":"numeric","REQUIRED":false},"check":{"NAME":"check","DESCRIPTION":"Perform
|
181
|
+
active health checks on the backend nodes. One of ''connection'', ''http'',
|
182
|
+
''http_body''","default":"connection","TYPE":"string","REQUIRED":false},"check_passive":{"NAME":"check_passive","DESCRIPTION":"Enable
|
183
|
+
passive checks based on observing communication with back-end nodes.","default":1,"TYPE":"boolean","REQUIRED":false},"ssl_key":{"NAME":"ssl_key","DESCRIPTION":"Unpassphrased
|
184
|
+
private key for the SSL certificate when protocol is ''https''","default":"","TYPE":"string","REQUIRED":false},"Protocol":{"NAME":"Protocol","DESCRIPTION":"Either
|
185
|
+
''tcp'', ''http'', or ''https''","default":"http","TYPE":"string","REQUIRED":false},"check_timeout":{"NAME":"check_timeout","DESCRIPTION":"Seconds
|
186
|
+
to wait before considering the probe a failure. 1-30. Must be less than check_interval.","default":3,"TYPE":"string","REQUIRED":false},"ssl_cert":{"NAME":"ssl_cert","DESCRIPTION":"SSL
|
187
|
+
certificate served by the NodeBalancer when the protocol is ''https''","default":"","TYPE":"string","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"},"linode.ip.list":{"DESCRIPTION":"Returns
|
188
|
+
the IP addresses of all Linodes you have access to.","PARAMETERS":{"IPAddressID":{"NAME":"IPAddressID","DESCRIPTION":"If
|
189
|
+
specified, limits the result to this IPAddressID","TYPE":"numeric","REQUIRED":false},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"If
|
190
|
+
specified, limits the result to this LinodeID","TYPE":"numeric","REQUIRED":false}},"THROWS":"NOTFOUND"},"avail.stackscripts":{"DESCRIPTION":"Returns
|
191
|
+
a list of available public StackScripts.","PARAMETERS":{"DistributionID":{"NAME":"DistributionID","DESCRIPTION":"Limit
|
192
|
+
the results to StackScripts that can be applied to this DistributionID","TYPE":"numeric","REQUIRED":false},"keywords":{"NAME":"keywords","DESCRIPTION":"Search
|
193
|
+
terms","TYPE":"string","REQUIRED":false},"DistributionVendor":{"NAME":"DistributionVendor","DESCRIPTION":"Debian,
|
194
|
+
Ubuntu, Fedora, etc.","TYPE":"string","REQUIRED":false}},"THROWS":""},"api.spec":{"DESCRIPTION":"Returns
|
195
|
+
a data structure of the entire Linode API specification. This method does
|
196
|
+
not require authorization.<br><br>For example: <a target=\"_blank\" href=\"https:\/\/api.linode.com\/?api_action=api.spec\">https:\/\/api.linode.com\/?api_action=api.spec<\/a>","PARAMETERS":{},"THROWS":""},"image.delete":{"DESCRIPTION":"Deletes
|
197
|
+
a gold-master image","PARAMETERS":{"ImageID":{"NAME":"ImageID","DESCRIPTION":"The
|
198
|
+
ID of the gold-master image to delete","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND"},"linode.disk.list":{"DESCRIPTION":"Status
|
199
|
+
values are 1: Ready and 2: Being Deleted.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"DiskID":{"NAME":"DiskID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false}},"THROWS":""},"linode.clone":{"DESCRIPTION":"Creates
|
200
|
+
a new Linode, assigns you full privileges, and then clones the specified LinodeID
|
201
|
+
to the new Linode. There is a limit of 5 active clone operations per source
|
202
|
+
Linode. It is recommended that the source Linode be powered down during the
|
203
|
+
clone.","PARAMETERS":{"PaymentTerm":{"NAME":"PaymentTerm","DESCRIPTION":"Subscription
|
204
|
+
term in months for prepaid customers. One of: 1, 12, or 24","TYPE":"numeric","REQUIRED":false},"DatacenterID":{"NAME":"DatacenterID","DESCRIPTION":"The
|
205
|
+
DatacenterID from avail.datacenters() where you wish to place this new Linode","TYPE":"numeric","REQUIRED":true},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"The
|
206
|
+
LinodeID that you want cloned","TYPE":"numeric","REQUIRED":true},"PlanID":{"NAME":"PlanID","DESCRIPTION":"The
|
207
|
+
desired PlanID available from avail.LinodePlans()","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOACCESS,NOTFOUND,CCFAILED,VALIDATION,LINODELIMITER,ACCOUNTLIMIT"},"user.getapikey":{"DESCRIPTION":"Authenticates
|
208
|
+
a Linode Manager user against their username, password, and two-factor token
|
209
|
+
(when enabled), and then returns a new API key, which can be used until it
|
210
|
+
expires. The number of active keys is limited to 20.","PARAMETERS":{"label":{"NAME":"label","DESCRIPTION":"An
|
211
|
+
optional label for this key.","TYPE":"string","REQUIRED":false},"expires":{"NAME":"expires","DESCRIPTION":"Number
|
212
|
+
of hours the key will remain valid, between 0 and 8760. 0 means no expiration.
|
213
|
+
Defaults to 168.","TYPE":"numeric","REQUIRED":false},"username":{"NAME":"username","DESCRIPTION":"","TYPE":"string","REQUIRED":true},"password":{"NAME":"password","DESCRIPTION":"","TYPE":"string","REQUIRED":true},"token":{"NAME":"token","DESCRIPTION":"Required
|
214
|
+
when two-factor authentication is enabled.","TYPE":"string","REQUIRED":false}},"THROWS":"AUTHFAIL,NEEDTOKEN,PASSWORDEXPIRED,KEYLIMIT"},"linode.delete":{"DESCRIPTION":"Immediately
|
215
|
+
removes a Linode from your account and issues a pro-rated credit back to your
|
216
|
+
account, if applicable. To prevent accidental deletes, this requires the
|
217
|
+
Linode has no Disk images. You must first delete its disk images.\"","PARAMETERS":{"skipChecks":{"NAME":"skipChecks","DESCRIPTION":"Skips
|
218
|
+
the safety checks and will always delete the Linode","TYPE":"boolean","REQUIRED":false},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"The
|
219
|
+
LinodeID to delete","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,LINODENOTEMPTY"},"domain.resource.list":{"DESCRIPTION":"","PARAMETERS":{"DomainID":{"NAME":"DomainID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ResourceID":{"NAME":"ResourceID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false}},"THROWS":""},"nodebalancer.config.update":{"DESCRIPTION":"Updates
|
220
|
+
a Config''s properties","PARAMETERS":{"Stickiness":{"NAME":"Stickiness","DESCRIPTION":"Session
|
221
|
+
persistence. One of ''none'', ''table'', ''http_cookie''","TYPE":"string","REQUIRED":false},"check_path":{"NAME":"check_path","DESCRIPTION":"When
|
222
|
+
check=http, the path to request","TYPE":"string","REQUIRED":false},"Port":{"NAME":"Port","DESCRIPTION":"Port
|
223
|
+
to bind to on the public interfaces. 1-65534","TYPE":"numeric","REQUIRED":false},"check_body":{"NAME":"check_body","DESCRIPTION":"When
|
224
|
+
check=http, a regex to match within the first 16,384 bytes of the response
|
225
|
+
body","TYPE":"string","REQUIRED":false},"check":{"NAME":"check","DESCRIPTION":"Perform
|
226
|
+
active health checks on the backend nodes. One of ''connection'', ''http'',
|
227
|
+
''http_body''","TYPE":"string","REQUIRED":false},"check_interval":{"NAME":"check_interval","DESCRIPTION":"Seconds
|
228
|
+
between health check probes. 2-3600","TYPE":"numeric","REQUIRED":false},"check_passive":{"NAME":"check_passive","DESCRIPTION":"Enable
|
229
|
+
passive checks based on observing communication with back-end nodes.","TYPE":"boolean","REQUIRED":false},"ssl_key":{"NAME":"ssl_key","DESCRIPTION":"Unpassphrased
|
230
|
+
private key for the SSL certificate when protocol is ''https''","TYPE":"string","REQUIRED":false},"cipher_suite":{"NAME":"cipher_suite","DESCRIPTION":"SSL
|
231
|
+
cipher suite to enforce. One of ''recommended'', ''legacy''","TYPE":"string","REQUIRED":false},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"Protocol":{"NAME":"Protocol","DESCRIPTION":"Either
|
232
|
+
''tcp'', ''http'', or ''https''","TYPE":"string","REQUIRED":false},"Algorithm":{"NAME":"Algorithm","DESCRIPTION":"Balancing
|
233
|
+
algorithm. One of ''roundrobin'', ''leastconn'', ''source''","TYPE":"string","REQUIRED":false},"check_timeout":{"NAME":"check_timeout","DESCRIPTION":"Seconds
|
234
|
+
to wait before considering the probe a failure. 1-30. Must be less than check_interval.","TYPE":"string","REQUIRED":false},"check_attempts":{"NAME":"check_attempts","DESCRIPTION":"Number
|
235
|
+
of failed probes before taking a node out of rotation. 1-30","TYPE":"string","REQUIRED":false},"ssl_cert":{"NAME":"ssl_cert","DESCRIPTION":"SSL
|
236
|
+
certificate served by the NodeBalancer when the protocol is ''https''","TYPE":"string","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"},"linode.reboot":{"DESCRIPTION":"Issues
|
237
|
+
a shutdown, and then boot job for a given LinodeID.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false}},"THROWS":"NOTFOUND"},"linode.config.list":{"DESCRIPTION":"Lists
|
238
|
+
a Linode''s Configuration Profiles.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false}},"THROWS":"NOTFOUND"},"linode.disk.createfromdistribution":{"DESCRIPTION":"","PARAMETERS":{"Label":{"NAME":"Label","DESCRIPTION":"The
|
239
|
+
label of this new disk image","TYPE":"string","REQUIRED":true},"rootSSHKey":{"NAME":"rootSSHKey","DESCRIPTION":"Optionally
|
240
|
+
sets this string into \/root\/.ssh\/authorized_keys upon distribution configuration.","TYPE":"string","REQUIRED":false},"Size":{"NAME":"Size","DESCRIPTION":"Size
|
241
|
+
of this disk image in MB","TYPE":"numeric","REQUIRED":true},"DistributionID":{"NAME":"DistributionID","DESCRIPTION":"The
|
242
|
+
DistributionID to create this disk from. Found in avail.distributions()","TYPE":"numeric","REQUIRED":true},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"rootPass":{"NAME":"rootPass","DESCRIPTION":"The
|
243
|
+
root user''s password","TYPE":"string","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"linode.resize":{"DESCRIPTION":"Resizes
|
244
|
+
a Linode from one plan to another. Immediately shuts the Linode down, charges\/credits
|
245
|
+
the account, and issue a migration to another host server.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"PlanID":{"NAME":"PlanID","DESCRIPTION":"The
|
246
|
+
desired PlanID available from avail.LinodePlans()","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,CCFAILED,VALIDATION"},"nodebalancer.node.list":{"DESCRIPTION":"Returns
|
247
|
+
a list of Nodes associated with a NodeBalancer Config","PARAMETERS":{"NodeID":{"NAME":"NodeID","DESCRIPTION":"Limits
|
248
|
+
the list to the specified NodeID","TYPE":"numeric","REQUIRED":false},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":""},"linode.job.list":{"DESCRIPTION":"","PARAMETERS":{"JobID":{"NAME":"JobID","DESCRIPTION":"Limits
|
249
|
+
the list to the specified JobID","TYPE":"numeric","REQUIRED":false},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"pendingOnly":{"NAME":"pendingOnly","DESCRIPTION":"","TYPE":"boolean","REQUIRED":false}},"THROWS":""},"domain.list":{"DESCRIPTION":"Lists
|
250
|
+
domains you have access to.","PARAMETERS":{"DomainID":{"NAME":"DomainID","DESCRIPTION":"Limits
|
251
|
+
the list to the specified DomainID","TYPE":"numeric","REQUIRED":false}},"THROWS":""},"domain.resource.create":{"DESCRIPTION":"Create
|
252
|
+
a domain record.","PARAMETERS":{"DomainID":{"NAME":"DomainID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"Port":{"NAME":"Port","DESCRIPTION":"","default":80,"TYPE":"numeric","REQUIRED":false},"Name":{"NAME":"Name","DESCRIPTION":"The
|
253
|
+
hostname or FQDN. When Type=MX the subdomain to delegate to the Target MX
|
254
|
+
server.","default":"","TYPE":"string","REQUIRED":false},"Weight":{"NAME":"Weight","DESCRIPTION":"","default":5,"TYPE":"numeric","REQUIRED":false},"Target":{"NAME":"Target","DESCRIPTION":"When
|
255
|
+
Type=MX the hostname. When Type=CNAME the target of the alias. When Type=TXT
|
256
|
+
the value of the record. When Type=A or AAAA the token of ''[remote_addr]''
|
257
|
+
will be substituted with the IP address of the request.","default":"","TYPE":"string","REQUIRED":false},"Priority":{"NAME":"Priority","DESCRIPTION":"Priority
|
258
|
+
for MX and SRV records, 0-255","default":10,"TYPE":"numeric","REQUIRED":false},"TTL_sec":{"NAME":"TTL_sec","DESCRIPTION":"TTL. Leave
|
259
|
+
as 0 to accept our default.","default":0,"TYPE":"numeric","REQUIRED":false},"Protocol":{"NAME":"Protocol","DESCRIPTION":"The
|
260
|
+
protocol to append to an SRV record. Ignored on other record types.","default":"","TYPE":"string","REQUIRED":false},"Type":{"NAME":"Type","DESCRIPTION":"One
|
261
|
+
of: NS, MX, A, AAAA, CNAME, TXT, or SRV","TYPE":"string","REQUIRED":true}},"THROWS":"NOACCESS,VALIDATION"},"linode.config.delete":{"DESCRIPTION":"Deletes
|
262
|
+
a Linode Configuration Profile.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"nodebalancer.config.delete":{"DESCRIPTION":"Deletes
|
263
|
+
a NodeBalancer''s Config","PARAMETERS":{"NodeBalancerID":{"NAME":"NodeBalancerID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"The
|
264
|
+
ConfigID to delete","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND"},"avail.nodebalancers":{"DESCRIPTION":"Returns
|
265
|
+
NodeBalancer pricing information.","PARAMETERS":{},"THROWS":""},"linode.ip.swap":{"DESCRIPTION":"Exchanges
|
266
|
+
Public IP addresses between two Linodes within a Datacenter. The destination
|
267
|
+
of the IP Address can be designated by either the toLinodeID or withIPAddressID
|
268
|
+
parameter. Returns the resulting relationship of the Linode and IP Address
|
269
|
+
parameters. When performing a one directional swap, the source is represented
|
270
|
+
by the first of the two resultant array members.","PARAMETERS":{"toLinodeID":{"NAME":"toLinodeID","DESCRIPTION":"The
|
271
|
+
LinodeID of the Linode where IPAddressID will be transfered","TYPE":"numeric","REQUIRED":false},"IPAddressID":{"NAME":"IPAddressID","DESCRIPTION":"The
|
272
|
+
IPAddressID of an IP Address to transfer or swap","TYPE":"numeric","REQUIRED":true},"withIPAddressID":{"NAME":"withIPAddressID","DESCRIPTION":"The
|
273
|
+
IP Address ID to swap","TYPE":"numeric","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"},"linode.boot":{"DESCRIPTION":"Issues
|
274
|
+
a boot job for the provided ConfigID. If no ConfigID is provided boots the
|
275
|
+
last used configuration profile, or the first configuration profile if this
|
276
|
+
Linode has never been booted.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"The
|
277
|
+
ConfigID to boot, available from linode.config.list().","TYPE":"numeric","REQUIRED":false}},"THROWS":"NOTFOUND"},"avail.distributions":{"DESCRIPTION":"Returns
|
278
|
+
a list of available Linux Distributions.","PARAMETERS":{"DistributionID":{"NAME":"DistributionID","DESCRIPTION":"Limits
|
279
|
+
the results to the specified DistributionID","TYPE":"numeric","REQUIRED":false}},"THROWS":""},"linode.disk.duplicate":{"DESCRIPTION":"Performs
|
280
|
+
a bit-for-bit copy of a disk image.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"DiskID":{"NAME":"DiskID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"avail.kernels":{"DESCRIPTION":"List
|
281
|
+
available kernels.","PARAMETERS":{"isXen":{"NAME":"isXen","DESCRIPTION":"Show
|
282
|
+
or hide Xen compatible kernels","TYPE":"boolean","REQUIRED":false},"isKVM":{"NAME":"isKVM","DESCRIPTION":"Show
|
283
|
+
or hide KVM compatible kernels","TYPE":"boolean","REQUIRED":false}},"THROWS":""},"stackscript.update":{"DESCRIPTION":"Update
|
284
|
+
a StackScript.","PARAMETERS":{"rev_note":{"NAME":"rev_note","DESCRIPTION":"","TYPE":"string","REQUIRED":false},"script":{"NAME":"script","DESCRIPTION":"The
|
285
|
+
actual script","TYPE":"string","REQUIRED":false},"DistributionIDList":{"NAME":"DistributionIDList","DESCRIPTION":"Comma
|
286
|
+
delimited list of DistributionIDs that this script works on ","TYPE":"string","REQUIRED":false},"Description":{"NAME":"Description","DESCRIPTION":"","TYPE":"string","REQUIRED":false},"Label":{"NAME":"Label","DESCRIPTION":"The
|
287
|
+
Label for this StackScript","TYPE":"string","REQUIRED":false},"StackScriptID":{"NAME":"StackScriptID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"isPublic":{"NAME":"isPublic","DESCRIPTION":"Whether
|
288
|
+
this StackScript is published in the Library, for everyone to use","TYPE":"boolean","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"},"nodebalancer.node.create":{"DESCRIPTION":"","PARAMETERS":{"Label":{"NAME":"Label","DESCRIPTION":"This
|
289
|
+
backend Node''s label","TYPE":"string","REQUIRED":true},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"The
|
290
|
+
parent ConfigID to attach this Node to","TYPE":"numeric","REQUIRED":true},"Mode":{"NAME":"Mode","DESCRIPTION":"The
|
291
|
+
connections mode for this node. One of ''accept'', ''reject'', or ''drain''","default":"accept","TYPE":"string","REQUIRED":false},"Weight":{"NAME":"Weight","DESCRIPTION":"Load
|
292
|
+
balancing weight, 1-255. Higher means more connections.","default":100,"TYPE":"numeric","REQUIRED":false},"Address":{"NAME":"Address","DESCRIPTION":"The
|
293
|
+
address:port combination used to communicate with this Node","TYPE":"string","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"account.info":{"DESCRIPTION":"Shows
|
294
|
+
information about your account such as the date your account was opened as
|
295
|
+
well as your network utilization for the current month in gigabytes.","PARAMETERS":{},"THROWS":""},"linode.ip.addprivate":{"DESCRIPTION":"Assigns
|
296
|
+
a Private IP to a Linode. Returns the IPAddressID that was added.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND"},"linode.disk.resize":{"DESCRIPTION":"","PARAMETERS":{"size":{"NAME":"size","DESCRIPTION":"The
|
297
|
+
requested new size of this Disk in MB","TYPE":"numeric","REQUIRED":true},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"DiskID":{"NAME":"DiskID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"linode.mutate":{"DESCRIPTION":"Upgrades
|
298
|
+
a Linode to its next generation.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"nodebalancer.update":{"DESCRIPTION":"Updates
|
299
|
+
a NodeBalancer''s properties","PARAMETERS":{"Label":{"NAME":"Label","DESCRIPTION":"This
|
300
|
+
NodeBalancer''s label","TYPE":"string","REQUIRED":false},"ClientConnThrottle":{"NAME":"ClientConnThrottle","DESCRIPTION":"To
|
301
|
+
help mitigate abuse, throttle connections per second, per client IP. 0 to
|
302
|
+
disable. Max of 20.","TYPE":"numeric","REQUIRED":false},"NodeBalancerID":{"NAME":"NodeBalancerID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND,VALIDATION"},"nodebalancer.config.list":{"DESCRIPTION":"Returns
|
303
|
+
a list of NodeBalancers this user has access or delete to, including their
|
304
|
+
properties","PARAMETERS":{"NodeBalancerID":{"NAME":"NodeBalancerID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"Limits
|
305
|
+
the list to the specified ConfigID","TYPE":"numeric","REQUIRED":false}},"THROWS":""},"linode.config.update":{"DESCRIPTION":"Updates
|
306
|
+
a Linode Configuration Profile.","PARAMETERS":{"RootDeviceCustom":{"NAME":"RootDeviceCustom","DESCRIPTION":"A
|
307
|
+
custom root device setting.","TYPE":"string","REQUIRED":false},"Comments":{"NAME":"Comments","DESCRIPTION":"Comments
|
308
|
+
you wish to save along with this profile","TYPE":"string","REQUIRED":false},"helper_distro":{"NAME":"helper_distro","DESCRIPTION":"Enable
|
309
|
+
the Distro filesystem helper. Corrects fstab and inittab\/upstart entries
|
310
|
+
depending on the kernel you''re booting. You want this.","TYPE":"boolean","REQUIRED":false},"devtmpfs_automount":{"NAME":"devtmpfs_automount","DESCRIPTION":"Controls
|
311
|
+
if pv_ops kernels should automount devtmpfs at boot. ","TYPE":"boolean","REQUIRED":false},"Label":{"NAME":"Label","DESCRIPTION":"The
|
312
|
+
Label for this profile","TYPE":"string","REQUIRED":false},"helper_disableUpdateDB":{"NAME":"helper_disableUpdateDB","DESCRIPTION":"Enable
|
313
|
+
the disableUpdateDB filesystem helper","TYPE":"boolean","REQUIRED":false},"ConfigID":{"NAME":"ConfigID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"helper_network":{"NAME":"helper_network","DESCRIPTION":"Automatically
|
314
|
+
creates network configuration files for your distro and places them into your
|
315
|
+
filesystem.","TYPE":"boolean","REQUIRED":false},"DiskList":{"NAME":"DiskList","DESCRIPTION":"A
|
316
|
+
comma delimited list of DiskIDs; position reflects device node. The 9th element
|
317
|
+
for specifying the initrd.","TYPE":"string","REQUIRED":false},"RootDeviceRO":{"NAME":"RootDeviceRO","DESCRIPTION":"Enables
|
318
|
+
the ''ro'' kernel flag. Modern distros want this. ","TYPE":"boolean","REQUIRED":false},"RunLevel":{"NAME":"RunLevel","DESCRIPTION":"One
|
319
|
+
of ''default'', ''single'', ''binbash'' ","TYPE":"string","REQUIRED":false},"RootDeviceNum":{"NAME":"RootDeviceNum","DESCRIPTION":"Which
|
320
|
+
device number (1-8) that contains the root partition. 0 to utilize RootDeviceCustom.","TYPE":"numeric","REQUIRED":false},"helper_xen":{"NAME":"helper_xen","DESCRIPTION":"Deprecated
|
321
|
+
- use helper_distro.","TYPE":"boolean","REQUIRED":false},"RAMLimit":{"NAME":"RAMLimit","DESCRIPTION":"RAMLimit
|
322
|
+
in MB. 0 for max.","TYPE":"numeric","REQUIRED":false},"virt_mode":{"NAME":"virt_mode","DESCRIPTION":"Controls
|
323
|
+
the virtualization mode. One of ''paravirt'', ''fullvirt'' ","TYPE":"string","REQUIRED":false},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"KernelID":{"NAME":"KernelID","DESCRIPTION":"The
|
324
|
+
KernelID for this profile. Found in avail.kernels()","TYPE":"numeric","REQUIRED":false},"helper_depmod":{"NAME":"helper_depmod","DESCRIPTION":"Creates
|
325
|
+
an empty modprobe file for the kernel you''re booting. ","TYPE":"boolean","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"},"linode.shutdown":{"DESCRIPTION":"Issues
|
326
|
+
a shutdown job for a given LinodeID.","PARAMETERS":{"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND"},"domain.delete":{"DESCRIPTION":"","PARAMETERS":{"DomainID":{"NAME":"DomainID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND"},"image.list":{"DESCRIPTION":"Lists
|
327
|
+
available gold-master images","PARAMETERS":{"ImageID":{"NAME":"ImageID","DESCRIPTION":"Request
|
328
|
+
information for a specific gold-master image","TYPE":"numeric","REQUIRED":false},"pending":{"NAME":"pending","DESCRIPTION":"Show
|
329
|
+
images currently being created.","TYPE":"numeric","REQUIRED":false}},"THROWS":"NOTFOUND"},"account.paybalance":{"DESCRIPTION":"Pays
|
330
|
+
current balance on file, returning it in the response.","PARAMETERS":{},"THROWS":"CCEXPIRED,CCFAILED,NOACCESS,PAYMENTLIMITER,VALIDATION"},"nodebalancer.node.delete":{"DESCRIPTION":"Deletes
|
331
|
+
a Node from a NodeBalancer Config","PARAMETERS":{"NodeID":{"NAME":"NodeID","DESCRIPTION":"The
|
332
|
+
NodeID to delete","TYPE":"numeric","REQUIRED":true}},"THROWS":"NOTFOUND"},"nodebalancer.list":{"DESCRIPTION":"Returns
|
333
|
+
a list of NodeBalancers this user has access or delete to, including their
|
334
|
+
properties","PARAMETERS":{"NodeBalancerID":{"NAME":"NodeBalancerID","DESCRIPTION":"Limits
|
335
|
+
the list to the specified NodeBalancerID","TYPE":"numeric","REQUIRED":false}},"THROWS":""},"test.echo":{"DESCRIPTION":"Echos
|
336
|
+
back parameters that were passed in.","PARAMETERS":{},"THROWS":""},"stackscript.list":{"DESCRIPTION":"Lists
|
337
|
+
StackScripts you have access to.","PARAMETERS":{"StackScriptID":{"NAME":"StackScriptID","DESCRIPTION":"Limits
|
338
|
+
the list to the specified StackScriptID","TYPE":"numeric","REQUIRED":false}},"THROWS":""},"domain.resource.update":{"DESCRIPTION":"Update
|
339
|
+
a domain record.","PARAMETERS":{"DomainID":{"NAME":"DomainID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"Port":{"NAME":"Port","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"ResourceID":{"NAME":"ResourceID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"Name":{"NAME":"Name","DESCRIPTION":"The
|
340
|
+
hostname or FQDN. When Type=MX the subdomain to delegate to the Target MX
|
341
|
+
server.","TYPE":"string","REQUIRED":false},"Weight":{"NAME":"Weight","DESCRIPTION":"","TYPE":"numeric","REQUIRED":false},"Target":{"NAME":"Target","DESCRIPTION":"When
|
342
|
+
Type=MX the hostname. When Type=CNAME the target of the alias. When Type=TXT
|
343
|
+
the value of the record. When Type=A or AAAA the token of ''[remote_addr]''
|
344
|
+
will be substituted with the IP address of the request.","TYPE":"string","REQUIRED":false},"Priority":{"NAME":"Priority","DESCRIPTION":"Priority
|
345
|
+
for MX and SRV records, 0-255","TYPE":"numeric","REQUIRED":false},"TTL_sec":{"NAME":"TTL_sec","DESCRIPTION":"TTL. Leave
|
346
|
+
as 0 to accept our default.","TYPE":"numeric","REQUIRED":false},"Protocol":{"NAME":"Protocol","DESCRIPTION":"The
|
347
|
+
protocol to append to an SRV record. Ignored on other record types.","TYPE":"string","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"},"linode.config.create":{"DESCRIPTION":"Creates
|
348
|
+
a Linode Configuration Profile.","PARAMETERS":{"RootDeviceCustom":{"NAME":"RootDeviceCustom","DESCRIPTION":"A
|
349
|
+
custom root device setting.","default":"","TYPE":"string","REQUIRED":false},"Comments":{"NAME":"Comments","DESCRIPTION":"Comments
|
350
|
+
you wish to save along with this profile","default":"","TYPE":"string","REQUIRED":false},"helper_distro":{"NAME":"helper_distro","DESCRIPTION":"Enable
|
351
|
+
the Distro filesystem helper. Corrects fstab and inittab\/upstart entries
|
352
|
+
depending on the kernel you''re booting. You want this.","default":true,"TYPE":"boolean","REQUIRED":false},"devtmpfs_automount":{"NAME":"devtmpfs_automount","DESCRIPTION":"Controls
|
353
|
+
if pv_ops kernels should automount devtmpfs at boot. ","default":true,"TYPE":"boolean","REQUIRED":false},"helper_disableUpdateDB":{"NAME":"helper_disableUpdateDB","DESCRIPTION":"Enable
|
354
|
+
the disableUpdateDB filesystem helper","default":true,"TYPE":"boolean","REQUIRED":false},"Label":{"NAME":"Label","DESCRIPTION":"The
|
355
|
+
Label for this profile","TYPE":"string","REQUIRED":true},"helper_network":{"NAME":"helper_network","DESCRIPTION":"Automatically
|
356
|
+
creates network configuration files for your distro and places them into your
|
357
|
+
filesystem.","default":true,"TYPE":"boolean","REQUIRED":false},"DiskList":{"NAME":"DiskList","DESCRIPTION":"A
|
358
|
+
comma delimited list of DiskIDs; position reflects device node. The 9th element
|
359
|
+
for specifying the initrd.","TYPE":"string","REQUIRED":true},"RootDeviceRO":{"NAME":"RootDeviceRO","DESCRIPTION":"Enables
|
360
|
+
the ''ro'' kernel flag. Modern distros want this. ","default":true,"TYPE":"boolean","REQUIRED":false},"RunLevel":{"NAME":"RunLevel","DESCRIPTION":"One
|
361
|
+
of ''default'', ''single'', ''binbash'' ","default":"default","TYPE":"string","REQUIRED":false},"RootDeviceNum":{"NAME":"RootDeviceNum","DESCRIPTION":"Which
|
362
|
+
device number (1-8) that contains the root partition. 0 to utilize RootDeviceCustom.","default":1,"TYPE":"numeric","REQUIRED":false},"helper_xen":{"NAME":"helper_xen","DESCRIPTION":"Deprecated
|
363
|
+
- use helper_distro.","default":true,"TYPE":"boolean","REQUIRED":false},"RAMLimit":{"NAME":"RAMLimit","DESCRIPTION":"RAMLimit
|
364
|
+
in MB. 0 for max.","default":0,"TYPE":"numeric","REQUIRED":false},"virt_mode":{"NAME":"virt_mode","DESCRIPTION":"Controls
|
365
|
+
the virtualization mode. One of ''paravirt'', ''fullvirt'' ","default":"paravirt","TYPE":"string","REQUIRED":false},"LinodeID":{"NAME":"LinodeID","DESCRIPTION":"","TYPE":"numeric","REQUIRED":true},"KernelID":{"NAME":"KernelID","DESCRIPTION":"The
|
366
|
+
KernelID for this profile. Found in avail.kernels()","TYPE":"numeric","REQUIRED":true},"helper_depmod":{"NAME":"helper_depmod","DESCRIPTION":"Creates
|
367
|
+
an empty modprobe file for the kernel you''re booting. ","default":true,"TYPE":"boolean","REQUIRED":false}},"THROWS":"NOTFOUND,VALIDATION"}}},"ACTION":"api.spec"}'
|
368
|
+
http_version:
|
369
|
+
recorded_at: Thu, 29 Oct 2015 02:03:01 GMT
|
370
|
+
recorded_with: VCR 2.9.3
|