Re: REST API to get user name for a Bugzilla API Key
Leif Gruenwoldt <[email protected]> Wed, 23 Sep 2015 13:45:43 -0700 (PDT)
| Newsgroups | gmane.comp.bug-tracking.bugzilla.devel |
|---|---|
| Message-ID | <[email protected]> |
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-CzyLcWPZiU5YsZ3hbOqMTti2O/[email protected] > > https://lists.mozilla.org/listinfo/dev-apps-bugzilla > > - > > To view or change your list settings, click here: > > <http://bugzilla.org/cgi-bin/[email protected]> > > -- > David Lawrence > [email protected] _______________________________________________ dev-apps-bugzilla mailing list dev-apps-bugzilla-CzyLcWPZiU5YsZ3hbOqMTti2O/[email protected] 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=gcbd-developers-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org>