{
  "name": "Tyk API with Souin plugin",
  "api_id": "1",
  "org_id": "default",
  "definition": {
    "location": "header",
    "key": "version"
  },
  "auth": {
    "auth_header_name": "authorization"
  },
  "use_keyless": true,
  "version_data": {
    "not_versioned": true,
    "versions": {
      "Default": {
        "name": "Default",
        "expires": "3000-01-02 15:04",
        "use_extended_paths": true,
        "extended_paths": {
          "ignored": [],
          "white_list": [],
          "black_list": []
        }
      }
    }
  },
  "proxy": {
    "listen_path": "/tyk-api-test/",
    "target_url": "http://httpbin.org",
    "strip_listen_path": true
  },
  "custom_middleware": {
    "post_auth_check": [
      {
        "name": "SouinRequestHandler",
        "path": "<path>/souin-plugin.so"
      }
    ],
    "driver": "goplugin"
  },
  "enable_batch_request_support": true,
  "souin": {
    "api": {
        "souin": {
            "enable": true
        }
    },
    "default_cache": {
      "regex": {
        "exclude": "/test2.*"
      },
      "ttl": "10s"
    }
  }
}
