Merge "Change the name of flavor and disabled ssh-hostname verification."
[functest.git] / functest / api / swagger / task.yaml
1 ---
2 Get the result of the specified task
3
4 This api offers the interface to get the result 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 result of the specified task
25         schema:
26             $ref: '#/definitions/Task'
27         examples:
28             "result": {
29                 "case_name": "vping_ssh",
30                 "env_info": {
31                     "build_tag": null,
32                     "ci_loop": "weekly",
33                     "installer": "compass",
34                     "scenario": "os-nosdn-nofeature-noha"},
35                 "result": "PASS",
36                 "task_id": "1a9f3c5d-ce0b-4354-862e-dd08b26fc484"}
37             "status": 2