Closed
Bug 997903
Opened 12 years ago
Closed 12 years ago
Add query for user's likes
Categories
(Webmaker Graveyard :: MakeAPI, defect)
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
| Reporter | ||
Updated•12 years ago
|
Assignee: nobody → cade
| Reporter | ||
Comment 2•12 years ago
|
||
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)
| Assignee | ||
Comment 3•12 years ago
|
||
Still need a makeapi-client update.
| Assignee | ||
Comment 4•12 years ago
|
||
Attachment #8412117 -
Flags: review?(jon)
Attachment #8412117 -
Flags: feedback?
| Assignee | ||
Updated•12 years ago
|
Attachment #8412117 -
Flags: feedback?
| Assignee | ||
Comment 5•12 years ago
|
||
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)
| Reporter | ||
Comment 6•12 years ago
|
||
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+
| Assignee | ||
Comment 7•12 years ago
|
||
(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 8•12 years ago
|
||
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-
Comment 9•12 years ago
|
||
Comment on attachment 8412100 [details] [review]
https://github.com/mozilla/MakeAPI/pull/211
Same as the other patch
Attachment #8412100 -
Flags: review?(jon) → review-
| Assignee | ||
Updated•12 years ago
|
Attachment #8412100 -
Flags: review- → review?(jon)
| Assignee | ||
Updated•12 years ago
|
Attachment #8412117 -
Flags: review- → review?(jon)
Attachment #8412117 -
Flags: review?(jon) → review+
Updated•12 years ago
|
Attachment #8412100 -
Flags: review?(jon) → review+
Comment 10•12 years ago
|
||
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
Comment 11•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/makeapi-client
https://github.com/mozilla/makeapi-client/commit/fb72787f89429d404d5936f1427461f01915fe0c
Bug 997903 - add searchUserLikes function for getting a user's liked makes
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [profile2] → [profile2][mvp]
Updated•12 years ago
|
Whiteboard: [profile2][mvp] → [profile2][mvp][may30]
You need to log in
before you can comment on or make changes to this bug.
Description
•