Component routes
Available components :
- cpu
- ram
- power-supply
- ssd
- hdd
- case
- motherboard
- assembly
POST /v1/component/<component_name>
You can send an empty component. In this case, only archetype values will be used
You can set a units. If so, all the impacts will be multiplied by the number of units.
POST /v1/component/cpu
All needed information are sent
Incomplete CPU, die-size will be retrieved with the cpu family and core_units
Incomplete CPU die-size and the average power will be retrieved with the cpu name
POST /v1/component/ssd
All needed information are sent
Incomplete SSD, die-size will be retrieved with the manufacturer name
POST /v1/component/ram
All needed information are sent
Incomplete RAM, die-size will be retrieved with the manufacturer name and the process
POST /v1/component/hdd
HDD impacts have a fix value
POST /v1/component/motherboard
motherboard impacts have a fix value
POST /v1/component/power_supply
All needed information are sent
POST /v1/component/case
rack impacts have a fix value
blade impacts have a fix value
case_type will be set to depending on the archetype
Usage
See usage