Closed Bug 1193347 Opened 9 years ago Closed 3 years ago

DXR's JSON API should be documented

Categories

(Webtools Graveyard :: DXR, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cpicard, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) qutebrowser/0.3.0 Safari/538.1

Steps to reproduce:

Looking for any kind of JSON API on https://dxr.mozilla.org/mozilla-central/source/, on https://dxr.readthedocs.org/ and https://wiki.mozilla.org/DXR.


Actual results:

There is no mention of a JSON API (or any kind of querry API actually).


Expected results:

Using    curl -H "Accept: application/json" "https://dxr.mozilla.org/mozilla-central/search?q={{terms}}"    returns the expected results as JSON. This behaviour should be documented.

DXR is no longer available. Searchfox is now replacing it.
See meta bug 1669906 & https://groups.google.com/g/mozilla.dev.platform/c/jDRjrq3l-CY for more details.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.