Development Team/Low-level Activity API: Difference between revisions

Bert (talk | contribs)
Watching: section added
Bert (talk | contribs)
Querying: add query syntax reference
Line 196: Line 196:
: 'mtime' = {'start' = '2007-07-01T00:00:00', 'end' = '2007-08-01T00:00:00'}
: 'mtime' = {'start' = '2007-07-01T00:00:00', 'end' = '2007-08-01T00:00:00'}
A few specific keys adjust the query:
A few specific keys adjust the query:
: 'query': fulltext search term
: 'query': fulltext search term (supports some [http://xapian.org/docs/queryparser.html special operators])
: 'order_by': sort key (or array of keys) to order results by, to reverse order use '-key' <i>(but see note below)</i>
: 'order_by': sort key (or array of keys) to order results by, to reverse order use '-key' <i>(but see note below)</i>
: 'limit', 'offset': return only limit results starting at offset
: 'limit', 'offset': return only limit results starting at offset