Datacenter build and management service
https://github.com/joyent/conch-api/blob/master/lib/Conch/Route/RackLayout.pm
Sets up the routes for /layout.
Sets up the routes for working with just one layout, mounted under a provided route prefix.
All routes require authentication.
Take note: All routes that reference a specific rack layout (prefix /layout/:layout_id
) are
also available under /rack/:rack_id_or_long_name/layout/:layout_id_or_rack_unit_start
as
well as
/room/datacenter_room_id_or_alias/rack/:rack_id_or_name/layout/:layout_id_or_rack_unit_start
.
GET /layout
POST /layout
201 Created
, plus Location headerGET /layout/:layout_id
POST /layout/:layout_id
204 No Content
, plus Location headerDELETE /layout/:layout_id
204 No Content
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/.