summaryrefslogtreecommitdiffstats
path: root/api/urls.py
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-07-13 07:24:35 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-07-13 07:24:35 +0000
commit2b2cfebd2383e38fc375eb308c3f96ef20d75881 (patch)
treec3d8df475621a69dde903af036560147e89f3415 /api/urls.py
parentcc3c7796ccb30b021c219cabdbe73bfc14fb38cc (diff)
Add API to get single environment info
JIRA: YARDSTICK-717 API: /api/v2/yardstick/environments/<environment_id> METHOD: GET Change-Id: I9fe42a48520cc17d0f5416080b3595bd6c269761 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/urls.py b/api/urls.py
index 0c63fb040..70d69f881 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -24,4 +24,5 @@ urlpatterns = [
# api v2
Url('/api/v2/yardstick/environments', 'v2_environments'),
Url('/api/v2/yardstick/environments/action', 'v2_environments'),
+ Url('/api/v2/yardstick/environments/<environment_id>', 'v2_environment'),
]