Merge "bugfix: kill process do not accurately kill "nova-api""
[yardstick.git] / api / swagger / docs / release_action.yaml
1 TestCases Actions
2
3 This API may offer many actions, including runTestCase
4
5 action: runTestCase
6 This api offer the interface to run a test case in yardstick
7 we will return a task_id for querying
8 you can use the returned task_id to get the result data
9 ---
10 tags:
11   - Release Action
12 parameters:
13   - in: body
14     name: body
15     description: this is the input json dict
16     schema:
17       id: TestCaseActionModel
18       required:
19         - action
20         - args
21       properties:
22         action:
23           type: string
24           description: this is action for testcases
25           default: runTestCase
26         args:
27           schema:
28             id: TestCaseActionArgsModel
29             required:
30               - testcase
31             properties:
32               testcase:
33                 type: string
34                 description: this is the test case name
35                 default: tc002
36               opts:
37                 schema:
38                   id: TestCaseActionArgsOptsModel
39 responses:
40   200:
41     description: A result json dict
42     schema:
43       id: result
44       properties:
45         status:
46           type: string
47           default: success
48         result:
49           type: string
50           description: task_id of this task