fh-fhc
Version:
A Command Line Interface for FeedHenry
24 lines (22 loc) • 694 B
JavaScript
;
/* globals i18n */
module.exports = {
'desc': i18n._('Return the whole job definition in JSON format'),
'examples': [{
cmd: [
'fhc addpata import read --appId=5ujx2eifvzaudq43nw4nmvcu --envId=live --jobId=5731da1dd3e2b283203c4054'
].join(''),
desc: i18n._('Return the whole job definition in JSON format')
}],
'demand': ['envId', 'appId', 'jobId'],
'alias': {},
'describe': {
'envId': i18n._('Environment id'),
'appId': i18n._('Application id'),
'jobId': i18n._('Import job id')
},
'method': 'get',
'url': function(params) {
return 'api/v2/appdata/' + params.envId + '/' + params.appId + '/import/data/' + params.jobId;
}
};