File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ endpoints:
10
10
methods :
11
11
GET :
12
12
response : image
13
- paginationKey : images
14
13
oauth : ' images:view'
15
14
description : |
16
15
Returns a list of images.
@@ -20,6 +19,35 @@ endpoints:
20
19
python : |
21
20
import linode
22
21
TODO
22
+ POST :
23
+ money : true
24
+ oauth : images:create
25
+ description : |
26
+ Create a new image from a Linode Disk
27
+ params :
28
+ disk_id :
29
+ optional : false
30
+ description : The id of the Linode Disk that should be imagized
31
+ type : Integer
32
+ label :
33
+ optional : true
34
+ description : The label to assign this Image. Defaults to the label of the Disk.
35
+ type : String
36
+ limit : " 1-50 ASCII characters limited to letters, numbers, and underscores"
37
+ description :
38
+ optioanl : true
39
+ description : A longer summary that describes the image
40
+ type : String
41
+ limit : " 1-65000 ASCII characters"
42
+ examples :
43
+ curl : |
44
+ curl -H "Content-Type: application/json" \
45
+ -H "Authorization: Bearer $TOKEN" \
46
+ -X POST -d '$SUB_SPEC_EXAMPLE' \
47
+ https://$api_root/$version/images
48
+ python : |
49
+ import linode
50
+ TODO
23
51
/images/$id :
24
52
type : resource
25
53
description : |
You can’t perform that action at this time.
0 commit comments