aboutsummaryrefslogtreecommitdiffstats
path: root/functest/api/swagger/task.yaml
blob: abf68a0d60c0e8c4097cc68b42c80e00a0223a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Get the result of the specified task

This api offers the interface to get the result of the specified task.

---
tags:
  - Tasks
parameters:
  - name: task_id
    description: task id
    in: path
    type: string
    required: true
definitions:
  Task:
    type: object
    properties:
      creds_name:
          $ref: '#/definitions/Result'
  Result:
    type: dict
responses:
  200:
    description: Get the result of the specified task
    schema:
      $ref: '#/definitions/Task'
    examples:
      "result": {
        "case_name": "vping_ssh",
        "env_info": {
            "build_tag": null,
            "ci_loop": "weekly",
            "installer": "compass",
            "scenario": "os-nosdn-nofeature-noha" },
        "result": "PASS",
        "task_id": "1a9f3c5d-ce0b-4354-862e-dd08b26fc484"}
      "status": 2