Retrieving Information about Available Apps
GET /apps
Get the list of available apps on Smart Beat Manager:
curl -k -XGET https://<SBM_HOST>:7769/apps
Get information about a specific app:
curl -k -XGET https://<SBM_HOST>:7769/apps/<app name>
Header Input Parameters
| Name | Type | Description |
|---|---|---|
| Authorization | string | Base64 login and password for Smart Beat Manager authorization |
Output Parameters
Array of JSON objects.
Each object contains the following parameters:
| Name | Type | Description |
|---|---|---|
| app | string | App name |
| groups | string array | Array of groups where this app is present |
| connectedclients | int | Number of connected Smart Beat instances |
Supported Errors
| Status | Error content | Error description |
|---|---|---|
| 400 | Apps not found | App list is empty |
| 500 | <response write error> | Internal Smart Beat Manager error |
Examples
Example output for /apps:
[
{
"app": "scriptbeat_1",
"groups": [
"TestWin",
"Test",
"131"
],
"connectedclients": 2
},
{
"app": "execbeat_1",
"groups": [
"135"
],
"connectedclients": 1
}
]
Example output for /apps/execbeat_1:
{
"app": "execbeat_1",
"groups": [
"135"
],
"connectedclients": 1
}