Hardware Info Action

Request

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

Description

Hardware Info Action 用于获取当前FE的硬件信息。

Path parameters

Query parameters

Request body

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": "二, 05 9月 2019 11:07:42 CST"
  10. },
  11. "HardwareInfo": {
  12. "NetworkParameter": "...",
  13. "Processor": "...",
  14. "OS": "...",
  15. "Memory": "...",
  16. "FileSystem": "...",
  17. "NetworkInterface": "...",
  18. "Processes": "...",
  19. "Disk": "..."
  20. }
  21. },
  22. "count": 0
  23. }
  • 其中 HardwareInfo 字段中的各个值的内容,都是以html格式展现的硬件信息文本。