From 050604e3025df822d97125c1695448473eeb4486 Mon Sep 17 00:00:00 2001 From: justin-hopper Date: Mon, 1 Jul 2013 13:40:14 -0700 Subject: [PATCH] Fix Restore API Documentation backup_id should have been restorePoint with nested backupRef fixed 'users' api where database should be databases Fixes: bug #1196695 Change-Id: If10e3813a241fed229837a460ef55cc62f334487 --- openstack-database-api/src/markdown/database-api-v1.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/openstack-database-api/src/markdown/database-api-v1.md b/openstack-database-api/src/markdown/database-api-v1.md index 46e00e0..5f810cf 100644 --- a/openstack-database-api/src/markdown/database-api-v1.md +++ b/openstack-database-api/src/markdown/database-api-v1.md @@ -420,7 +420,7 @@ Additional required attributes: Specifies the user password for database access. -- `database` (list) +- `databases` (list) - `name` (string) Name of the database that the user can access. One or more database names @@ -1395,7 +1395,7 @@ provisions the instance with the requested flavor and sets up a volume of the specified size, which is the storage for the database instance. Finally, this will restore a copy of the database based on the specified -backup id. +'backupRef' of 'restorePoint'. Request: @@ -1406,7 +1406,9 @@ Request: "volume": { "size": 2 }, - "backup_id": "aeb6fa4c-932d-4acc-a339-cccfb9f300b3" + "restorePoint": { + "backupRef": "aeb6fa4c-932d-4acc-a339-cccfb9f300b3" + } } }