Open kaitlynhova opened 7 years ago
GET /ui/components?amputationLevel=<AL_SLUG>
Returns:
{
devices: [
{
slug: 'xrp-arm'
name: 'XRP arm',
icon: 'https://www.AWSurlhere',
creator: 'Limbforge',
componentType: 'passive',
weight: '250 g -350 g',
description: 'The XRP Arm is a lightweight, highly cosmetic passive device with several terminal device options.',
tags: [ 'social occasions, supporting objects' ],
printTime: '14 hrs - 20 hrs'
}
], ...
}
Here is the response I'd like:
for Transradial devices request:
{
devices: [
{
name: 'XRA arm',
icon: 'http://s3.amazonaws.com/limbforgeimages/components/icons/000/000/003/original/ecf.jpg?1485496825',
creator: 'Limbforge',
component_type: 'active, VO, VC',
weight: '280-380g',
description: 'The XRA Arm is a lightweight, cosmetic transradial device that can be configured to be either VO or VC. uses: passive cosmetic',
uses: 'picking up small objects, supporting grasps',
print_time: '16-22hrs'
}
{
slug: 'xrp-arm'
name: 'XRP arm',
icon: 'http://s3.amazonaws.com/limbforgeimages/components/icons/000/000/003/original/ecf.jpg?1485496825',
creator: 'Limbforge',
componentType: 'passive',
weight: '250 g -350 g',
description: 'The XRP Arm is a lightweight, highly cosmetic passive device with several terminal device options.',
tags: [ 'social occasions, supporting objects' ],
printTime: '14 hrs - 20 hrs'
}
]
}
I think it's done. I'm deploying to production.
@luzlab I have componentType set on it but for some reason it's not passing through to my front end. Do you have any ideas?
follow up to https://github.com/machinabio/limbforge-service/issues/11