Many improvements and additions to endpoints for racks and rooms.
room.vendor_name is now a required (not-nullable) column
whenever you could do <method> /rack/:rack_id/*, you can do <method> /rack/:rack_id_or_full_name/*, where full name is the room vendor_name + ':' + rack name (e.g. "DC12:1F:211250:0101"), and also <method> /room/:id_or_alias/rack/:rack_id_or_short_name_or_full_name/*
wherever you could do <method> /room/:id_or_alias/:rack_name/*, you can do <method> /room/:id_or_alias/rack/:rack_id/* and <method> /room/:id_or_alias/rack/:full_rack_name/*
open up <method> /room/:id_or_alias endpoints to non-sysadmins, by checking the user role on rack(s) located in the room (racks without user access will be omitted from results)
GET /rack_role/name=:name is now GET /rack_role/:name
GET /room/*/racks is now GET /room/*/rack
GET /rack is removed entirely (racks should be fetched from the build, room or workspace endpoints)
the DeviceLocation schema now contains more useful information (affects GET /device/:id_or_serial, GET /device/:id_or_serial/location)
pxe endpoints now contain more useful location data
Many improvements and additions to endpoints for racks and rooms.
<method> /rack/:rack_id/*
, you can do<method> /rack/:rack_id_or_full_name/*
, where full name is the room vendor_name + ':' + rack name (e.g. "DC12:1F:211250:0101"), and also<method> /room/:id_or_alias/rack/:rack_id_or_short_name_or_full_name/*
<method> /room/:id_or_alias/:rack_name/*
, you can do<method> /room/:id_or_alias/rack/:rack_id/*
and<method> /room/:id_or_alias/rack/:full_rack_name/*
<method> /room/:id_or_alias
endpoints to non-sysadmins, by checking the user role on rack(s) located in the room (racks without user access will be omitted from results)GET /rack_role/name=:name
is nowGET /rack_role/:name
GET /room/*/racks
is nowGET /room/*/rack
GET /rack
is removed entirely (racks should be fetched from the build, room or workspace endpoints)GET /device/:id_or_serial
,GET /device/:id_or_serial/location
)