From 400008194be2bf5e9ff7b3696ac3ea77a35f50bc Mon Sep 17 00:00:00 2001 From: xuanyandong Date: Thu, 22 Oct 2020 10:40:39 +0800 Subject: [PATCH] Correct the rest api url of import_record of backup Change-Id: I16cdd1bc19bf51b6012d84a7163fa5d2a710800a --- api-ref/source/v2/ext-backups.inc | 3 +-- api-ref/source/v3/ext-backups.inc | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/api-ref/source/v2/ext-backups.inc b/api-ref/source/v2/ext-backups.inc index 98fd41eb9fb..f6e5d509a8c 100644 --- a/api-ref/source/v2/ext-backups.inc +++ b/api-ref/source/v2/ext-backups.inc @@ -374,7 +374,7 @@ Response Example Import backup ~~~~~~~~~~~~~ -.. rest_method:: POST /v2/{project_id}/backups/{backup_id}/import_record +.. rest_method:: POST /v2/{project_id}/backups/import_record Import information about a backup. @@ -396,7 +396,6 @@ Request .. rest_parameters:: parameters.yaml - project_id: project_id_path - - backup_id: backup_id - backup-record: backup_record - backup_service: backup_service - backup_url: backup_url diff --git a/api-ref/source/v3/ext-backups.inc b/api-ref/source/v3/ext-backups.inc index 0a6986ee476..4f258784425 100644 --- a/api-ref/source/v3/ext-backups.inc +++ b/api-ref/source/v3/ext-backups.inc @@ -474,7 +474,7 @@ Response Example Import a backup ~~~~~~~~~~~~~~~ -.. rest_method:: POST /v3/{project_id}/backups/{backup_id}/import_record +.. rest_method:: POST /v3/{project_id}/backups/import_record Import information about a backup. @@ -498,7 +498,6 @@ Request .. rest_parameters:: parameters.yaml - project_id: project_id_path - - backup_id: backup_id_required - backup-record: backup_record - backup_service: backup_service - backup_url: backup_url