From bfa2392d16a803e1d95edfff125b2ef0b4db1ec2 Mon Sep 17 00:00:00 2001 From: Lingxian Kong Date: Wed, 21 Oct 2020 22:25:12 +1300 Subject: Support to get instances of a specified project This patch also fixes a performance issue when the adm user is getting all the instances. Change-Id: Icd6345d6c97648cdfbfaa8d9edac7315a1409356 --- api-ref/source/instances.inc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'api-ref/source') diff --git a/api-ref/source/instances.inc b/api-ref/source/instances.inc index 2987cad6..1279bc21 100644 --- a/api-ref/source/instances.inc +++ b/api-ref/source/instances.inc @@ -38,9 +38,14 @@ List database instances(admin) .. rest_method:: GET /v1.0/{project_id}/mgmt/instances -Admin only API. Get all the instances, supported filters: deleted, -include_clustered. Could show more information such as Cinder volume ID, Nova -server information, etc. +Admin only API. Get all the instances, Could show more information such as +Cinder volume ID, Nova server information, etc. + +Supported filters: + +* ``deleted``. +* ``include_clustered``. +* ``project_id``: Get instances of a speficied project. Normal response codes: 200 -- cgit v1.2.1