How to query Gerrit with search query over HTTP and get JSON back?
3,731 views
Skip to first unread message
Christoffer Pettersson
unread,
May 29, 2012, 4:16:31 AM5/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Repo and Gerrit Discussion
I know you can SSH to gerrit and send queries and get JSON back.
However, I read in a blog (which I can't find now), that is it
possible to use a hidden functionality in the web interface to do the
same thing over HTTP. Meaning you can create an URL with query
parameters and Gerrit will return JSON.
Anyone know how to do that? Any example URL would be nice.
Peter Jönsson P
unread,
May 29, 2012, 5:25:23 AM5/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Christoffer Pettersson, Repo and Gerrit Discussion
Hi!
There where some functionality for that before. It has now been "formalized" into a more RESTful API. But you will need to be running a non-released version that you compile yourself. Documentation here: