Summary
Import backup documents
Description
Insert backup documents into the ucm_configs collection
Route
POST /configuration_manager/import/backups
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
backups |
array |
yes |
Array of device configs |
Copied to Clipboard
{
"backups": [
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "xr9kv-atl",
"provider": "fugiat pariatur esse nostrud nisi",
"type": "native",
"date": "2019-04-12T14:42:47.958Z",
"rawConfig": "hostname ios0\nno service password-encryption\n...",
"description": "description of backup",
"notes": "notes about backup",
"gbac": {
"write": [
"0a0cb284b462193b523fde5b"
],
"read": [
"031789c220a2dfc42718b8a4",
"fd1d6d1ec364456dadbbf472"
]
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "xr9kv-atl",
"provider": "veniam qui officia ut",
"type": "native",
"date": "2019-04-12T14:42:47.958Z",
"rawConfig": "hostname ios0\nno service password-encryption\n...",
"description": "description of backup",
"notes": "notes about backup",
"gbac": {
"write": [
"7118336e074a0e3aea10db29"
],
"read": [
"99491a9ec3bd2f804ad6275a"
]
}
}
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"backups": {
"title": "backups",
"type": "array",
"items": {
"$ref": "deviceData#/definitions/backup"
}
}
},
"required": [
"backups"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
status |
object |
Status of backup import operation |
Copied to Clipboard
{
"status": "success",
"message": "ut enim"
}
Copied to Clipboard
{
"title": "status",
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "success"
},
"message": {
"type": "string",
"example": "2 device backups imported successfully"
}
}
}