forked from 3scale/APIcast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
multiservice.json
44 lines (44 loc) · 986 Bytes
/
multiservice.json
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
{
"services": [
{
"id": 16,
"backend_authentication_type": "service_token",
"backend_authentication_value": "value-one",
"backend_version": "1",
"proxy": {
"api_backend": "https://echo-api.3scale.net/one",
"hosts": [
"api"
],
"proxy_rules": [
{
"http_method": "GET",
"pattern": "/",
"metric_system_name": "one",
"delta": 1
}
]
}
},
{
"id": 32,
"backend_authentication_type": "service_token",
"backend_authentication_value": "value-two",
"backend_version": "1",
"proxy": {
"api_backend": "https://echo-api.3scale.net/two",
"hosts": [
"monitoring"
],
"proxy_rules": [
{
"http_method": "GET",
"pattern": "/",
"metric_system_name": "two",
"delta": 2
}
]
}
}
]
}