summaryrefslogtreecommitdiff
path: root/api-ref/source
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-10-21 22:25:12 +1300
committerLingxian Kong <anlin.kong@gmail.com>2020-10-21 23:31:01 +0000
commitbfa2392d16a803e1d95edfff125b2ef0b4db1ec2 (patch)
tree00f514b4e43444457ce24bc9cfddf9f7ab5b4856 /api-ref/source
parent6a12e596012232d5d25c027cf4ef5335c00def83 (diff)
downloadtrove-bfa2392d16a803e1d95edfff125b2ef0b4db1ec2.tar.gz
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
Diffstat (limited to 'api-ref/source')
-rw-r--r--api-ref/source/instances.inc11
1 files changed, 8 insertions, 3 deletions
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