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 6 Next »

/custom/mapreduce/getresults/{jobid_or_jobtitle}?limit=200

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.

limit (optional)
An integer of how many results you want retrieved from the database, results will be grabbed in whatever order they have been stored in the db.

Example

 http://infinite.ikanow.com/api/custom/mapreduce/getresults/4e9c77ef17ef3523b657a890?limit=200   
http://infinite.ikanow.com/api/custom/mapreduce/getresults/customjob1
?limit=50

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