Created
October 24, 2018 17:54
-
-
Save matiasinsaurralde/9f7926d44d7a77eacdc12f9c6d57d98b to your computer and use it in GitHub Desktop.
apitest.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Tyk Test API", | |
"api_id": "3", | |
"org_id": "default", | |
"use_keyless": true, | |
"auth": { | |
"auth_header_name": "" | |
}, | |
"version_data": { | |
"not_versioned": false, | |
"versions": { | |
"v1": { | |
"name": "v1", | |
"expires": "", | |
"override_target": "", | |
"extended_paths": { | |
"white_list": [ | |
{ | |
"method": "", | |
"timeout": 0, | |
"path": "/credit-cards/accounts/{accountid}/paymentplans/cheapestplan", | |
"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": "/credit-cards/accounts/{accountid}/paymentplans/setplan", | |
"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": "/credit-cards/accounts/{accountid}/paymentplans", | |
"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": "/credit-cards/accounts/{accountId}/customers", | |
"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": "/credit-cards/accounts/{accountid}$", | |
"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": "/health", | |
"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": {} | |
} | |
} | |
} | |
], | |
"black_list": [ | |
{ | |
"method": "", | |
"timeout": 0, | |
"path": "/credit-cards/accounts/{accountid}/paymentplans/setplan", | |
"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": {} | |
} | |
} | |
} | |
] | |
}, | |
"global_headers": {}, | |
"global_headers_remove": [], | |
"global_size_limit": 0, | |
"use_extended_paths": true | |
} | |
}, | |
"default_version": "" | |
}, | |
"definition": { | |
"location": "header", | |
"key": "x-api-version" | |
}, | |
"upstream_certificates": { | |
}, | |
"proxy": { | |
"listen_path": "/quickstart/", | |
"target_url": "http://localhost/", | |
"strip_listen_path": true | |
}, | |
"custom_middleware_bundle_": "bundle.zip", | |
"do_not_track": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment