POST Export File Agent Configuration
Export File Agent Configuration API use to export file configuration.
Method | URI |
---|---|
POST |
/cdwebconsole/svc/fileagentrule |
The following example shows the Command:
curl -X 'GET' \
'https://172.20.183.160:9443/cdwebconsole/svc/faconfiguration/export' \
-H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODUuOTU6MTM2Mzo1MTI5NzljMi01ZGU5LTQxZjgtYTg5Ni1mZWMzMmIyNWVlYmYiLCJleHAiOjE3MTQ1MDQwOTV9.S3Wv2GCpL4hV1CXMpRAH5Ij59e2jhZMLw7nIN4VVW1tziINTwofyNpFcTU3cJNnnDjPJsH8dNwt_jQqFni0-ow' \
-H 'Content-Type: application/json' \
-H 'X-XSRF-TOKEN: ef0c5ea5-3afa-4a0e-83d1-e24fb395957e'
The following example shows the Sample Response:
{
"version": 1,
"minSupportedVersion": 1,
"basicConfig": {
"comments": "File Agent Default config",
"apiHost": "127.0.0.1",
"apiPort": 1363,
"apiUserID": "cduser",
"apiSignonAlways": true,
"watchFileInterval": 1,
"fileCompletionDelay": 1,
"fileAgentUniqueName": "FileAgent",
"snmpListenerPort": 1163,
"snmpStatusTimeInterval": 30,
"info": "AAAAAAAAAAAAAAAAAAAAAAAAAAA="
},
"watchDirs": {
"watchDirList": {}
},
"rules": {
"ruleList": [
{
"name": "Default rule",
"ruleStatus": "Disabled",
"comments": "Auto generated rule",
"lastModified": "2024-02-12T12:01:28.937Z",
"procClass": "1",
"procPriority": "1",
"matchCriterion": {
"criteriaList": []
}
},
{
"name": "Test7",
"ruleStatus": "Enabled",
"lastModified": "2024-03-06T10:11:29.883519400Z",
"matchCriterion": {
"criteriaList": []
}
}
]
}
}