{ "CORS": { "enable": false, "max_age": 24, "allow_credentials": false, "exposed_headers": [], "allowed_headers": [ "Origin", "Accept", "Content-Type", "X-Requested-With", "Authorization" ], "options_passthrough": false, "debug": false, "allowed_origins": [ "*" ], "allowed_methods": [ "GET", "POST", "HEAD" ] }, "active": true, "allowed_ips": [], "api_id": "dd8b6740830d4d0270391b2587fb4d08", "auth": { "use_param": false, "param_name": "", "use_cookie": false, "cookie_name": "", "auth_header_name": "Authorization", "use_certificate": false, "validate_signature": false, "signature": { "algorithm": "", "header": "", "secret": "", "allowed_clock_skew": 0, "error_code": 0, "error_message": "" } }, "auth_configs": { "authToken": { "use_param": false, "param_name": "", "use_cookie": false, "cookie_name": "", "auth_header_name": "Authorization", "use_certificate": false, "validate_signature": false, "signature": { "algorithm": "", "header": "", "secret": "", "allowed_clock_skew": 0, "error_code": 0, "error_message": "" } }, "basic": { "use_param": false, "param_name": "", "use_cookie": false, "cookie_name": "", "auth_header_name": "Authorization", "use_certificate": false, "validate_signature": false, "signature": { "algorithm": "", "header": "", "secret": "", "allowed_clock_skew": 0, "error_code": 0, "error_message": "" } }, "coprocess": { "use_param": false, "param_name": "", "use_cookie": false, "cookie_name": "", "auth_header_name": "Authorization", "use_certificate": false, "validate_signature": false, "signature": { "algorithm": "", "header": "", "secret": "", "allowed_clock_skew": 0, "error_code": 0, "error_message": "" } }, "hmac": { "use_param": false, "param_name": "", "use_cookie": false, "cookie_name": "", "auth_header_name": "Authorization", "use_certificate": false, "validate_signature": false, "signature": { "algorithm": "", "header": "", "secret": "", "allowed_clock_skew": 0, "error_code": 0, "error_message": "" } }, "jwt": { "use_param": false, "param_name": "", "use_cookie": false, "cookie_name": "", "auth_header_name": "Authorization", "use_certificate": false, "validate_signature": false, "signature": { "algorithm": "", "header": "", "secret": "", "allowed_clock_skew": 0, "error_code": 0, "error_message": "" } }, "oauth": { "use_param": false, "param_name": "", "use_cookie": false, "cookie_name": "", "auth_header_name": "Authorization", "use_certificate": false, "validate_signature": false, "signature": { "algorithm": "", "header": "", "secret": "", "allowed_clock_skew": 0, "error_code": 0, "error_message": "" } }, "oidc": { "use_param": false, "param_name": "", "use_cookie": false, "cookie_name": "", "auth_header_name": "Authorization", "use_certificate": false, "validate_signature": false, "signature": { "algorithm": "", "header": "", "secret": "", "allowed_clock_skew": 0, "error_code": 0, "error_message": "" } } }, "auth_provider": { "name": "", "storage_engine": "", "meta": {} }, "base_identity_provided_by": "", "basic_auth": { "disable_caching": false, "cache_ttl": 0, "extract_from_body": false, "body_user_regexp": "", "body_password_regexp": "" }, "blacklisted_ips": [], "cache_options": { "cache_timeout": 60, "enable_cache": true, "cache_all_safe_requests": false, "cache_response_codes": [], "enable_upstream_cache_control": false, "cache_control_ttl_header": "", "cache_by_headers": [] }, "certificates": [], "check_host_against_uptime_tests": false, "client_certificates": [], "config_data": {}, "custom_middleware": { "pre": [], "post": [], "post_key_auth": [], "auth_check": { "name": "", "path": "", "require_session": false, "raw_body_only": false }, "response": [], "driver": "", "id_extractor": { "extract_from": "", "extract_with": "", "extractor_config": {} } }, "custom_middleware_bundle": "", "definition": { "location": "header", "key": "x-api-version", "strip_path": false }, "disable_quota": false, "disable_rate_limit": false, "do_not_track": false, "domain": "", "dont_set_quota_on_create": false, "enable_batch_request_support": false, "enable_context_vars": false, "enable_coprocess_auth": false, "enable_detailed_recording": false, "enable_ip_blacklisting": false, "enable_ip_whitelisting": false, "enable_jwt": false, "enable_proxy_protocol": false, "enable_signature_checking": false, "event_handlers": { "events": {} }, "expire_analytics_after": 0, "global_rate_limit": { "rate": 0, "per": 0 }, "graphql": { "schema": "", "enabled": false, "engine": { "field_configs": [], "data_sources": [] }, "type_field_configurations": [], "execution_mode": "proxyOnly", "proxy": { "auth_headers": {} }, "subgraph": { "sdl": "" }, "supergraph": { "subgraphs": [], "merged_sdl": "", "global_headers": {} }, "version": "2", "playground": { "enabled": false, "path": "" } }, "hmac_allowed_algorithms": [], "hmac_allowed_clock_skew": -1, "id": "6304f7ff2e6d3a000165c4bd", "internal": false, "jwt_client_base_field": "", "jwt_default_policies": [], "jwt_expires_at_validation_skew": 0, "jwt_identity_base_field": "", "jwt_issued_at_validation_skew": 0, "jwt_not_before_validation_skew": 0, "jwt_policy_field_name": "", "jwt_scope_claim_name": "", "jwt_scope_to_policy_mapping": {}, "jwt_signing_method": "", "jwt_skip_kid": false, "jwt_source": "", "listen_port": 0, "name": "REST Sample Middleware Mock Response", "notifications": { "shared_secret": "", "oauth_on_keychange_url": "" }, "oauth_meta": { "allowed_access_types": [], "allowed_authorize_types": [], "auth_login_redirect": "" }, "openid_options": { "providers": [], "segregate_by_client": false }, "org_id": "62d7feb52e6d3a0001b832a9", "pinned_public_keys": {}, "protocol": "", "proxy": { "target_url": "http://httpbin.org/", "service_discovery": { "endpoint_returns_list": false, "cache_timeout": 0, "parent_data_path": "", "query_endpoint": "", "use_discovery_service": false, "_sd_show_port_path": false, "target_path": "", "use_target_list": false, "use_nested_query": false, "data_path": "", "port_data_path": "" }, "check_host_against_uptime_tests": false, "transport": { "ssl_insecure_skip_verify": false, "ssl_min_version": 0, "proxy_url": "", "ssl_ciphers": [] }, "target_list": [], "preserve_host_header": false, "strip_listen_path": true, "enable_load_balancing": false, "listen_path": "/rest-mw-mock-response/", "disable_strip_slash": true }, "request_signing": { "is_enabled": false, "secret": "", "key_id": "", "algorithm": "", "header_list": [], "certificate_id": "", "signature_header": "" }, "response_processors": [], "session_lifetime": 0, "session_provider": { "name": "", "storage_engine": "", "meta": {} }, "slug": "rest-middleware-mock-response", "strip_auth_data": false, "tag_headers": [], "tags": [], "upstream_certificates": {}, "uptime_tests": { "check_list": [], "config": { "expire_utime_after": 0, "service_discovery": { "use_discovery_service": false, "query_endpoint": "", "use_nested_query": false, "parent_data_path": "", "data_path": "", "cache_timeout": 60 }, "recheck_wait": 0 } }, "use_basic_auth": false, "use_go_plugin_auth": false, "use_keyless": true, "use_mutual_tls_auth": false, "use_oauth2": false, "use_openid": false, "use_standard_auth": false, "version_data": { "not_versioned": true, "default_version": "", "versions": { "Default": { "name": "Default", "expires": "", "paths": { "ignored": [], "white_list": [], "black_list": [] }, "use_extended_paths": true, "global_headers": {}, "global_headers_remove": [], "global_response_headers": {}, "global_response_headers_remove": [], "ignore_endpoint_case": false, "global_size_limit": 0, "override_target": "", "extended_paths": { "white_list": [ { "path": "/hello-world", "ignore_case": true, "method_actions": { "GET": { "action": "reply", "code": 200, "data": "{\n \"Hello world\"\n}", "headers": {} } } }, { "path": "/not-found", "ignore_case": false, "method_actions": { "GET": { "action": "reply", "code": 404, "data": "Not Found", "headers": {} } } } ] } } } } }