API definition:
{
“api_definition”: {
“api_id”: “dd4af40dbcea484050fc00b8e26f03fc”,
“upstream_certificates”: {},
“use_keyless”: true,
“enable_coprocess_auth”: false,
“custom_middleware”: {
“pre”: [],
“post”: [],
“post_key_auth”: [],
“auth_check”: {
“name”: “”,
“path”: “”,
“require_session”: false
},
“response”: [],
“driver”: “”,
“id_extractor”: {
“extract_from”: “”,
“extract_with”: “”,
“extractor_config”: {}
}
},
“disable_quota”: false,
“custom_middleware_bundle”: “”,
“cache_options”: {
“enable_cache”: false,
“enable_upstream_cache_control”: false,
“cache_timeout”: 60,
“cache_response_codes”: [],
“cache_all_safe_requests”: false
},
“enable_ip_blacklisting”: false,
“tag_headers”: [],
“pinned_public_keys”: {},
“domain”: “”,
“openid_options”: {
“providers”: [],
“segregate_by_client”: false
},
“active”: true,
“config_data”: {},
“notifications”: {
“oauth_on_keychange_url”: “”,
“shared_secret”: “”
},
“auth”: {
“auth_header_name”: “”,
“use_certificate”: false
},
“check_host_against_uptime_tests”: false,
“blacklisted_ips”: [],
“hmac_allowed_clock_skew”: -1,
“uptime_tests”: {
“check_list”: [],
“config”: {
“service_discovery”: {
“use_discovery_service”: false,
“query_endpoint”: “”,
“use_nested_query”: false,
“parent_data_path”: “”,
“data_path”: “”,
“cache_timeout”: 60
}
}
},
“enable_jwt”: false,
“name”: “General services”,
“slug”: “general-services”,
“oauth_meta”: {
“allowed_access_types”: [],
“allowed_authorize_types”: [],
“auth_login_redirect”: “”
},
“CORS”: {
“enable”: true,
“max_age”: 24,
“allow_credentials”: false,
“exposed_headers”: [],
“allowed_headers”: [
“"
],
“options_passthrough”: false,
“debug”: false,
“allowed_origins”: [
"”
],
“allowed_methods”: [
“GET”,
“POST”,
“PUT”,
“DELETE”
]
},
“event_handlers”: {
“events”: {}
},
“proxy”: {
“target_url”: “https://BACKEND/”,
“service_discovery”: {
“cache_timeout”: 0,
“parent_data_path”: “”,
“query_endpoint”: “”,
“use_discovery_service”: false,
“_sd_show_port_path”: false,
“target_path”: “”,
“use_nested_query”: false,
“data_path”: “”,
“port_data_path”: “”
},
“check_host_against_uptime_tests”: false,
“transport”: {
“ssl_ciphers”: [],
“ssl_min_version”: 0,
“proxy_url”: “”
},
“target_list”: [],
“preserve_host_header”: false,
“strip_listen_path”: true,
“enable_load_balancing”: false,
“listen_path”: “/general-services”
},
“client_certificates”: [],
“use_basic_auth”: false,
“version_data”: {
“not_versioned”: true,
“versions”: {
“Default”: {
“name”: “Default”,
“expires”: “”,
“override_target”: “”,
“extended_paths”: {
“white_list”: [
{
“method”: “”,
“timeout”: 0,
“path”: “/General_Company_API/rest/GeneralDebtor_v1/debtor_get”,
“add_headers”: {},
“samples”: 100,
“rewrite_to”: “”,
“template_data”: {
“input_type”: “”,
“template_mode”: “”,
“enable_session”: false,
“template_source”: “”
},
“function_source_uri”: “”,
“threshold_percent”: 0.1,
“delete_headers”: [],
“response_function_name”: “myVirtualHandler”,
“_lists”: [],
“match_pattern”: “”,
“function_source_type”: “blob”,
“return_to_service_after”: 60,
“size_limit”: 0,
“use_session”: false,
“method_actions”: {
“GET”: {
“action”: “no_action”,
“code”: 200,
“headers”: {}
}
}
},
{
“method”: “”,
“timeout”: 0,
“path”: “/commercialproduct_get”,
“add_headers”: {},
“samples”: 100,
“rewrite_to”: “”,
“template_data”: {
“input_type”: “”,
“template_mode”: “”,
“enable_session”: false,
“template_source”: “”
},
“function_source_uri”: “”,
“threshold_percent”: 0.1,
“delete_headers”: [],
“response_function_name”: “myVirtualHandler”,
“_lists”: [],
“match_pattern”: “”,
“function_source_type”: “blob”,
“return_to_service_after”: 60,
“size_limit”: 0,
“use_session”: false,
“method_actions”: {
“POST”: {
“action”: “no_action”,
“code”: 200,
“headers”: {}
}
}
},
{
“method”: “”,
“timeout”: 0,
“path”: “/debtor_get”,
“add_headers”: {},
“samples”: 100,
“rewrite_to”: “”,
“template_data”: {
“input_type”: “”,
“template_mode”: “”,
“enable_session”: false,
“template_source”: “”
},
“function_source_uri”: “”,
“threshold_percent”: 0.1,
“delete_headers”: [],
“response_function_name”: “myVirtualHandler”,
“_lists”: [],
“match_pattern”: “”,
“function_source_type”: “blob”,
“return_to_service_after”: 60,
“size_limit”: 0,
“use_session”: false,
“method_actions”: {
“GET”: {
“action”: “no_action”,
“code”: 200,
“headers”: {}
}
}
},
{
“method”: “”,
“timeout”: 0,
“path”: “/test”,
“add_headers”: {},
“samples”: 100,
“rewrite_to”: “”,
“template_data”: {
“input_type”: “”,
“template_mode”: “”,
“enable_session”: false,
“template_source”: “”
},
“function_source_uri”: “”,
“threshold_percent”: 0.1,
“delete_headers”: [],
“response_function_name”: “myVirtualHandler”,
“_lists”: [],
“match_pattern”: “”,
“function_source_type”: “blob”,
“return_to_service_after”: 60,
“size_limit”: 0,
“use_session”: false,
“method_actions”: {
“GET”: {
“action”: “no_action”,
“code”: 200,
“headers”: {}
}
}
}
],
“url_rewrites”: [
{
“method”: “POST”,
“timeout”: 0,
“path”: “/commercialproduct_get”,
“add_headers”: {},
“samples”: 100,
“rewrite_to”: “/General_Product_API/rest/CommercialProduct_V1/CommercialProduct_Get”,
“template_data”: {
“input_type”: “”,
“template_mode”: “”,
“enable_session”: false,
“template_source”: “”
},
“function_source_uri”: “”,
“threshold_percent”: 0.1,
“delete_headers”: [],
“response_function_name”: “myVirtualHandler”,
“_lists”: [],
“match_pattern”: “(?i)/commercialproduct_get”,
“function_source_type”: “blob”,
“triggers”: [],
“return_to_service_after”: 60,
“size_limit”: 0,
“use_session”: false,
“method_actions”: {}
},
{
“method”: “GET”,
“timeout”: 0,
“path”: “/debtor_get”,
“add_headers”: {},
“samples”: 100,
“rewrite_to”: “/General_Company_API/rest/GeneralDebtor_v1/debtor_get$1”,
“template_data”: {
“input_type”: “”,
“template_mode”: “”,
“enable_session”: false,
“template_source”: “”
},
“function_source_uri”: “”,
“threshold_percent”: 0.1,
“delete_headers”: [],
“response_function_name”: “myVirtualHandler”,
“_lists”: [],
“match_pattern”: “/debtor_get(.*)”,
“function_source_type”: “blob”,
“triggers”: [],
“return_to_service_after”: 60,
“size_limit”: 0,
“use_session”: false,
“method_actions”: {}
}
],
“track_endpoints”: [
{
“method”: “POST”,
“timeout”: 0,
“path”: “/commercialproduct_get”,
“add_headers”: {},
“samples”: 100,
“rewrite_to”: “”,
“template_data”: {
“input_type”: “”,
“template_mode”: “”,
“enable_session”: false,
“template_source”: “”
},
“function_source_uri”: “”,
“threshold_percent”: 0.1,
“delete_headers”: [],
“response_function_name”: “myVirtualHandler”,
“_lists”: [],
“match_pattern”: “”,
“function_source_type”: “blob”,
“return_to_service_after”: 60,
“size_limit”: 0,
“use_session”: false,
“method_actions”: {}
},
{
“method”: “GET”,
“timeout”: 0,
“path”: “/debtor_get”,
“add_headers”: {},
“samples”: 100,
“rewrite_to”: “”,
“template_data”: {
“input_type”: “”,
“template_mode”: “”,
“enable_session”: false,
“template_source”: “”
},
“function_source_uri”: “”,
“threshold_percent”: 0.1,
“delete_headers”: [],
“response_function_name”: “myVirtualHandler”,
“_lists”: [],
“match_pattern”: “”,
“function_source_type”: “blob”,
“return_to_service_after”: 60,
“size_limit”: 0,
“use_session”: false,
“method_actions”: {}
}
]
},
“global_headers”: {},
“global_headers_remove”: [],
“global_size_limit”: 0,
“use_extended_paths”: true
}
},
“default_version”: “”
},
“use_standard_auth”: false,
“disable_rate_limit”: false,
“definition”: {
“key”: “x-api-version”,
“location”: “header”
},
“use_oauth2”: false,
“allowed_ips”: [],
“org_id”: “58924c7c660450026f755e09”,
“enable_ip_whitelisting”: false,
“global_rate_limit”: {
“rate”: 0,
“per”: 0
},
“enable_context_vars”: false,
“tags”: [],
“strip_auth_data”: false,
“id”: “5b83c24fb8763d27f6f3f0a0”,
“enable_signature_checking”: false,
“use_openid”: false,
“enable_batch_request_support”: false,
“response_processors”: [],
“use_mutual_tls_auth”: false,
“auth_provider”: {
“name”: “”,
“storage_engine”: “”,
“meta”: {}
},
“do_not_track”: false,
“dont_set_quota_on_create”: false,
“expire_analytics_after”: 0,
“session_lifetime”: 0,
“jwt_disable_issued_at_validation”: false,
“jwt_disable_expires_at_validation”: false,
“jwt_disable_not_before_validation”: false
},
“hook_references”: [],
“is_site”: false,
“sort_by”: 0
}