Fix api-ref for backup export and import

Add missing paramater description for backup export and import function.

Change-Id: I6408138ac738717c766752f5358025dbe62d7319
This commit is contained in:
jeremy.zhang 2018-05-29 22:51:19 +08:00
parent 36bf71bf30
commit a6dd458612
4 changed files with 24 additions and 2 deletions

View File

@ -357,6 +357,7 @@ Response Parameters
.. rest_parameters:: parameters.yaml
- backup-record: backup_record
- backup_service: backup_service
- backup_url: backup_url
@ -393,6 +394,9 @@ Request
- project_id: project_id_path
- backup_id: backup_id
- backup-record: backup_record
- backup_service: backup_service
- backup_url: backup_url
Request Example

View File

@ -299,6 +299,13 @@ backup_gigabytes:
in: body
required: true
type: integer
backup_record:
description: |
An object recording volume backup metadata, including ``backup_service``
and ``backup_url``.
in: body
required: true
type: object
backup_service:
description: |
The service used to perform the backup.
@ -307,7 +314,7 @@ backup_service:
type: string
backup_url:
description: |
The backup encoded metadata.
An identifier string to locate the backup.
in: body
required: true
type: string

View File

@ -449,6 +449,7 @@ Response Parameters
.. rest_parameters:: parameters.yaml
- backup-record: backup_record
- backup_service: backup_service
- backup_url: backup_url
@ -487,6 +488,9 @@ Request
- project_id: project_id_path
- backup_id: backup_id
- backup-record: backup_record
- backup_service: backup_service
- backup_url: backup_url
Request Example

View File

@ -547,6 +547,13 @@ backup_id_1:
required: false
type: string
min_version: 3.47
backup_record:
description: |
An object recording volume backup metadata, including ``backup_service``
and ``backup_url``.
in: body
required: true
type: object
backup_service:
description: |
The service used to perform the backup.
@ -555,7 +562,7 @@ backup_service:
type: string
backup_url:
description: |
The backup encoded metadata.
An identifier string to locate the backup.
in: body
required: true
type: string