Merge "Change the name of flavor and disabled ssh-hostname verification."
[functest.git] / functest / api / swagger / task_log.yaml
1 ---
2 Get the log of the specified task
3
4 This api offers the interface to get the log of the specified task.
5 ---
6 tags:
7     - Tasks
8 parameters:
9     - name: task_id
10       description: task id
11       in: path
12       type: string
13       required: true
14 definitions:
15     Task:
16         type: object
17         properties:
18             creds_name:
19                 $ref: '#/definitions/Result'
20     Result:
21         type: dict
22 responses:
23     200:
24         description: Get the log of the specified task
25         schema:
26             $ref: '#/definitions/Task'
27         examples:
28             "result": {
29                 "data": [
30                     "2017-09-14 06:46:26,106 - functest.ci.run_tests - DEBUG ",
31                     "- Sourcing the OpenStack RC file... ",
32                     "2017-09-14 06:46:26,107 - functest.ci.run_tests - DEBUG ",
33                     "- Test args: connection_check ",
34                     "2017-09-14 06:46:26,107 - functest.ci.run_tests - INFO ",
35                     "- Running test case 'connection_check'... ",
36                     "..."]}
37             "status": 2