[[start#objects|<< zurück]] ==== device object ==== ^ Method ^ URL ^ Notes ^ | GET | /rest/{IF}/device | returns a list of all cabinets | | GET | /rest/{IF}/device/{id} | returns information about a single cabinet object | == available parameters == ^ Parameter ^ Type ^ Method ^ Notes ^ | id | int | GET, PUT, DELETE | unique identifier of the object | | name | string | POST, PUT | Device name, unique (i.e. DNS name) | | cabpos | string | POST, PUT | built position in cabinet (HU) | | height | text | POST | height of the cabinet in HU | | notes | text | POST, PUT | further notes or description | | type | string | POST, PUT | global type of the device | | area_id | int | POST, PUT | link to the area (i.e. room) | | cabinet_id | int | POST, PUT | link to the cabinet | | devtype_id | int | POST | concrete device type | | device_id | int | POST, PUT | cluster and stack devices | | realm_id | int | POST, PUT | realm assigned | | tenant_id | int | POST, PUT | tenant of the device | [[start#objects|<< zurück]]