Summary
Get all adapters.
Description
Get all adapters in IAP.
Route
GET /adapters
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
queryOptions | object | yes | Options for query parameters. |
{ "queryOptions": { "contains": "redis", "containsField": "name", "equals": "redis", "equalsField": "name", "startsWith": "redis", "startsWithField": "name", "skip": 50, "limit": 50, "sort": "name", "order": 1 } }
{ "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
Name | Type | Description |
---|---|---|
results | object | Contains an array of adapters and the total in the response. |
{ "results": [ { "metadata": { "isActive": false, "activeSync": true }, "data": { "loggerProps": { "log_max_files": 100, "log_max_file_size": 1048576, "log_level": "error", "log_directory": "/var/log/pronghorn", "log_filename": "pronghorn.log", "console_level": "warn", "description": "Logging", "log_timezone_offset": 0, "metrics_filename": "metrics.log", "metrics_max_files": 31, "metrics_rotation_interval": "7d", "metrics_rotation_size": "10M", "syslog": { "level": "debug", "facility": "local0", "type": "BSD", "host": "localhost", "port": 514, "protocol": "udp4", "pid": "process.pid", "localhost": "localhost", "app_name": "process.title", "eol": "" } }, "isEncrypted": false, "model": "", "name": "Local AAA", "type": "Application", "properties": { "id": "", "type": "", "brokers": [ "aaa" ], "groups": [ "5fe9f10cc1fca243d562e1d8", "5fe9f10cc1fca243d562e1d8" ] }, "profiling": false, "virtual": false, "systemProps": { "maxOldSpaceSize": 2048 }, "eventDeduplication": { "active": true, "cacheTtl": 10000, "algorithm": "md5", "uniqueProps": [ "/messageId", "/messageId", "/messageId" ] } } }, { "metadata": { "isActive": true, "activeSync": false }, "data": { "loggerProps": { "log_max_files": 100, "log_max_file_size": 1048576, "log_level": "warn", "log_directory": "/var/log/pronghorn", "log_filename": "pronghorn.log", "console_level": "info", "description": "Logging", "log_timezone_offset": 0, "metrics_filename": "metrics.log", "metrics_max_files": 31, "metrics_rotation_interval": "7d", "metrics_rotation_size": "10M", "syslog": { "level": "error", "facility": "local0", "type": "5424", "path": "", "pid": "process.pid", "localhost": "localhost", "app_name": "process.title", "eol": "" } }, "isEncrypted": false, "model": "@itential/adapter-local_aaa", "name": "", "type": "Application", "profiling": false, "virtual": false, "systemProps": { "maxOldSpaceSize": 2048 }, "eventDeduplication": { "active": false, "cacheTtl": 10000, "algorithm": "md5", "uniqueProps": [ "/messageId", "/messageId" ] } } }, { "metadata": { "isActive": true }, "data": { "loggerProps": { "log_max_files": 100, "log_max_file_size": 1048576, "log_level": "error", "log_directory": "/var/log/pronghorn", "log_filename": "pronghorn.log", "console_level": "info", "description": "Logging", "log_timezone_offset": 0, "metrics_filename": "metrics.log", "metrics_max_files": 31, "metrics_rotation_interval": "7d", "metrics_rotation_size": "10M", "syslog": { "level": "warning", "facility": "local0", "type": "BSD", "path": "", "pid": "process.pid", "localhost": "", "app_name": "process.title", "eol": "CR" } }, "isEncrypted": true, "model": "@itential/adapter-local_aaa", "name": "Local AAA", "type": "Application", "properties": { "id": "", "type": "", "brokers": [ "aaa" ], "groups": [ "5fe9f10cc1fca243d562e1d8", "5fe9f10cc1fca243d562e1d8" ] }, "profiling": true, "virtual": true, "systemProps": { "maxOldSpaceSize": 2048 }, "eventDeduplication": { "active": true, "cacheTtl": 10000, "algorithm": "md5", "uniqueProps": [ "/messageId", "/messageId", "/messageId", "/messageId", "/messageId" ] } } }, { "metadata": { "isActive": true, "activeSync": false }, "data": { "loggerProps": { "log_max_files": 100, "log_max_file_size": 1048576, "log_level": "spam", "log_directory": "/var/log/pronghorn", "log_filename": "pronghorn.log", "console_level": "trace", "description": "Logger Settings", "log_timezone_offset": -5, "metrics_filename": "metrics.log", "metrics_max_files": 31, "metrics_rotation_interval": "7d", "metrics_rotation_size": "10M", "syslog": { "level": "info", "facility": "local0", "type": "BSD", "host": "localhost", "port": 514, "protocol": "udp4", "pid": "process.pid", "localhost": "", "app_name": "process.title", "eol": "" } }, "isEncrypted": false, "model": "@itential/adapter-local_aaa", "name": "", "type": "Application", "properties": { "id": "", "type": "", "brokers": [ "aaa" ], "groups": [ "5fe9f10cc1fca243d562e1d8", "5fe9f10cc1fca243d562e1d8", "5fe9f10cc1fca243d562e1d8", "5fe9f10cc1fca243d562e1d8" ] }, "profiling": false, "virtual": true, "systemProps": { "maxOldSpaceSize": 1024 }, "eventDeduplication": { "active": true, "cacheTtl": 10000, "algorithm": "md5", "uniqueProps": [ "/messageId", "/messageId" ] } } }, { "metadata": { "isActive": true, "activeSync": false }, "data": { "loggerProps": { "log_max_files": 100, "log_max_file_size": 1048576, "log_level": "spam", "log_directory": "/var/log/pronghorn", "log_filename": "pronghorn.log", "console_level": "info", "description": "Logger Settings", "log_timezone_offset": 0, "metrics_filename": "metrics.log", "metrics_max_files": 31, "metrics_rotation_interval": "7d", "metrics_rotation_size": "10M", "syslog": { "level": "warning", "facility": "local0", "type": "5424", "host": "localhost", "port": 514, "protocol": "udp4", "pid": "process.pid", "localhost": "", "app_name": "process.title", "eol": "CR" } }, "isEncrypted": false, "model": "@itential/adapter-local_aaa", "name": "", "type": "Application", "profiling": true, "virtual": false, "systemProps": { "maxOldSpaceSize": 1024 }, "eventDeduplication": { "active": false, "cacheTtl": 10000, "algorithm": "md5", "uniqueProps": [ "/messageId", "/messageId", "/messageId", "/messageId" ] } } } ], "total": 50 }
{ "title": "results", "type": "object", "properties": { "results": { "type": "array", "items": { "type": "object", "properties": { "metadata": { "type": "object", "oneOf": [ { "properties": { "isActive": { "$ref": "common-schema#/definitions/isActive" }, "activeSync": { "$ref": "common-schema#/definitions/activeSync" } } }, { "properties": { "isActive": { "$ref": "common-schema#/definitions/isActive" } } } ] }, "data": { "$ref": "services-schema" } } } }, "total": { "$ref": "common-schema#/definitions/total" } } }