Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

NAME

Conch::Controller::HardwareProduct

METHODS

list

Get a list of all available hardware products.

Response uses the HardwareProducts json schema.

find_hardware_product

Chainable action that looks up the object by id, sku, name or alias depending on the url pattern, stashing the query to get to it in hardware_product_rs.

get

Get the details of a single hardware product.

Response uses the HardwareProduct json schema.

create

Creates a new hardware_product, and possibly also a hardware_product_profile.

update

Updates an existing hardware_product, possibly updating or creating a hardware_product_profile as needed.

delete

LICENSING

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 http://mozilla.org/MPL/2.0/.