Catalog
Mayadyn’s unified names for providers, regions, sizes and images. A VM or
app request may use a catalog name (small, ubuntu-24.04) or a native
cloud value (an OCI shape, a GCP machine type, an image id), which is
passed to the cloud unchanged.
Supported providers today are Oracle Cloud (oci) and Google Cloud (gcp).
AWS and Microsoft Azure are coming soon.
GET /v1/catalog
Section titled “GET /v1/catalog”Auth: none required. Credentials, if sent, are checked (a bad token is
still 401). Rate limited per caller (600/minute).
Response 200 (Catalog):
{ "providers": ["gcp", "oci"], "regions": [ {"provider": "oci", "id": "me-jeddah-1", "city": "Jeddah", "country": "SA"}, {"provider": "oci", "id": "me-dubai-1", "city": "Dubai", "country": "AE"}, {"provider": "oci", "id": "me-abudhabi-1", "city": "Abu Dhabi", "country": "AE"}, {"provider": "oci", "id": "eu-frankfurt-1", "city": "Frankfurt", "country": "DE"}, {"provider": "oci", "id": "uk-london-1", "city": "London", "country": "GB"}, {"provider": "oci", "id": "us-ashburn-1", "city": "Ashburn", "country": "US"}, {"provider": "gcp", "id": "me-central2", "city": "Dammam", "country": "SA"}, {"provider": "gcp", "id": "me-central1", "city": "Doha", "country": "QA"}, {"provider": "gcp", "id": "europe-west3", "city": "Frankfurt", "country": "DE"}, {"provider": "gcp", "id": "europe-west2", "city": "London", "country": "GB"}, {"provider": "gcp", "id": "us-east4", "city": "Ashburn", "country": "US"}, {"provider": "gcp", "id": "us-central1", "city": "Iowa", "country": "US"} ], "sizes": [ {"id": "xsmall", "vcpus": 2, "memory_gb": 4, "native": {"oci": "VM.Standard.E4.Flex (1 OCPU)", "gcp": "e2-medium"}}, {"id": "small", "vcpus": 2, "memory_gb": 8, "native": {"oci": "VM.Standard.E4.Flex (1 OCPU)", "gcp": "e2-standard-2"}}, {"id": "medium", "vcpus": 4, "memory_gb": 16, "native": {"oci": "VM.Standard.E4.Flex (2 OCPU)", "gcp": "e2-standard-4"}}, {"id": "large", "vcpus": 8, "memory_gb": 32, "native": {"oci": "VM.Standard.E4.Flex (4 OCPU)", "gcp": "e2-standard-8"}} ], "images": [ {"id": "ubuntu-24.04", "name": "Ubuntu 24.04 LTS", "ssh_user": "ubuntu", "providers": ["oci", "gcp"]}, {"id": "ubuntu-22.04", "name": "Ubuntu 22.04 LTS", "ssh_user": "ubuntu", "providers": ["oci", "gcp"]}, {"id": "oracle-linux-9", "name": "Oracle Linux 9", "ssh_user": "opc", "providers": ["oci"]}, {"id": "debian-12", "name": "Debian 12", "ssh_user": "debian", "providers": ["gcp"]} ]}| Field | Meaning |
|---|---|
providers |
provider kinds you can connect, sorted |
regions |
the regions the console offers first; any other region the cloud account has also works. country is ISO 3166-1 alpha-2. |
sizes |
unified sizes. native shows the OCI shape (with OCPUs; 1 OCPU = 2 vCPUs) and the GCP machine type used. |
images |
unified images, the SSH login user, and the providers that offer them. On OCI the latest platform image of that OS and version is used; on GCP the image family. |
Defaults when a request omits them: size small, image ubuntu-24.04,
region = the connection’s default_region.
curl -s "$MAYADYN/v1/catalog"