forked from 3scale/APIcast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspec.json
106 lines (106 loc) · 3.67 KB
/
spec.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"id": 2,
"provider_key": "4ec2aa4422f4daf2a9417c15678e0ec0",
"services": [
{
"id": 2,
"account_id": 2,
"name": "API",
"oneline_description": null,
"description": null,
"txt_api": null,
"txt_support": null,
"txt_features": null,
"created_at": "2016-08-29T13:02:33Z",
"updated_at": "2016-08-29T13:02:33Z",
"logo_file_name": null,
"logo_content_type": null,
"logo_file_size": null,
"state": "incomplete",
"intentions_required": false,
"draft_name": "",
"infobar": null,
"terms": null,
"display_provider_keys": false,
"tech_support_email": null,
"admin_support_email": null,
"credit_card_support_email": null,
"buyers_manage_apps": true,
"buyers_manage_keys": true,
"custom_keys_enabled": true,
"buyer_plan_change_permission": "request",
"buyer_can_select_plan": false,
"notification_settings": null,
"default_application_plan_id": 6,
"default_service_plan_id": 3,
"buyer_can_see_log_requests": false,
"default_end_user_plan_id": null,
"end_user_registration_required": true,
"tenant_id": 2,
"system_name": "api",
"backend_version": "1",
"mandatory_app_key": true,
"buyer_key_regenerate_enabled": true,
"support_email": "[email protected]",
"referrer_filters_required": false,
"deployment_option": "on_3scale",
"proxiable?": true,
"backend_authentication_type": "service_token",
"backend_authentication_value": "e485aa41578fc0ec0c1435428f729e87d966933063157254c10c1bea3b5ecb6c",
"proxy": {
"hosts": ["localhost"],
"id": 2,
"tenant_id": 2,
"service_id": 2,
"endpoint": null,
"deployed_at": null,
"api_backend": "https://echo-api.3scale.net:443",
"auth_app_key": "app_key",
"auth_app_id": "app_id",
"auth_user_key": "user_key",
"credentials_location": "query",
"error_auth_failed": "Authentication failed",
"error_limits_exceeded": "Limits exceeded",
"error_auth_missing": "Authentication parameters missing",
"created_at": "2016-08-29T13:02:33Z",
"updated_at": "2016-08-29T13:02:33Z",
"error_status_auth_failed": 403,
"error_headers_auth_failed": "text/plain; charset=us-ascii",
"error_status_limits_exceeded": 429,
"error_headers_limits_exceeded": "text/plan; charset=us-ascii",
"error_status_auth_missing": 403,
"error_headers_auth_missing": "text/plain; charset=us-ascii",
"error_no_match": "No Mapping Rule matched",
"error_status_no_match": 404,
"error_headers_no_match": "text/plain; charset=us-ascii",
"secret_token": "Shared_secret_sent_from_proxy_to_API_backend_771e81b99cddfd35",
"hostname_rewrite": null,
"oauth_login_url": null,
"sandbox_endpoint": "https://api-2.staging.apicast.io:443",
"api_test_path": "/",
"api_test_success": null,
"hostname_rewrite_for_sandbox": "echo-api.3scale.net",
"endpoint_port": 80,
"valid?": true,
"service_backend_version": "1",
"proxy_rules": [
{
"id": 2,
"proxy_id": 2,
"http_method": "GET",
"pattern": "/",
"metric_id": 2,
"metric_system_name": "hits",
"delta": 1,
"tenant_id": 2,
"created_at": "2016-08-29T13:02:33Z",
"updated_at": "2016-08-29T13:02:33Z",
"redirect_url": null,
"parameters": [],
"querystring_parameters": {}
}
]
}
}
]
}