machinabio / limbforge-service

Single-purpose microservice to generate STLs from parametric CAD designs.
Apache License 2.0
3 stars 1 forks source link

UI Terminal Devices endpoint #17

Open kaitlynhova opened 7 years ago

kaitlynhova commented 7 years ago

follow up to https://github.com/machinabio/limbforge-service/issues/11

  1. Create the Terminal Devices endpoint in shift
  2. Implement the changes in Limbforge's front end app.
luzlab commented 7 years ago

GET /ui/terminalDevice?device=<DEVICE.SLUG> Returns:

{
  terminalDevices: [
    {
      name: 'Active',
      slug: 'active'
    }
  ], ...
}
kaitlynhova commented 7 years ago

Here is the response i'd like:

{
  terminalDevices: [
    {
      name: 'Active',
      slug: 'active'
    },
    {
      name: 'Passive',
      slug: 'passive'
    }
  ]
}
luzlab commented 7 years ago

I think it's done. I'm deploying to production.