A new version of the API (v4) is available here: developers.linode.com.

linode.disk.list()

Status values are 1: Ready and 2: Being Deleted.

Parameters

  • LinodeID - numeric (required)
  • DiskID - numeric (optional)

Example Response

{
   "ERRORARRAY":[],
   "ACTION":"linode.disk.list",
   "DATA":[
      {
         "UPDATE_DT":"2009-06-30 13:19:00.0",
         "DISKID":55319,
         "LABEL":"test label",
         "TYPE":"ext3",
         "LINODEID":8098,
         "ISREADONLY":0,
         "STATUS":1,
         "CREATE_DT":"2008-04-04 10:08:06.0",
         "SIZE":4096
      },
      {
         "UPDATE_DT":"2009-07-18 12:53:043.0",
         "DISKID":55320,
         "LABEL":"256M Swap Image",
         "TYPE":"swap",
         "LINODEID":8098,
         "ISREADONLY":0,
         "STATUS":1,
         "CREATE_DT":"2008-04-04 10:08:06.0",
         "SIZE":256
      }
   ]
}

Errors

None.