hostname and asks no server. A unit that is not listed is refused with 400 on every other /services route. Use actions and allow-stop to decide which controls to offer; GET /services/{hostname} tells you which units are installed on a server.Authorization: ********************curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/services/catalog' \
--header 'Authorization: Bearer <token>'[
{
"unit": "netsapiens_nms",
"aliases": [],
"package": "netsapiens-core",
"category": "netsapiens",
"allow-stop": true,
"deferred": false,
"actions": [
"start",
"stop",
"restart"
]
},
{
"unit": "apache2",
"aliases": [],
"package": "apache2",
"category": "infra",
"allow-stop": false,
"deferred": true,
"actions": [
"start",
"restart"
]
},
{
"unit": "mariadb",
"aliases": [
"mysql"
],
"package": "mariadb-server",
"category": "infra",
"allow-stop": true,
"deferred": false,
"actions": [
"start",
"stop",
"restart"
]
}
]