commit | a7cc5042ccd307b1a63d1cd022763c60714dd032 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Sat Apr 07 15:12:05 2012 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Tue May 01 10:55:26 2012 -0700 |
tree | 6a0500efc60da0d24ef8d7c156378593a048c890 | |
parent | 77199942c53e70b9cc54f9164e7602cdaee3019b [diff] |
/changes/: Permit multiple queries at once Allow the client to specify more than one q parameter. When there is more than one query defined the result is an array of arrays, one per query in the same order the queries were given in. This query now approximates how to show a user's dashboard: $ curl -n --digest 'http://127.0.0.1:8080/a/changes/?q=is:open+owner:self&q=is:open+reviewer:self+-owner:self&q=is:closed+owner:self+limit:5&format=JSON' )]}' [ [ { "project": "tools/repo", "branch": "master", "id": "I37f758e238c2dbc891a0d876547cb7acc29fc7f7", } ], [], [] ] Change-Id: I1914a9971c519a5539ce0fbe56c6d5776d7bd72f