Compare commits

...

2 Commits

Author SHA1 Message Date
522da3fd95 Adjust wording for volume create too 2023-10-03 09:42:23 -04:00
3a1bf0724e Mention file_size as bytes 2023-10-03 09:39:19 -04:00

View File

@@ -4843,7 +4843,7 @@ class API_Storage_Ceph_Volume_Root(Resource):
{
"name": "size",
"required": True,
"helptext": "A volume size in bytes (or with k/M/G/T suffix) must be specified.",
"helptext": "A volume size in bytes (B implied or with SI suffix k/M/G/T) must be specified.",
},
]
)
@@ -4869,7 +4869,7 @@ class API_Storage_Ceph_Volume_Root(Resource):
name: size
type: string
required: true
description: The volume size in bytes (or with a metric suffix, i.e. k/M/G/T)
description: The volume size, in bytes (B implied) or with a single-character SI suffix (k/M/G/T)
responses:
200:
description: OK
@@ -5122,7 +5122,7 @@ class API_Storage_Ceph_Volume_Element_Upload(Resource):
name: file_size
type: integer
required: false
description: The size of the image file, if {image_format} is not "raw"
description: The size of the image file, in bytes, if {image_format} is not "raw"
responses:
200:
description: OK