Closed Bug 1161044 Opened 9 years ago Closed 9 years ago

sumo search suggest api should return full links to things

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

Details

The SUMO search suggest API returns documents for a given search query. For example, this url returns documents related to "video is the worst":

https://support.mozilla.org/api/2/search/suggest?q=video+is+the+worst%21&locale=en-US&product=firefox&max_documents=5&max_questions=0

Each document has three parts: title, slug and summary. For example:

{u'title': u'Firefox Hello - video and voice conversations online', u'slug': u'firefox-hello-video-and-voice-conversations-online', u'summary': u'Firefox Hello lets you make free Internet calls directly from your browser. Learn how to get started here.'}

The problem here is that unless you know SUMO's url scheme, there's no way to figure out the url for the given resource.

This issue covers adding urls to the results.
This blocks further development on using the SUMO search API for enhancing the Thank You page for "sad" feedback.
Blocks: 1133769
Summary: search suggest api should return full links to things → sumo search suggest api should return full links to things
Mike gave me the "this is a great idea!", so I'm going to grab it and work on it now.
Assignee: nobody → willkg
Landed in https://github.com/mozilla/kitsune/commit/47b2b385caa77feeb0f625bb9511794209771f76

I'll wait until this gets pushed before I close it out.
I deployed this just now. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.