Download OpenAPI specification:Download
This spec defines the API provided by the application to validate authorization for the system.
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 / 2000::1",
- "key": "RemoteServerIP"
}, - {
- "value": "scp / ftp",
- "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.000+00:00",
- "end_time": "2000-01-23T04:56:07.000+00:00",
- "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.000+00:00",
- "end_time": "2000-01-23T04:56:07.000+00:00",
- "id": "id",
- "URL": "/v1/inventory/switches",
- "status": "Completed"
}, - {
- "start_time": "2000-01-22T04:56:07.000+00:00",
- "end_time": "2000-01-22T04:56:07.000+00:00",
- "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"
}
services | string Comma separated list of services to get logging customization configuration. |
logging_types | string Comma separated list of logging types to get logging customization configuration. |
{- "items": [
- {
- "service": "fabric",
- "logging_type": "all",
- "file_size": 100,
- "file_count": 10,
- "detail_level": "debugging"
}, - {
- "service": "inventory",
- "logging_type": "all",
- "file_size": 100,
- "file_count": 10,
- "detail_level": "debugging"
}
]
}
Update Logging Customization configuration.
services | string Name of the services |
logging_types | string Name of the logging types |
file_size | string Maximum size of logging file |
file_count | string Number of log files |
detail_level | string Level of logging detail to be logged. |
{- "service": "all,auth,fabric,faultmanager,hyperv,inventory,notification,policy,raslog,rbac,system,tenant,vcenter",
- "logging_type": "all",
- "file_size": 100,
- "file_count": 10,
- "detail_level": "debugging"
}
[- {
- "customization": {
- "service": "inventory",
- "logging_type": "all",
- "file_size": 100,
- "file_count": 10,
- "detail_level": "debugging"
}, - "status": {
- "result": "Failed",
- "reason": "Invalid parameter"
}
}
]
Clear Logging Customizations to default configuration.
services | string Enum: "all" "auth" "fabric" "faultmanager" "hyperv" "inventory" "notification" "policy" "raslog" "rbac" "system" "tenant" "vcenter" Comma separated list of services to clear logging customization configuration. |
logging_types | string Comma separated list of logging types to clear logging customization configuration. |
[- {
- "customization": {
- "service": "inventory",
- "logging_type": "all",
- "file_size": 100,
- "file_count": 10,
- "detail_level": "debugging"
}, - "status": {
- "result": "Failed",
- "reason": "Invalid parameter"
}
}
]
Transfers any file provided with correct path transferred to XCO UI
name required | string File name which is required to be downloaded of type given below |
file_type required | string Enum: "backup" "supportsave" Type of file that has to be downloaded. |
{- "message": "Error",
- "code": 101
}
This API will start the support save collection in async mode
Supportsave request.
fabric | string |
device-ips | string |
fabric-all | boolean |
{- "fabric": "string",
- "device-ips": "10.24.131.3,162.101.21.2,192.24.32.204",
- "fabric-all": true
}
{- "id": "string",
- "ss_file_name": "string",
- "status": "in-progress",
- "date": "2022-06-20"
}
Get the current support save status
id required | string Request ID for which status to be returned |
{- "id": "string",
- "ss_file_name": "string",
- "status": "in-progress",
- "date": "2022-06-20"
}
{- "version": "3.2.0",
- "build": "GA",
- "date": "2022-06-20",
- "nodes": [
- {
- "name": "string",
- "status": "string",
- "role": "string",
- "IP": "string",
- "pod_count_running": 0,
- "pod_count_failed": 0,
- "pod_count_stopped": 0
}
], - "health": [
- {
- "Resource": "/App/System/Security/Certificate",
- "HQI": {
- "Color": "yellow",
- "Value": 1
}, - "StatusText": "Provided resource is invalid"
}
]
}