api: Request for an API for aggregated contributors metrics from MDN

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
7 years ago
6 years ago

People

(Reporter: aakashd, Assigned: lorchard)

Tracking

Details

(Whiteboard: c=api u=mozilla p=2)

(Reporter)

Description

7 years ago
The Phonebook team is planning on incorporating contributor metrics into phonebook (i.e. mozillians.org) profiles in the future. To do so, the app will need access to the following information:

* contributor e-mail address
* number of docs created
* number of demos created

...and any other useful statistics. There's no hardset timetable for this, but the sooner the better (i.e. Q4 2011).
(Reporter)

Updated

7 years ago
Blocks: 679407
pulling into 1.1 so we discuss at our next planning meeting. sounds cool!
Whiteboard: c=api u=mozilla p=
Target Milestone: --- → 1.1
(Assignee)

Comment 2

7 years ago
(In reply to Aakash Desai [:aakashd] from comment #0)
> The Phonebook team is planning on incorporating contributor metrics into
> phonebook (i.e. mozillians.org) profiles in the future. To do so, the app
> will need access to the following information:
> 
> * contributor e-mail address
> * number of docs created
> * number of demos created
> 
> ...and any other useful statistics. There's no hardset timetable for this,
> but the sooner the better (i.e. Q4 2011).

Would a JSON object per-user work for this? Might not be too hard to knock together a summary report.

Also... can you nail down and define "any other useful statistics"? There's no timetable until that happens.
(Reporter)

Comment 3

7 years ago
A JSON object per-user would work fine. I just talked to Jay and those two metrics will be enough. 


So, let's cut out "any other useful statistics" for now until it becomes more hard-defined :).
Summary: Request for an API for aggregated contributors metrics from MDN → api: Request for an API for aggregated contributors metrics from MDN
We'll add a json endpoint for every user with a profile.

How do you want to get the list of users? Should we provide a json list too, or do you want to query with a specific parameter? (e.g., email address?)
Whiteboard: c=api u=mozilla p= → c=api u=mozilla p=1
(Reporter)

Comment 5

7 years ago
I'd lean toward the latter, but I'd rather have ozten make that call since he's got an idea of how he wants a web service api to work with the phonebook.
Target Milestone: 1.1 → 1.2
Eventually the phonebook would have a "system id" for MDN which is probably the username.

Being able to query by username would be great, or you could establish a URI pattern that takes username into account which would be even better.
(Assignee)

Comment 7

7 years ago
FWIW, we probably shouldn't ever have an API to list users, at least not as a public resource. That could be troublesome for privacy or other miscellaneous reasons.

Easy enough will be something like this:

* A <link rel="alternative" type="application/json"> element in the <head> of the HTML version of the page - https://developer.mozilla.org/en-US/profiles/lmorchard/

* JSON resource at an URL like this - https://developer.mozilla.org/en-US/profiles/feeds/json/profile/lmorchard

With that, you can ask for either an HTML profile URL and discover the JSON resource, or ask for a username and assemble the JSON resource URL from a template.
All-hands de-reailed 1.2. Bumping to 1.3.
Target Milestone: 1.2 → 1.3
Whiteboard: c=api u=mozilla p=1 → c=api u=mozilla p=2
Target Milestone: 1.3 → 1.4
(Assignee)

Updated

7 years ago
Assignee: nobody → lorchard
OS: Mac OS X → Windows Mobile 6 Professional
Target Milestone: 1.4 → 1.2
(Assignee)

Comment 9

7 years ago
Whoops. Looks like I changed the milestone inadvertently
Target Milestone: 1.2 → 1.4
Target Milestone: 1.4 → ---
(Reporter)

Comment 10

7 years ago
Hey All,

FYI: We're looking to implement contributor metrics (at least with Bugzilla and any other services that are available) on Mozillians.org in mid-Q1/2012. So, we'd need the hooks by the end of the quarter for enough ramp-up time on our end.
Component: Administration → User management
Product: Mozilla Developer Network → Mozilla Developer Network

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.