Datacenter build and management service
https://github.com/joyent/conch-api/blob/master/lib/Conch/Route/Rack.pm
Sets up the routes for /rack.
Sets up the routes for working with just one rack, mounted under a provided route prefix.
All routes require authentication.
Take note: All routes that reference a specific rack (prefix /rack/:rack_id) are also
available under /rack/:rack_id_or_long_name as well as
/room/datacenter_room_id_or_alias/rack/:rack_id_or_name.
POST /rack201 Created, plus Location headerGET /rack/:rack_id_or_namePOST /rack/:rack_id_or_name204 No Content, plus Location headerDELETE /rack/:rack_id_or_name204 No ContentGET /rack/:rack_id_or_name/layoutPOST /rack/:rack_id_or_name/layout204 No Content, plus Location headerGET /rack/:rack_id_or_name/assignmentPOST /rack/:rack_id_or_name/assignment204 No Content, plus Location headerDELETE /rack/:rack_id_or_name/assignmentThis method requires a request body.
204 No ContentPOST /rack/:rack_id_or_name/phase?rack_only=<0|1>The query parameter rack_only (defaults to 0) specifies whether to update
only the rack’s phase, or all the rack’s devices’ phases as well.
204 No Content, plus Location headerPOST /rack/:rack_id_or_name/links204 No Content, plus Location headerDELETE /rack/:rack_id_or_name/links204 No Content, plus Location headerGET /rack/:rack_id_or_name/layout/:layout_id_or_rack_unit_startSee “GET /layout/:layout_id” in Conch::Route::RackLayout.
POST /rack/:rack_id_or_name/layout/:layout_id_or_rack_unit_startSee “POST /layout/:layout_id” in Conch::Route::RackLayout.
DELETE /rack/:rack_id_or_name/layout/:layout_id_or_rack_unit_startSee “DELETE /layout/:layout_id” in Conch::Route::RackLayout.
Copyright Joyent, Inc.
This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.