-
Notifications
You must be signed in to change notification settings - Fork 8
/
liveness-tests.yaml
87 lines (86 loc) · 3.35 KB
/
liveness-tests.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
openapi: 3.0.0
info:
title: Liveness tests
version: '1'
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://{hostname}/gtm-api/v1/reports
x-akamai:
auth-type: EDGE_GRID
file-path: liveness-tests.yaml
paths:
/liveness-tests/domains/{domain}/properties/{property}:
parameters:
- $ref: parameters/property-path.yaml
- $ref: parameters/domain-path.yaml
get:
operationId: get-liveness-tests-property
summary: Report liveness per property
tags:
- Liveness
description: |
This operation returns a collection of reports containing logs of individual liveness tests which have failed. Liveness Tests are run periodically by Web Agents installed in customer data centers. Liveness scores are used by GTM to decide whether a data center is alive or not.
Liveness tests which fail in succession (tests that run from the same testing agent to the same origin server, which fail with the same error code) are grouped together and represented with a duration. This duration value is in seconds and can sustain for up to 86400 seconds (one day). If it crosses that boundary, GTM logs it as a new failure at the beginning of the next day (00:00 UTC), with the duration reset to that point.
parameters:
- $ref: parameters/date-query.yaml
- $ref: parameters/agentIp-query.yaml
- $ref: parameters/targetIp-query.yaml
responses:
200:
description: |
Successful response.
content:
application/json:
example:
$ref: examples/list-liveness-tests-for-a-property-200.json
schema:
$ref: schemas/liveness-tests.yaml
text/csv:
example:
$ref: examples/list-liveness-tests-for-a-property-200.csv
/liveness-tests/error-code-descriptions:
get:
operationId: get-liveness-tests-error-codes
summary: List liveness test errors
tags:
- Liveness
description: |
This operation lists all the possible liveness test error codes (as displayed on the Liveness Test Failures report) and a description of each error.
responses:
200:
description: |
Successful response.
content:
application/json:
example:
$ref: examples/get-error-code-descriptions-200.json
schema:
$ref: schemas/liveness-test-error-codes.yaml
text/csv:
example:
$ref: examples/get-error-code-descriptions-200.csv
/liveness-tests/error-code-descriptions/{errorCode}:
parameters:
- $ref: parameters/errorCode-path.yaml
get:
operationId: get-liveness-tests-error-code
summary: Get a Liveness Test Error
tags:
- Liveness
description: |
This operation returns an Error Description for the given Liveness Test error ID.
responses:
200:
description: |
Successful response.
content:
application/json:
example:
$ref: examples/get-error-code-description-200.json
schema:
$ref: schemas/liveness-test-error-codes.yaml
text/csv:
example:
$ref: examples/get-error-code-description-200.csv