Retrieve Template details

GET /template/{id}

Path parameters

  • id string(uuid) Required

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • Template maintainer

    • Template description

      Maximum length is 255.

    • Enable SSH key-based login

    • family string

      Template family

    • name string

      Template name

      Minimum length is 1, maximum length is 255.

    • Template default user

      Minimum length is 1, maximum length is 255.

    • size integer(int64)

      Template size

      Minimum value is 0.

    • Enable password-based login

    • build string

      Template build

    • checksum string

      Template MD5 checksum

    • Boot mode (default: legacy)

      Values are legacy or uefi.

    • id string(uuid)

      Template ID

    • zones array[string]

      Zones availability

      Values are ch-dk-2, de-muc-1, ch-gva-2, at-vie-1, de-fra-1, bg-sof-1, or at-vie-2.

    • url string

      Template source URL

    • version string

      Template version

    • created-at string(date-time)

      Template creation date

    • Template visibility

      Values are private or public.

GET /template/{id}
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/template/{id}
Response examples (200)
{
  "maintainer": "string",
  "description": "string",
  "ssh-key-enabled": true,
  "family": "string",
  "name": "string",
  "default-user": "string",
  "size": 42,
  "password-enabled": true,
  "build": "string",
  "checksum": "string",
  "boot-mode": "legacy",
  "id": "string",
  "zones": [
    "ch-dk-2"
  ],
  "url": "string",
  "version": "string",
  "created-at": "2024-05-04T09:42:00+00:00",
  "visibility": "private"
}