Merge "Switch from BashFeature to Feature of bgpvpn testcase"
[functest.git] / functest / api / swagger / task_log.yaml
1 Get the log of the specified task
2
3 This api offers the interface to get the log of the specified task.
4
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 - Sourcing the OpenStack RC file... ",
31         "2017-09-14 06:46:26,107 - functest.ci.run_tests - DEBUG - Test args: connection_check ",
32         "2017-09-14 06:46:26,107 - functest.ci.run_tests - INFO - Running test case 'connection_check'... ",
33         "..."]}
34       "status": 2
35