-
Notifications
You must be signed in to change notification settings - Fork 8
/
traffic.yaml
67 lines (67 loc) · 2.15 KB
/
traffic.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
openapi: 3.0.0
info:
title: Traffic
version: '1.0'
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: traffic.yaml
paths:
/traffic/domains/{domain}/datacenters/{datacenterId}:
parameters:
- $ref: parameters/datacenterId-path.yaml
- $ref: parameters/domain-path.yaml
get:
operationId: get-traffic-datacenter
summary: Report traffic per data center
tags:
- Traffic
description: |
This report shows, for a given domain and data center, the DNS requests received in each five-minute period. Requests are broken down by property.
parameters:
- $ref: parameters/start-query.yaml
- $ref: parameters/end-query.yaml
responses:
200:
description: |
Successful response.
content:
application/json:
example:
$ref: examples/get-traffic-for-a-datacenter-200.json
schema:
$ref: schemas/traffic-datacenter.yaml
text/csv:
example:
$ref: examples/get-traffic-for-a-datacenter-200.csv
/traffic/domains/{domain}/properties/{property}:
parameters:
- $ref: parameters/property-path.yaml
- $ref: parameters/domain-path.yaml
get:
operationId: get-traffic-property
summary: Report traffic per property
tags:
- Traffic
description: |
This report shows, for a given domain and property, the DNS requests received in each five-minute period. Requests are broken down by data center.
parameters:
- $ref: parameters/start-query.yaml
- $ref: parameters/end-query.yaml
responses:
200:
description: |
Successful response.
content:
application/json:
example:
$ref: examples/get-traffic-for-a-property-200.json
schema:
$ref: schemas/traffic-property.yaml
text/csv:
example:
$ref: examples/get-traffic-for-a-property-200.csv