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": "laboris quis pariatur dolore",
"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": [],
"read": [
"d23bd69fc9f6cd0d9e73dbce"
]
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "xr9kv-atl",
"provider": "laboris",
"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": [
"903cc819d37a97c306a98c4b"
],
"read": [
"e6d4fd19883a7c5c73b579a8",
"ede4742f62e1ef7d835c398a",
"e0debbe4c6397332647d059d"
]
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "xr9kv-atl",
"provider": "nostrud velit cillum voluptate",
"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": [
"37e176e2e9c9cb0df79e68e4",
"f43a473cb04788b0659b7911"
],
"read": []
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "xr9kv-atl",
"provider": "Duis do",
"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": [
"773801d627a629c32378a1cb",
"efaff7bc42f033dfe59b5fb7",
"786546c245a74205277594ae"
],
"read": [
"f1958c235821e42d666ffb77",
"7e8f5587f701054d0ce293b7"
]
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "xr9kv-atl",
"provider": "in",
"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": [
"dd426d38fdceb8f3e58e68cd"
],
"read": [
"35786d1d11c74c2545c5d746"
]
}
}
]
}
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": "officia"
}
Copied to Clipboard
{
"title": "status",
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "success"
},
"message": {
"type": "string",
"example": "2 device backups imported successfully"
}
}
}