Versions Compared

Key

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

...

  • It can be provided in 2 formats:
    • A single JSON object containing a MongoDB query (see next bullet), eg "{ 'docGeo': { '$exists': false } }"
    • An array of 2 JSON objects, the first of which is the above query object, the second of which controls the sorting and size of the output (see this tutorial for the format, under advanced topics, or the schedule/update API calls).  
    • An array of 3 JSON objects (the second can be null), where the third object is a list of fields to be returned (in standard MongoDB "projection" format, eg "{ <fieldname>:[1|0] (, <fieldname>:[1|0])* }" 
  • The aforementioned query must be a MongoDB query (use the /wiki/spaces/INF/pages/3899780, or content format), Infinit.e queries are not currently supported (this functionality is coming).

...