Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTTP VerbAcceptURLResultExample Response
GETJSON/devicesGet a list of all devices.devices.json
GETJSON/devices?properties=system.id,system.name,system.type,system.serialGet a list of devcies with the data id, name, type and serialdevices_properties.json
GETJSON/devices/8Get the system table of device with id = 8.devices_8.json
GETJSON/devices/8&include=biosGet the system table and bios table for device with ID = 8.devices_8_include_bios.json
     

...

Example of updating a device

HTTP VerbAcceptURLDataResultExample Response
PATCHJSON/devices/8
Code Block
languagejs
{
"data": {
    "type" : "devices",
    "id" : 8,
    "attributes" : {
        "description" : "my HP"
        }
    }
}
Update the type description of the device with ID = 8.devices_8_patch_description.json      
      

 

Device sub_resource Names

...