Skip to content

Commit 8129faf

Browse files
displagueGitHub Enterprise
authored andcommitted
Merge pull request #157 from wsmith/bugfix/even-more-volume-docs
Made the volume create docs even more accurate
2 parents da331c5 + 117beac commit 8129faf

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

openapi.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9220,14 +9220,14 @@ paths:
92209220
type: integer
92219221
description: >
92229222
The initial size of this volume, in GB. Be aware that volumes
9223-
may only be resized up after creation. Defaults to 20 GB
9224-
if not provided.
9223+
may only be resized up after creation.
92259224
example: 20
92269225
default: 20
92279226
label:
92289227
type: string
92299228
description: >
9230-
The Volume's label, for display purposes only.
9229+
The Volume's label, which is also used in the
9230+
`filesystem_path` of the resulting volume.
92319231
example: my-volume
92329232
minLength: 1
92339233
maxLength: 32
@@ -9238,7 +9238,15 @@ paths:
92389238
When creating a Volume attached to a Linode, the ID of the
92399239
Linode Config to include the new Volume in. This Config
92409240
must belong to the Linode referenced by `linode_id`. Must
9241-
_not_ be provided if `linode_id` is not sent.
9241+
_not_ be provided if `linode_id` is not sent. If a
9242+
`linode_id` is sent without a `config_id`, the volume will be
9243+
attached:
9244+
9245+
* to the Linode's only config if it only has one config.
9246+
* to the Linode's last used config, if possible.
9247+
9248+
If no config can be selected for attachment, an error will be
9249+
returned.
92429250
example: 23456
92439251
responses:
92449252
'200':

0 commit comments

Comments
 (0)