Summary
Get the health of all the adapters.
Description
Get the health of all the adapters in IAP.
Route
GET /health/adapters
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
queryOptions |
object |
yes |
Options for query parameters. |
Copied to Clipboard
{
"queryOptions": {
"contains": "redis",
"containsField": "name",
"equals": "redis",
"equalsField": "name",
"startsWith": "redis",
"startsWithField": "name",
"skip": 50,
"limit": 50,
"sort": "name",
"order": 1
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"queryOptions": {
"title": "queryOptions",
"type": "object",
"properties": {
"contains": {
"type": "string",
"examples": [
"redis"
]
},
"containsField": {
"type": "string",
"examples": [
"name"
]
},
"equals": {
"type": "string",
"examples": [
"redis"
]
},
"equalsField": {
"type": "string",
"examples": [
"name"
]
},
"startsWith": {
"type": "string",
"examples": [
"redis"
]
},
"startsWithField": {
"type": "string",
"examples": [
"name"
]
},
"skip": {
"$ref": "common-schema#/definitions/skip"
},
"limit": {
"$ref": "common-schema#/definitions/limit"
},
"sort": {
"$ref": "common-schema#/definitions/sort"
},
"order": {
"$ref": "common-schema#/definitions/order"
}
}
}
},
"required": [
"queryOptions"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
Contains the adapters health data. |
Copied to Clipboard
{
"results": [
{
"id": "AdminEssentials",
"package_id": "",
"version": "0.1.0",
"type": "Application",
"description": "A basic description",
"state": "RUNNING",
"connection": null,
"uptime": 2245.9722,
"memoryUsage": {
"rss": 7125982,
"heapTotal": 7125982,
"heapUsed": 7125982,
"external": 7125982
},
"cpuUsage": {
"user": 7125982,
"system": 7125982
},
"pid": 7125982,
"logger": {
"console": "error",
"file": "spam",
"syslog": "debug"
},
"routePrefix": "search",
"prevUptime": 2245.9722
},
{
"id": "AdminEssentials",
"package_id": "@itential/adapter-local_aaa",
"version": "1.1.1-2020.1.0",
"type": "Application",
"description": "A basic description",
"state": "DEAD",
"connection": {
"state": "ONLINE"
},
"uptime": 2245.9722,
"memoryUsage": {
"rss": 7125982,
"heapTotal": 7125982,
"heapUsed": 7125982,
"external": 7125982
},
"cpuUsage": {
"user": 7125982,
"system": 7125982
},
"pid": 7125982,
"logger": {
"console": "warn",
"file": "trace",
"syslog": "warning"
},
"routePrefix": "search",
"prevUptime": 2245.9722
},
{
"id": "AdminEssentials",
"package_id": "",
"version": "0.1.0",
"type": "Application",
"description": "A basic description",
"state": "STOPPED",
"connection": {
"state": "ONLINE"
},
"uptime": 2245.9722,
"memoryUsage": {
"rss": 7125982,
"heapTotal": 7125982,
"heapUsed": 7125982,
"external": 7125982
},
"cpuUsage": {
"user": 7125982,
"system": 7125982
},
"pid": 7125982,
"logger": {
"console": "debug",
"file": "spam",
"syslog": "warning"
},
"routePrefix": "search",
"prevUptime": 2245.9722
},
{
"id": "AdminEssentials",
"package_id": "",
"version": "1.0.0",
"type": "Adapter",
"description": "A basic description",
"state": "RUNNING",
"connection": null,
"uptime": 2245.9722,
"memoryUsage": {
"rss": 7125982,
"heapTotal": 7125982,
"heapUsed": 7125982,
"external": 7125982
},
"cpuUsage": {
"user": 7125982,
"system": 7125982
},
"pid": 7125982,
"logger": {
"console": "error",
"file": "debug",
"syslog": "warning"
},
"routePrefix": "admin",
"prevUptime": 2245.9722
}
],
"total": 50
}