Resource Center/Hardware/Host Operations
GETHost OperationsSince 4.6.21SynchronousAuth Required
QueryHostOsCategory
QueryHostOsCategory
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
This API requires no request parameters.
Responses
Endpoint
GET/zstack/v1/hosts/os/category
/zstack/v1/hosts/os/category
Request Example
curl -X GET 'http://{host}/zstack/v1/hosts/os/category' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "architecture": "x86_64", "osReleaseVersion": "helix Core 7.6", "metadataList": [ { "managementNodeUuid": "fe5459189a8733ef9b6b8141b84f7071", "hypervisor": "qemu-kvm", "version": "4.2.0-632.g6a6222b.el7", "createDate": "Nov 14, 2017 2:20:57 PM", "lastOpDate": "Nov 14, 2017 2:20:57 PM" } ], "createDate": "Nov 14, 2017 2:20:57 PM", "lastOpDate": "Nov 14, 2017 2:20:57 PM" } ] }Change History
This API has no change history records yet.
