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

« Previous Version 5 Next »

/custom/mapreduce/getresults/{jobid_or_jobtitle}

Returns the results of a map reduce job.

Authentication

Required, see Auth - Login.

Arguments

jobid_or_jobtitle (required)
The id or title of a job you want the results of. You can find the id by writing it down when submitting a job or using Get Jobs.

Example

http://infinite.ikanow.com/api/custom/mapreduce/getresults/4e9c77ef17ef3523b657a890
http://infinite.ikanow.com/api/custom/mapreduce/getresults/customjob1

cURL Example

Example Response
{"response":{"action":"Custom Map Reduce Job Results","success":true,"message":"Map reduce job completed at: 123456789","time":98},"data":{ "_id" : "a", "value" : 2 }}
Error Response
{"response":{"action":"Custom Map Reduce Job Results","success":false,"message":"Job does not exist","time":98}}
  • No labels