GET /api/v1/machines.json
Fetch all machines

These are the canonical machine descriptions, not the location-centric ones

Supported Formats

json

Params

Param name Description
no_details
optional

Omit unnecessary metadata for initial app loading

Validations:

  • Must be a Integer

region_id
optional

show only machines from this region

Validations:

  • Must be a Integer

manufacturer
optional

show only machines from this manufacturer

Validations:

  • Must be a String


POST /api/v1/machines.json
Create a new canonical machine

This does not create a machine at a location, it just creates the new canonical machine unless it already exists in the system

Supported Formats

json

Params

Param name Description
machine_name
optional

Name of the new canonical machine

Validations:

  • Must be a String

location_id
optional

Location ID of where the machine was added

Validations:

  • Must be a Integer