Summary
Get the adapter schema.
Description
Get the adapter schema.
Route
GET /schema/adapters/:name
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
name |
string |
yes |
The name for the selected adapter. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
schema |
object |
Contains the schema for an adapter. |
Copied to Clipboard
{
"schema": {
"loggerProps": {
"log_max_files": 100,
"log_max_file_size": 1048576,
"log_level": "info",
"log_directory": "/var/log/pronghorn",
"log_filename": "pronghorn.log",
"console_level": "error",
"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": "CR"
}
},
"isEncrypted": true,
"model": "@itential/adapter-local_aaa",
"name": "",
"type": "Application",
"properties": {
"id": "Local AAA",
"type": "local_aaa",
"brokers": [
"aaa"
],
"groups": [
"5fe9f10cc1fca243d562e1d8",
"5fe9f10cc1fca243d562e1d8",
"5fe9f10cc1fca243d562e1d8",
"5fe9f10cc1fca243d562e1d8",
"5fe9f10cc1fca243d562e1d8"
]
},
"profiling": false,
"virtual": false,
"systemProps": {
"maxOldSpaceSize": 2048
},
"eventDeduplication": {
"active": false,
"cacheTtl": 10000,
"uniqueProps": [
"/messageId",
"/messageId",
"/messageId",
"/messageId",
"/messageId"
]
}
},
"decorators": [
{
"type": "encryption",
"pointer": "/redisProps/password"
},
{
"type": "encryption",
"pointer": "/redisProps/password"
},
{
"type": "encryption",
"pointer": "/redisProps/password"
},
{
"type": "encryption",
"pointer": "/redisProps/password"
},
{
"type": "encryption",
"pointer": "/redisProps/password"
}
]
}