AP-West in US?

using the Region API and found

{
  id: 'ap-west',
  country: 'us',
  capabilities: [
    'Linodes',
    'NodeBalancers',
    'Block Storage',
    'GPU Linodes',
    'Kubernetes'
  ],
  status: 'ok',
  resolvers: {
    ipv4: '172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5',
    ipv6: ''
  }
}

Checking the IPs they appear in Asia, is this just a categorization of country?

1 Reply

You're right - that should have a country ID of "in" for India, as that data center is in Mumbai. Could you let us know what API call you made that provided this output? I was able to view the country code accurately when listing regions with the API:

curl https://api.linode.com/v4/regions

{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5"

If you can let us know what command you used that returned a country of "us" instead of "in", we'll be able to try to recreate the error and let our API team know.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct