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", "name": "size",
"required": True, "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 name: size
type: string type: string
required: true 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: responses:
200: 200:
description: OK description: OK
@@ -5122,7 +5122,7 @@ class API_Storage_Ceph_Volume_Element_Upload(Resource):
name: file_size name: file_size
type: integer type: integer
required: false 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: responses:
200: 200:
description: OK description: OK