Summary
Create a new integration.
Description
Create a new integration in IAP.
Route
POST /integrations
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
properties |
object |
yes |
An object containing all the integration properties. |
Copied to Clipboard
{
"properties": {
"name": "",
"type": "Application",
"virtual": true,
"loggerProps": {
"log_max_files": 100,
"log_max_file_size": 1048576,
"log_level": "info",
"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": "warning",
"facility": "local0",
"type": "BSD",
"path": "",
"pid": "process.pid",
"localhost": "localhost",
"app_name": "process.title",
"eol": "CR"
}
},
"isEncrypted": true,
"model": ""
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"properties": {
"title": "properties",
"type": "object",
"properties": {
"loggerProps": {
"$ref": "services-schema#/definitions/loggerProps"
},
"isEncrypted": {
"$ref": "services-schema#/definitions/isEncrypted"
},
"model": {
"$ref": "services-schema#/definitions/model"
},
"name": {
"$ref": "services-schema#/definitions/name"
},
"type": {
"$ref": "services-schema#/definitions/type"
},
"properties": {
"$ref": "services-schema#/definitions/properties"
},
"virtual": {
"$ref": "services-schema#/definitions/virtual"
}
},
"required": [
"name",
"type",
"properties",
"virtual"
]
}
},
"required": [
"properties"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the integration creation process. |
Copied to Clipboard
{
"status": "Created",
"message": "A sample success message",
"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": -5,
"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": "",
"app_name": "",
"eol": "CR"
}
},
"isEncrypted": false,
"model": "",
"name": "",
"type": "Application",
"properties": {
"id": "Local AAA",
"type": "local_aaa",
"brokers": [
"aaa"
],
"groups": [
"5fe9f10cc1fca243d562e1d8"
]
},
"profiling": false,
"virtual": true,
"systemProps": {
"maxOldSpaceSize": 1024
},
"eventDeduplication": {
"active": true,
"cacheTtl": 10000,
"uniqueProps": [
"/messageId",
"/messageId",
"/messageId"
]
}
}
}