Read S.M.A.R.T. data
Changed onRequest
- Base URLhttp://localhost:59232
- URLhttp://localhost:59232/api/v1/metrics/smart
- Authtype (a scheme the document does not define) and scheme (a scheme the document does not define) and bearerFormat (a scheme the document does not define)
Response
OK
Example response
{
"data": {
"available_spare": "100%",
"available_spare_threshold": "10%",
"controller_busy_time": "0",
"critical_warning": "0",
"data_units_read": "1234567",
"data_units_written": "7654321",
"host_read_commands": "100000",
"host_write_commands": "50000",
"percentage_used": "5",
"power_cycles": "100",
"power_on_hours": "1000",
"smart_overall_health_self_assessment_test_result": "PASSED",
"temperature": "35C",
"unsafe_shutdowns": "0"
},
"errors": [
{
"metric": [
"cpu.temperature"
]
}
]
}Changes
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning
- breaking
the
response's property type changed fromarraytoobjectfor status - breaking
the
response's property type changed fromarraytoobjectfor status - breaking
the
//response's property type changed fromstringtoarrayfor status - breaking
the
//response's property type changed fromstringtoarrayfor status - info
the endpoint scheme security
type AND scheme AND bearerFormatwas added to the API - info
the endpoint scheme security
bearerAuthwas removed from the API - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking