When developers use the current example to retrieve the edge locations via the diagnostics API, all they get is a deprecation warning. This is because the v1 has been deprecated.
Here's the updated example using "/diagnostic-tools/v2/ghost-locations/available" so that first-time users actually have a nice experience and get the expected results.
When developers use the current example to retrieve the edge locations via the diagnostics API, all they get is a deprecation warning. This is because the v1 has been deprecated.
Here's the updated example using "/diagnostic-tools/v2/ghost-locations/available" so that first-time users actually have a nice experience and get the expected results.