diff --git a/api-daemon/pvcapid/flaskapi.py b/api-daemon/pvcapid/flaskapi.py index 645b760e..fd8bcac8 100755 --- a/api-daemon/pvcapid/flaskapi.py +++ b/api-daemon/pvcapid/flaskapi.py @@ -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 diff --git a/docs/manuals/swagger.json b/docs/manuals/swagger.json index aa68e0d1..38efc153 100644 --- a/docs/manuals/swagger.json +++ b/docs/manuals/swagger.json @@ -4693,19 +4693,8 @@ }, "/api/v1/storage/ceph/volume/{pool}/{volume}/upload": { "post": { - "description": "", + "description": "
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": [