Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

/custom/mapreduce/getjobs

Returns a list of jobs the current user has access to.

Authentication

Required, see Auth - Login.

Arguments
Example

http://infinite.ikanow.com/api/custom/mapreduce/getjobs

Example Response
{
    "response": {
        "action": "Custom Map Reduce Get Jobs",
        "success": true,
        "message": "succesfully returned jobs",
        "time": 389
    },
    "data": [
        {
            "_id": ObjectId("4e98381e153b86ab3704d05c"),
            "combiner": "xmlpackage.WordCountXML$IntSumReducer",
            "communityIDs": [
                ObjectId("4c927585d591d31d7b37097a")
            ],
            "firstSchedule": "Tue Jan -2147483647 584556020 04:25:52 GMT-0500 (Eastern Standard Time)",
            "inputCollection": "harvester.feeds",
            "jarURL": "$infininteshare/share/get/4e78d4ec05da052fd69a2332",
            "jobdesc": "somedesc",
            "jobidN": 0,
            "jobtitle": "title1",
            "mapper": "xmlpackage.WordCountXML$TokenizerMapper",
            "nextRunTime": 0,
            "outputCollection": "4e98381e153b86ab3704d05c",
            "query": "",
            "reducer": "xmlpackage.WordCountXML$IntSumReducer",
            "scheduleFreq": "NONE",
            "submitterID": ObjectId("4ca4a7c5b94b6296f2469d36"),
            "timesRan": 0
        }
    ]
}
Error Response
There aren't any, will just return an empty data section if user cannot access any jobs.
  • No labels