Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

NAME

Conch::Route

DESCRIPTION

Set up all the routes for the Conch Mojo application.

METHODS

all_routes

Set up the full route structure

Unless otherwise specified all routes require authentication.

GET /ping

GET /version

POST /login

POST /logout

GET /schema/request/:schema_name

GET /schema/response/:schema_name

Returns the Request or Response schema specified.

GET /workspace/:workspace/device-totals

GET /workspace/:workspace/device-totals.circ

POST /refresh_token

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/.