Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

cURL Example

Example Response
Info
Code Block

{
    "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
Info
Code Block

There aren't any, will just return an empty data section if user cannot access any jobs.