Input URI
{base url} + db/UNIT |
---|
Active Methods
GET, PUT |
---|
JSON Schema
Details
{
"UNIT": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"FORCE": {
"description": "Force",
"type": "string"
},
"DIST": {
"description": "Distance",
"type": "string"
},
"HEAT": {
"description": "Heat",
"type": "string"
},
"TEMPER": {
"description": "TemperUnit",
"type": "string"
}
}
}
}
"UNIT": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"FORCE": {
"description": "Force",
"type": "string"
},
"DIST": {
"description": "Distance",
"type": "string"
},
"HEAT": {
"description": "Heat",
"type": "string"
},
"TEMPER": {
"description": "TemperUnit",
"type": "string"
}
}
}
}
Examples
Units
{
"Assign": {
"1": {
"FORCE": "KIPS",
"DIST": "FT",
"HEAT": "BTU",
"TEMPER": "C"
}
}
}
"Assign": {
"1": {
"FORCE": "KIPS",
"DIST": "FT",
"HEAT": "BTU",
"TEMPER": "C"
}
}
}
Specifications
No. | Description | Key | Value Type | Default | Required |
---|---|---|---|---|---|
1 |
Force (Mass) • N (kg): "N" • kN (ton): "KN" • kgf (kg): "KGF" • tonf (ton): "TONF" • lbf (lb): "LBF" • kips (kips/g): "KIPS" |
"FORCE" |
String |
- |
Optional |
2 |
Length • m: "M" • cm: "CM" • mm: "MM" • ft: "FT" • in: "IN" |
"DIST" |
String |
- |
Optional |
3 |
Heat • cal: "CAL" • kcal: "KCAL" • J: "J" • kJ: "KJ" • Btu: "BTU" |
"HEAT" |
String |
- |
Optional |
4 |
Temperature Unit • Celsius: "C" • Fahrenheit: "F" |
"TEMPER" |
String |
- |
Optional |