NodeRingsDocs

List Available Regions

List Available Regions on the NodeRings client API (GET /v1/marketplace/regions).

GET
/v1/marketplace/regions
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Query Parameters

filterAssetType?string

When set, only cities that sell a marketplace-listable plan of this asset type. Unspecified keeps every marketplace city (virtual machines and game servers).

Value in"ASSET_TYPE_UNSPECIFIED" | "ASSET_TYPE_VM" | "ASSET_TYPE_CONTAINER" | "ASSET_TYPE_STORAGE" | "ASSET_TYPE_GAMESERVER" | "ASSET_TYPE_CDN" | "ASSET_TYPE_IP_ADDRESS" | "ASSET_TYPE_DNS" | "ASSET_TYPE_GPU" | "ASSET_TYPE_GENERIC"

Response Body

application/json

curl -X GET "https://api.noderings.com/v1/marketplace/regions?filterAssetType" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}"
{
  "regions": [
    {
      "country": "string",
      "city": "string"
    }
  ],
  "totalCount": 0
}