Closed
Bug 573554
Opened 16 years ago
Closed 16 years ago
Quicksearch should have a RESTful API
Categories
(Webtools Graveyard :: BzAPI, enhancement)
Webtools Graveyard
BzAPI
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: aza, Assigned: gerv)
Details
In implemented http://azarask.in/projects/bugzilla I discovered that there is no RESTful API to Bugzilla's quicksearch. I was forced to use a workaround where I'd request the search result in ATOM form and use Google's Feed API to gain access via content-space JS.
The searches in the left are controlled with quicksearch strings (click the edit button in the lower-left: the searches is stored in localStorage so feel free to mess around with it).
A RESTful API for Bugzilla quicksearch would be fantastic.
| Assignee | ||
Updated•16 years ago
|
Severity: normal → enhancement
OS: Mac OS X → All
Hardware: x86 → All
| Reporter | ||
Comment 1•16 years ago
|
||
Any chance of getting this enhancement sometime soon? It's blocking real work being done on some of our Bugzilla-related projects. The work-around, for instance, doesn't allow for quicksearching on bugs that require being authenticated.
| Assignee | ||
Comment 2•16 years ago
|
||
Aza: I'm afraid not in the immediate future:
http://weblogs.mozillazine.org/gerv/archives/2010/07/intermittent_gerv.html
:-( Sorry. I'm not really sure what to suggest, apart from to use quicksearch via the normal UI and get results returned as CSV. JavaScript CSV parsers do exist, I believe.
Gerv
| Reporter | ||
Comment 3•16 years ago
|
||
Have a good honeymoon. We'll figure out another work-around and hopefully when you get back we can get a real API :)
| Assignee | ||
Comment 4•16 years ago
|
||
Aza: turns out this works in the BzAPI code:
https://api-dev.bugzilla.mozilla.org/0.7/bug?quicksearch=Foopy
or
https://api-dev.bugzilla.mozilla.org/latest/bug?quicksearch=Foopy
I assume you tried this? If so, the reason it wasn't working for you was probably that on the /latest/ call, /latest/ thought our Bugzilla was 3.4, not 3.6, and that triggered some backwards-compatibility code which broke it. I've reconfigured it correctly now.
Knock yourself out :-)
Gerv
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•