Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

Conch::Route::Build

SOURCE

https://github.com/joyent/conch-api/blob/master/lib/Conch/Route/Build.pm

METHODS

routes

Sets up the routes for /build.

ROUTE ENDPOINTS

All routes require authentication.

GET /build

Supports the following optional query parameters:

POST /build

GET /build/:build_id_or_name

Supports the following optional query parameters:

POST /build/:build_id_or_name

POST /build/:build_id_or_name/links

GET /build/:build_id_or_name/user

POST /build/:build_id_or_name/user?send_mail=<1|0>

Takes one optional query parameter send_mail=<1|0> (defaults to 1) to send an email to the user.

DELETE /build/:build_id_or_name/user/#target_user_id_or_email?send_mail=<1|0>

Takes one optional query parameter send_mail=<1|0> (defaults to 1) to send an email to the user.

GET /build/:build_id_or_name/organization

POST /build/:build_id_or_name/organization?send_mail=<1|0>

Takes one optional query parameter send_mail=<1|0> (defaults to 1) to send an email to the organization members and build admins.

DELETE /build/:build_id_or_name/organization/:organization_id_or_name?send_mail=<1|0>

Takes one optional query parameter send_mail=<1|0> (defaults to 1) to send an email to the organization members and build admins.

GET /build/:build_id_or_name/device

Accepts the following optional query parameters:

GET /build/:build_id_or_name/device/pxe

POST /build/:build_id_or_name/device

POST /build/:build_id_or_name/device/:device_id_or_serial_number

DELETE /build/:build_id_or_name/device/:device_id_or_serial_number

GET /build/:build_id_or_name/rack

Accepts the following optional query parameters:

POST /build/:build_id_or_name/rack/:rack_id_or_name

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 https://www.mozilla.org/en-US/MPL/2.0/.