forked from akamai/akamai-apis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-runs.yaml
59 lines (59 loc) · 1.56 KB
/
test-runs.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
openapi: 3.0.0
info:
title: Test runs
version: v1
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://{hostname}/test-management/v1
x-akamai:
auth-type: EDGE_GRID
file-path: test-runs.yaml
paths:
/test-runs:
post:
operationId: post-test-runs
summary: Submit a test run
tags:
- Test runs
description: |
Start a test run containing one or more test definitions and their corresponding test cases.
requestBody:
required: true
content:
application/json:
example:
$ref: examples/create-test-run-request.json
schema:
$ref: schemas/createTestRunRequest.yaml
responses:
202:
description: |
Successfully submitted.
content:
application/json:
example:
$ref: examples/get-test-run-response.json
schema:
$ref: schemas/getTestRunResponse.yaml
/test-runs/{testRunId}:
parameters:
- $ref: parameters/testRunId-path.yaml
get:
operationId: get-test-run
summary: Get test run
tags:
- Test runs
description: |
Get the Test Run identified by `testRunId`.
responses:
200:
description: |
Successful response.
content:
application/json:
example:
$ref: examples/get-test-run-response.json
schema:
$ref: schemas/getTestRunResponse.yaml