Hardware Info Action

Request

  1. GET /rest/v1/hardware_info/fe/

Description

Hardware Info Action is used to obtain the hardware information of the current FE.

Path parameters

None

Query parameters

None

Request body

None

Response

  1. {
  2. "msg": "success",
  3. "code": 0,
  4. "data": {
  5. "VersionInfo": {
  6. "Git": "git://host/core@5bc28f4c36c20c7b424792df662fc988436e679e",
  7. "Version": "trunk",
  8. "BuildInfo": "cmy@192.168.1",
  9. "BuildTime": "Tuesday, 05 September 2019 11:07:42 CST"
  10. },
  11. "HarewareInfo": {
  12. "NetworkParameter": "...",
  13. "Processor": "...",
  14. "OS": "...",
  15. "Memory": "...",
  16. "FileSystem": "...",
  17. "NetworkInterface": "...",
  18. "Processes": "...",
  19. "Disk": "..."
  20. }
  21. },
  22. "count": 0
  23. }
  • The contents of each value in the HarewareInfo field are all hardware information text displayed in html format.