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):
|
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
|
||||||
|
|
|
@ -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": [
|
||||||
|
|
Loading…
Reference in New Issue