question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kong 0.10 API format changes

See original GitHub issue

I 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:

  1. request_host -> hosts
  2. request_path -> uris
  3. strip_request_path -> strip_uri
  4. Adds retries, upstream_connect_timeout, upstream_read_timeout and upstream_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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
CyExycommented, Apr 12, 2017

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.

0reactions
rogomancommented, Apr 11, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found