Archiving a Backup File

Supported HTTP Operations

POST method

/data/icx-openconfig-archive:archive-top/backup-download/download-action
Request body:
{"icx-openconfig-archive:input":
{"t_type": "tftps",
"ip-address" : "xx.xx.xx.xx",
"port": "443",
"filename": "file1"}}

Response body: If successful, HTTP/1.1 204 No Content
If there is an error, HTTP/1.1 500 Internal Server Error

POST method

/data/icx-openconfig-archive:archive-top/backup-download/download-action
Request body:
{"icx-openconfig-archive:input":
{"t_type": "tftp",
"ip-address" : "xx.xx.xx.xx",
"port": "69",
"filename": "file1"}}

Response body: If successful, HTTP/1.1 204 No Content
If there is an error, HTTP/1.1 500 Internal Server Error