7.1. Listing ServicesΒΆ
GET /services
Lists services on compute nodes in the PowerPanel database.
Request example:
# curl -s -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<controller_hostname>/api/v1/services
Response example:
[
{
"binary": "vzapi-compute",
"created_at": "2020-12-14T10:49:55.000000",
"disabled": false,
"version": 1,
"host_id": "59d7a0ea5e994e33a955b868472aadac",
"last_seen_up": "2020-12-22T08:28:26.000000",
"disabled_reason": null,
"id": 6
},
{
"binary": "vzapi-compute",
"created_at": "2020-12-14T10:50:06.000000",
"disabled": false,
"version": 1,
"host_id": "64acae36796c4db7b5be65544464c8b3",
"last_seen_up": "2020-12-22T08:28:23.000000",
"disabled_reason": null,
"id": 7
},
{
"binary": "vzapi-api",
"created_at": "2020-12-18T08:08:13.000000",
"disabled": false,
"version": 1,
"host_id": "705242071d344935810d9d2f6599b63c",
"last_seen_up": null,
"disabled_reason": null,
"id": 8
}
]
Dec 08, 2021