Skip to main content

Create Device Type

POST 

/api/v1/device-types

Registers a new device type in the hierarchy catalog. Requires the MANAGE_DISCOVERY role.

Request​

Body

required

    name stringrequired

    Name of the device type

    description string

    Description of the device type

    os string

    Possible values: [android, windows, linux, macos]

    Operating system of the platform

    cpuArchitecture string

    Possible values: [X86_64, ARM64]

    cpuCount number

    Number of vCPUs

    memoryMb number

    Memory size in MB

    diskGb number

    Disk size in GB

    diskType string

    Possible values: [HDD, SSD, NVME]

    networkType string

    Possible values: [NAT, BRIDGED, HOST_ONLY, CUSTOM]

    imageId string

    Optional image ID

    metadata object

    Optional tags or metadata

Responses​

Schema

    name stringrequired

    Name of the device type

    description string

    Description of the device type

    os string

    Possible values: [android, windows, linux, macos]

    Operating system of the platform

    cpuArchitecture string

    Possible values: [X86_64, ARM64]

    cpuCount number

    Number of vCPUs

    memoryMb number

    Memory size in MB

    diskGb number

    Disk size in GB

    diskType string

    Possible values: [HDD, SSD, NVME]

    networkType string

    Possible values: [NAT, BRIDGED, HOST_ONLY, CUSTOM]

    imageId string

    Optional image ID

    metadata object

    Optional tags or metadata

    id numberrequired

    ID of the device type

    createdAt date-timerequired

    Timestamp when the device type was created

    updatedAt date-timerequired

    Timestamp when the device type was last updated

Loading...