Closed Bug 997903 Opened 12 years ago Closed 12 years ago

Add query for user's likes

Categories

(Webmaker Graveyard :: MakeAPI, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gvn, Assigned: cade)

References

Details

(Whiteboard: [profile2][mvp][may30])

Attachments

(2 files)

We're going to need a method to be added to the API to support querying makes liked by a given user. This is functionality that we're hoping to support on the new user profiles. See: https://redpen.io/jhbfaw
Blocks: 997935
Assignee: nobody → cade
how much of a blocker is this for you?
Flags: needinfo?(gavin)
It's a blocker for part of the new Profile, but it can wait a bit if other stuff is higher priority. FWIW I'm primarily working on Events this week...
Flags: needinfo?(gavin)
Still need a makeapi-client update.
Attachment #8412117 - Flags: review?(jon)
Attachment #8412117 - Flags: feedback?
Attachment #8412117 - Flags: feedback?
Comment on attachment 8412100 [details] [review] https://github.com/mozilla/MakeAPI/pull/211 Gavin: does this do what you need? GET /api/version/make/like/:username[?size=<number>]
Attachment #8412100 - Flags: review?(jon)
Attachment #8412100 - Flags: feedback?(gavin)
Comment on attachment 8412100 [details] [review] https://github.com/mozilla/MakeAPI/pull/211 That looks good to me. I'm assuming that you get every Like if you don't specify a count? Also, looks like this route will need to be added to the docs.
Attachment #8412100 - Flags: feedback?(gavin) → feedback+
(In reply to Gavin Suntop [:gvn] from comment #6) > Comment on attachment 8412100 [details] [review] > https://github.com/mozilla/MakeAPI/pull/211 > > That looks good to me. I'm assuming that you get every Like if you don't > specify a count? no, you'll get a default of ten, max of 100 (not set in stone) I can also add pagination. > Also, looks like this route will need to be added to the docs. yes!
Comment on attachment 8412117 [details] [review] https://github.com/mozilla/makeapi-client/pull/35 This works, but lets change it from a separate search function to something that can be integrated into the main search function. Maybe as `likedBy`, `likedByUser`, or `likedByUsername`?
Attachment #8412117 - Flags: review?(jon) → review-
Attachment #8412100 - Flags: review?(jon) → review-
Attachment #8412100 - Flags: review- → review?(jon)
Attachment #8412117 - Flags: review- → review?(jon)
Attachment #8412117 - Flags: review?(jon) → review+
Attachment #8412100 - Flags: review?(jon) → review+
Commit pushed to master at https://github.com/mozilla/MakeAPI https://github.com/mozilla/MakeAPI/commit/52988669350f0eb4944871328b5c264c97cb0c2b bug 997903 1. Add getUserLikes generator 2. Clean up search query generator with async waterfall
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [profile2] → [profile2][mvp]
Whiteboard: [profile2][mvp] → [profile2][mvp][may30]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: