Just describe the body in words
This commit is contained in:
parent
ad60f4b1f1
commit
b29c69378d
|
@ -3343,16 +3343,12 @@ class API_Storage_Ceph_Volume_Element_Upload(Resource):
|
|||
def post(self, pool, volume, reqargs):
|
||||
"""
|
||||
Upload a disk image to Ceph volume {volume} in pool {pool}
|
||||
|
||||
The body must be a form body containing a file that is the binary contents of the image.
|
||||
---
|
||||
tags:
|
||||
- storage / ceph
|
||||
parameters:
|
||||
- in: query
|
||||
content:
|
||||
application/octet-stream:
|
||||
schema:
|
||||
type: string
|
||||
format: binary
|
||||
- in: query
|
||||
name: image_format
|
||||
type: string
|
||||
|
|
|
@ -4693,19 +4693,8 @@
|
|||
},
|
||||
"/api/v1/storage/ceph/volume/{pool}/{volume}/upload": {
|
||||
"post": {
|
||||
"description": "",
|
||||
"description": "<br/>The body must be a form body containing a file that is the binary contents of the image.",
|
||||
"parameters": [
|
||||
{
|
||||
"content": {
|
||||
"application/octet-stream": {
|
||||
"schema": {
|
||||
"format": "binary",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"description": "The type of source image file",
|
||||
"enum": [
|
||||
|
|
Loading…
Reference in New Issue