Rest API need to return required data

Hi

Our requirement is that we need a rest  api  that returns data in a json format. For example, we will send server name i.e  krishna123  to rest api and it should return necessary information such as

  1. 1) Node status
  2. 2) Polling IP Address:
  3. 3) Machine Type:
  4. 4) Packet Loss
  5. 5) CPU Load
  6. 6) Memory Used:
  7. 7) App Health:
  8. 8) Operational State:
  9. 9) Guest Status: Up

thanks

K