github.com/dbernstein1/tyk@v2.9.0-beta9-dl-apic+incompatible/apps/coprocess_lua_app_sample.json (about) 1 { 2 "name": "Tyk Test API (Coprocess + Lua)", 3 "api_id": "5", 4 "org_id": "default", 5 "definition": { 6 "location": "header", 7 "key": "version" 8 }, 9 "auth": { 10 "auth_header_name": "authorization" 11 }, 12 "use_keyless": true, 13 "version_data": { 14 "not_versioned": true, 15 "versions": { 16 "Default": { 17 "name": "Default", 18 "expires": "3000-01-02 15:04", 19 "use_extended_paths": true, 20 "extended_paths": { 21 "ignored": [], 22 "white_list": [], 23 "black_list": [] 24 } 25 } 26 } 27 }, 28 "proxy": { 29 "listen_path": "/coprocess-lua-tyk-api-test/", 30 "target_url": "http://httpbin.org", 31 "strip_listen_path": true 32 }, 33 "custom_middleware": { 34 "pre": [ 35 { 36 "name": "MyPreMiddleware", 37 "require_session": false 38 } 39 ], 40 "driver": "lua" 41 }, 42 "enable_batch_request_support": true 43 }