Linode Instances

Kernels List

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

Lists available Kernels.

Due to the extensive list of available kernels, please keep pagination controls in mind when managing responses to this command.

Query Parameters

page
integer > = 1
Default: 1

The page of a collection to return.

page_size
integer [25 .. 500]
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)",
      "deprecated": "",
      "version": "4.15.7",
      "kvm": true,
      "architecture": "x86_64",
      "pvops": "",
      "built": "2018-01-01T00:01:01"
    }
  ],
  "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.

deprecated
Filterable
boolean

If this Kernel is marked as deprecated, this field has a value of true; otherwise, this field is false.

version
Filterable
string

Linux Kernel version.

kvm
Filterable
boolean

If this Kernel is suitable for KVM Linodes.

architecture
Filterable
string
Enum: "x86_64""i386"

The architecture of this Kernel.

pvops
Filterable
boolean

If this Kernel is suitable for paravirtualized operations.

built
string

The date on which this Kernel was built.

page
integer

The current page.

pages
integer

The total number of pages.

results
integer

The total number of results.

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.