Fix export swagger definition
This commit is contained in:
parent
0a8bad3418
commit
44232fe3c6
|
@ -3314,7 +3314,7 @@ class API_VM_Snapshot_Export(Resource):
|
||||||
@Authenticator
|
@Authenticator
|
||||||
def post(self, vm, reqargs):
|
def post(self, vm, reqargs):
|
||||||
"""
|
"""
|
||||||
Roll back to a snapshot of a VM's disks and configuration
|
Export a snapshot of a VM's disks and configuration to files
|
||||||
---
|
---
|
||||||
tags:
|
tags:
|
||||||
- vm
|
- vm
|
||||||
|
@ -3323,7 +3323,17 @@ class API_VM_Snapshot_Export(Resource):
|
||||||
name: snapshot_name
|
name: snapshot_name
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
description: The name of the snapshot to roll back to
|
description: The name of the snapshot to export (must exist)
|
||||||
|
- in: query
|
||||||
|
name: export_path
|
||||||
|
type: string (path)
|
||||||
|
required: true
|
||||||
|
description: The absolute file path to export the snapshot to on the active primary coordinator
|
||||||
|
- in: query
|
||||||
|
name: incremental_parent
|
||||||
|
type: boolean
|
||||||
|
required: false
|
||||||
|
description: A snapshot name to generate an incremental diff from
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: OK
|
description: OK
|
||||||
|
|
Loading…
Reference in New Issue