Files
freezer-api/api-ref/source/v2/samples/job-create-request.json
Cai Hui 9aa9028636 Update jobs(v2) api-def
Fix some bugs of jobs(v2) in api-ref
1.The respense of "Show Jobs" is missing a "session_id" paramenter.
2.The files of job-create-request.json, job-update-request.json  have a
 unnecessary items "project_id"
3.The "project_id" is a public paramenter in freezer_action, so changed
its loaction in the files of job-get-response.json,job-list-response.json.

Change-Id: I0e24a5d5eabb1323c53c5268bbeadf4418c11fae
2018-11-05 01:02:50 -05:00

24 lines
670 B
JSON

{
"description": "Test-0001",
"job_schedule": {
"schedule_interval": "5 minutes",
"status": "scheduled",
"event": "start"
},
"job_actions": [
{
"max_retries": 5,
"max_retries_interval": 6,
"freezer_action": {
"backup_name": "test0001_backup",
"container": "test0001_container",
"no_incremental": true,
"path_to_backup": "/etc/",
"log_file": "/home/saad/job0001.log",
"snapshot": true,
"action": "backup",
"remove_older_than": 365,
}
}
]
}