Download OpenAPI specification:Download
This spec defines the API provided by the application to validate authorization for the system.
{- "keyval": [
- {
- "key": "InflightTransactionAutoRecovery",
- "value": "enable"
}
]
}
Update feature settings.
required | Array of objects (FeatureParameter) |
{- "keyval": [
- {
- "key": "InflightTransactionAutoRecovery",
- "value": "enable"
}
]
}
{- "message": "Error",
- "code": 101
}
decrypt | boolean Default: false Decrypt password and display in plain text |
[- {
- "value": "5",
- "key": "Max Backup File Limit"
}, - {
- "value": "0 0 * *",
- "key": "Backup Schedule"
}, - {
- "value": "5",
- "key": "Max Supportsave File Limit"
}, - {
- "value": "10.10.10.10",
- "key": "Remote Server Ip"
}, - {
- "value": "scp",
- "key": "Remote Transfer Protocol"
}, - {
- "value": "username",
- "key": "Remote Server Username"
}, - {
- "value": "password",
- "key": "Remote Server Password"
}, - {
- "value": "/root/test",
- "key": "Remote Server Directory"
}, - {
- "value": "Enabled",
- "key": "Periodic Device Config Backup"
}
]
Update system settings.
required | Array of objects (SystemParameter) |
{- "keyval": [
- {
- "value": "5",
- "key": "MaxBackupFiles"
}, - {
- "value": "0 0 * *",
- "key": "BackupSchedule"
}, - {
- "value": "5",
- "key": "MaxSsFiles"
}, - {
- "value": "10.10.10.10",
- "key": "RemoteServerIP"
}, - {
- "value": "scp",
- "key": "RemoteTransferProtocol"
}, - {
- "value": "username",
- "key": "RemoteServerUsername"
}, - {
- "value": "password",
- "key": "RemoteServerPassword"
}, - {
- "value": "/root/test",
- "key": "RemoteServerDirectory"
}, - {
- "value": "Enabled",
- "key": "PeriodicDeviceConfigBackup"
}
]
}
{- "message": "Error",
- "code": 101
}
Reset system settings.
[- "BackupSchedule",
- "MaxBackupFiles",
- "MaxSsFiles",
- "RemoteServerSettings",
- "PeriodicDeviceConfigBackup"
]
{- "message": "Error",
- "code": 101
}
Get the detailed output of a request previously executed, based on a given request ID.
id required | string Detailed output of the given execution ID. |
{- "start_time": "2000-01-23T04:56:07.000Z",
- "end_time": "2000-01-23T04:56:07.000Z",
- "id": "id",
- "logs": "logs",
- "URL": "/v1/inventory/switches",
- "status": "Failed, Succeeded"
}
Get the list of all the requests previously executed.
limit required | integer Default: 10 Limit the number of executions that will be sent in the response. Default is 10 |
status | string Default: "all" Filter the executions based on the status (failed/succeeded/all). |
{- "items": [
- {
- "start_time": "2000-01-23T04:56:07.000Z",
- "end_time": "2000-01-23T04:56:07.000Z",
- "id": "id",
- "URL": "/v1/inventory/switches",
- "status": "Completed"
}, - {
- "start_time": "2000-01-22T04:56:07.000Z",
- "end_time": "2000-01-22T04:56:07.000Z",
- "id": "id",
- "URL": "/v1/inventory/switches",
- "status": "Failed"
}
]
}
Delete all requests that were executed earlier than the specific number of days.
days_older_by required | integer Default: 30 Delete all requests that were executed earlier than the specific number of days. |
{- "message": "Error",
- "code": 101
}
Clean up backup and supportsave archives.
archive_type required | string Enum: "backup" "supportsave" Type of archive that has to be deleted. |
name required | string Name of archive that has to be deleted. |
{- "message": "successfully deleted the archive"
}