zun/api-ref/source/samples/host-get-resp.json
Hongbin Lu 3f2066e899 api-ref: update the sample request/ressponse
Change-Id: I7441c3514872305107293e355f4b27d5d9950ddf
2018-04-05 02:09:11 +00:00

24 lines
661 B
JSON

{
"hostname": "test",
"uuid": "d0405f06-101e-4340-8735-d1bf9fa8b8ad",
"links": [{
"href": "http://192.168.2.22:9517/v1/hosts/d0405f06-101e-4340-8735-d1bf9fa8b8ad",
"rel": "self"
},
{"href": "http://192.168.2.22:9517/hosts/d0405f06-101e-4340-8735-d1bf9fa8b8ad",
"rel": "bookmark"}
],
"kernel_version": "3.10.0-123.el7.x86_64",
"labels": {"type": "test"},
"cpus": 48,
"mem_used": 512,
"disk_total": 16,
"mem_total": 128446,
"total_containers": 2,
"cpu_used": 0.2,
"disk_used": 10,
"os_type": "linux",
"architecture": "x86_64"
"os": "CentOS Linux 7 (Core)"
}