REST API to get user name for a Bugzilla API Key

Leif Gruenwoldt leifer at gmail.com
Wed Sep 23 20:45:43 UTC 2015


Terrific. That looks like exactly what I'm looking for. I will be patient then and wait for it to make it upstream.

On Wednesday, September 23, 2015 at 4:35:18 PM UTC-4, David Lawrence wrote:
> We are working on something like this for BMO that could be ported over
> to upstream if someone wanted it. It would need to be updated to work
> with the new versionen API scheme. Also I need to update my version as well.
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=1204683
> 
> dkl
> 
> Leif Gruenwoldt wrote:
> > Is there a Bugzilla REST API call to determine the user id with for an api key? 
> > 
> > What I'd like my app to is display the users name once they have  authenticated with an api key (as a sanity check they are signed into the right account in case they are sharing a web browser with a friend, etc). Is this possible?
> > 
> > I expected something like this to return the user id field but it doesn't.
> > 
> > /rest/user/?api_token=foobar
> > 
> > or maybe this
> > 
> > /rest/valid_login?api_token=foobar
> > _______________________________________________
> > dev-apps-bugzilla mailing list
> > dev-apps-bugzilla at lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-apps-bugzilla
> > -
> > To view or change your list settings, click here:
> > <http://bugzilla.org/cgi-bin/mj_wwwusr?user=dkl@mozilla.com>
> 
> -- 
> David Lawrence
> dkl at mozilla.com

_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list