Read S.M.A.R.T. data

Changed on
get/api/v1/metrics/smart

Request

  • Base URL
    http://localhost:59232
  • URL
    http://localhost:59232/api/v1/metrics/smart
  • Auth
    type (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

    • breaking

      the response's property type changed from array to object for status

    • breaking

      the response's property type changed from array to object for status

    • breaking

      the // response's property type changed from string to array for status

    • breaking

      the // response's property type changed from string to array for status

    • info

      the endpoint scheme security type AND scheme AND bearerFormat was added to the API

    • info

      the endpoint scheme security bearerAuth was 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