From dc73f1b7cb3afffcace97e3ede9dd25639def6e2 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Tue, 22 Aug 2017 04:01:38 +0000 Subject: Create API to get log for each task API: /api/v1/functest/tasks//log METHOD: GET JIRA: FUNCTEST-867 Change-Id: I987cbf662e4da349bf7583e48da5d981a2f1e0fd Signed-off-by: Linda Wang --- functest/api/urls.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'functest/api/urls.py') diff --git a/functest/api/urls.py b/functest/api/urls.py index f7bcae38..72c2c53b 100644 --- a/functest/api/urls.py +++ b/functest/api/urls.py @@ -62,5 +62,9 @@ URLPATTERNS = [ # GET /api/v1/functest/tasks/ # => GET the result of the task id - Url('/api/v1/functest/tasks/', 'v1_tasks') + Url('/api/v1/functest/tasks/', 'v1_task'), + + # GET /api/v1/functest/tasks//log + # => GET the log of the task + Url('/api/v1/functest/tasks//log', 'v1_task_log') ] -- cgit 1.2.3-korg