Just describe the body in words

This commit is contained in:
Joshua Boniface 2020-02-09 21:08:27 -05:00
parent ad60f4b1f1
commit b29c69378d
2 changed files with 3 additions and 18 deletions

View File

@ -3343,16 +3343,12 @@ class API_Storage_Ceph_Volume_Element_Upload(Resource):
def post(self, pool, volume, reqargs): def post(self, pool, volume, reqargs):
""" """
Upload a disk image to Ceph volume {volume} in pool {pool} 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: tags:
- storage / ceph - storage / ceph
parameters: parameters:
- in: query
content:
application/octet-stream:
schema:
type: string
format: binary
- in: query - in: query
name: image_format name: image_format
type: string type: string

View File

@ -4693,19 +4693,8 @@
}, },
"/api/v1/storage/ceph/volume/{pool}/{volume}/upload": { "/api/v1/storage/ceph/volume/{pool}/{volume}/upload": {
"post": { "post": {
"description": "", "description": "<br/>The body must be a form body containing a file that is the binary contents of the image.",
"parameters": [ "parameters": [
{
"content": {
"application/octet-stream": {
"schema": {
"format": "binary",
"type": "string"
}
}
},
"in": "query"
},
{ {
"description": "The type of source image file", "description": "The type of source image file",
"enum": [ "enum": [