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

domain.resource.list()

Parameters

  • DomainID - numeric (required)
  • ResourceID - numeric (optional)

Example Response

{
   "ERRORARRAY":[],
   "ACTION":"domain.resource.list",
   "DATA":[
      {
         "PROTOCOL":"",
         "TTL_SEC":0,
         "PRIORITY":0,
         "TYPE":"A",
         "TARGET":"75.127.96.245",
         "WEIGHT":0,
         "RESOURCEID":28536,
         "PORT":0,
         "DOMAINID":5093,
         "NAME":"www"
      },
      {
         "PROTOCOL":"",
         "TTL_SEC":0,
         "PRIORITY":0,
         "TYPE":"A",
         "TARGET":"75.127.96.245",
         "WEIGHT":0,
         "RESOURCEID":28537,
         "PORT":0,
         "DOMAINID":5093,
         "NAME":"mail"
      }
   ]
}

Errors

None.