Linode Instances

List Kernels

get
https://api.linode.com/v4/linode/kernels

Lists available Kernels.

Query Parameters

page
integer > = 1
Default: 1

The page of a collection to return.

page_size
integer [25 .. 100]
Default: 100

The number of items to return per page.

Request Samples

curl https://api.linode.com/v4/linode/kernels

Response Samples

{
  "data": [
    {
      "id": "",
      "label": "Latest 64 bit (4.15.7-x86_64-linode102)",
      "version": "4.15.7",
      "kvm": true,
      "xen": "",
      "architecture": "x86_64",
      "pvops": ""
    }
  ],
  "page": 1,
  "pages": 1,
  "results": 1
}

Responses

200: Returns an array of Kernels.

data
array of objects
id
string

The unique ID of this Kernel.

label
Filterable
string

The friendly name of this Kernel.

version
Filterable
string

Linux Kernel version.

kvm
Filterable
boolean

If this Kernel is suitable for KVM Linodes.

xen
Filterable
boolean

If this Kernel is suitable for Xen Linodes.

architecture
Filterable
string
Enum: "x86_64""i386"

The architecture of this Kernel.

pvops
Filterable
boolean

If this Kernel is suitable for paravirtualized operations.

page
integer
pages
integer
results
integer

default: Error

errors
array of objects
reason
string

What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.

field
string

The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.