Versions Compared

Key

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

...

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.

find (optional)
A string representing a MongoDB query (in JSON format) that is applied to the results of the custom table. WARNING: for large custom tables, will be really slow unless the field (/fields) is (/are) indexed via "$output.indexes" or "$output.sortField" (see Schedule Job API call)

sort (optional)
A string representing a MongoDB sort operator (in JSON format). WARNING: for large custom tables, will be really slow or fail unless the field (/fields) is (/are) indexed via "$output.indexes" or "$output.sortField" (see Schedule Job API call)

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/4e9c77ef17ef3523b657a890?limit=10&find={'indexed.field':'VALUE'}
http://infinite.ikanow.com/api/custom/mapreduce/getresults/customjob1
?limit=50&sort={'sort.field':-1}

cURL Example

Example Response

...