Kong 0.10 API format changes
See original GitHub issueI thought worth creating a placeholder for the Kong 0.10 API format changes. Release notes are on https://github.com/Mashape/kong/releases but there are also a few changes to the API not explicitly listed.
So far I found the apis
endpoint changes:
request_host
->hosts
request_path
->uris
strip_request_path
->strip_uri
- Adds
retries
,upstream_connect_timeout
,upstream_read_timeout
andupstream_send_timeout
0.9.9
✗ curl -s http://localhost:8001/apis | jq
{
"data": [
{
"created_at": 1488523764000,
"id": "38a544a4-e190-46dc-86b5-09d9c54ab7b0",
"name": "mockbin",
"preserve_host": false,
"request_host": "mockbin.com"
"request_path": "/mockbin",
"strip_request_path": true,
"upstream_url": "http://mockbin.com/",
}
],
"total": 1
}
0.10 RC4
✗ curl -s http://localhost:8001/apis | jq
{
"data": [
{
"created_at": 1488523764000,
"hosts": [
"mockbin.com"
],
"id": "38a544a4-e190-46dc-86b5-09d9c54ab7b0",
"name": "mockbin",
"preserve_host": false,
"retries": 5,
"strip_uri": true,
"upstream_connect_timeout": 60000,
"upstream_read_timeout": 60000,
"upstream_send_timeout": 60000,
"upstream_url": "http://mockbin.com",
"uris": [
"/mockbin"
]
}
],
"total": 1
}
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Kong Gateway Changelog | Kong Docs
Fixed an issue when passing a license from the control plane to the data plane using the Admin API /licenses endpoint. In hybrid...
Read more >CHANGELOG.md - Kong/kong - Sourcegraph
This is a new release of Kong, with no breaking changes with respect to the 2.x series, with Control Plane/Data Plane version checks,...
Read more >Kong 0.10.3 KONG_RESPONSE_LATENCY header returns 0 ...
I am using Kong 0.10.3 and it seems that the "latencies" object being logged by kong using the file logging plugin and the...
Read more >Configuring kong plugins - wicked.haufe.io
Introduction. In case you have to change something when proxying a request via the API Gateway, you can do that via Kong Plugins....
Read more >UPGRADE.md · Gitee 极速下载/kong - Gitee.com
Kong 3.0.x is a major upgrade, please be aware of any breaking changes between the 2.x and 3.x series. For 1.x series, please...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think we need to support applying pre 10 kongfig files to kong 10. #64 deals with the dumping so I’ll try to fix the
apply
side.A proposed fix for this: https://github.com/mybuilder/kongfig/pull/64