Skip to main content

Get disk template version spec

GET 

/disk_template_versions/disk_template_version/spec

Return details provided by this template's specification

Scopes

  • disk_templates
  • disk_templates:read

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Query Parameters

    disk_template_version[id] string

    The disk template version to return.

    All 'disk_template_version[]' params are mutually exclusive, only one can be provided.

Responses

Return details provided by this template's specification

Schema

    disk_template_version

    object

    required

    id string
    number integer
    stable boolean
    size_in_gb integer

    disk_template

    object

    id string
    name string
    permalink string

    spec

    TemplateSpec

    required

    fields

    object[]

  • Array [

  • name string
    type TemplateSpecFieldTypeEnum (string)

    Possible values: [Text, Boolean, Password, Keyboard]

    label string
    description stringnullable
    required boolean
    placeholder stringnullable
    prefill stringnullable
  • ]

Loading...