Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

Conch::Route::DeviceReport

SOURCE

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

METHODS

routes

Sets up the routes for /device_report.

ROUTE ENDPOINTS

All routes require authentication.

POST /device_report

Submits a device report for processing. The device must already exist. Device data will be updated in the database.

POST /device_report?no_update_db=1

Submits a device report for processing. Device data will not be updated in the database; only validations will be run.

GET /device_report/:device_report_id

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