summaryrefslogtreecommitdiffstats
path: root/api/swagger/docs/results.yaml
blob: 7bdab3eb686ce14cf1e4e5a182238eb58227a4e8 (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
39
40
41
Query task result data

This api offer the interface to get the result data via task_id
We will return a result json dict
---
tags:
  - Results
parameters:
  -
    in: query
    name: action
    type: string
    default: getResult
    required: true
  -
    in: query
    name: measurement
    type: string
    description: test case name
    required: true
  -
    in: query
    name: task_id
    type: string
    description: the task_id you get before
    required: true
responses:
  200:
    description: a result json dict
    schema:
      id: ResultModel
      properties:
        status:
          type: string
          description: the status of the certain task
          default: success
        result:
          schema:
            type: array
            items:
              type: object