Merge "Bugfix: debug should be default off"
[yardstick.git] / api / swagger / docs / results.yaml
1 Query task result data
2
3 This api offer the interface to get the result data via task_id
4 We will return a result json dict
5 ---
6 tags:
7   - Results
8 parameters:
9   -
10     in: query
11     name: action
12     type: string
13     default: getResult
14     required: true
15   -
16     in: query
17     name: measurement
18     type: string
19     description: test case name
20     required: true
21   -
22     in: query
23     name: task_id
24     type: string
25     description: the task_id you get before
26     required: true
27 responses:
28   200:
29     description: a result json dict
30     schema:
31       id: ResultModel
32       properties:
33         status:
34           type: string
35           description: the status of the certain task
36           default: success
37         result:
38           schema:
39             type: array
40             items:
41               type: object