It's all about the answers!

Ask a question

Publishing question: REST Api for user details?


Dr. Markus A. Thies (321113) | asked Aug 10 '10, 4:13 a.m.
Is there a REST Api available to access information on the user (like fullname or email address)?

2 answers



permanent link
Mark Goossen (106) | answered Aug 12 '10, 4:58 p.m.
JAZZ DEVELOPER
Hi,

I know of 2 ways to do this:

You can do a GET on the user URL (https://localhost:9443/jazz/users/{userid}) and supply a header (Accept: application/rdf+xml).

Or you can use the contributor URL (https://localhost:9443/jazz/resource/itemName/com.ibm.team.repository.Contributor/{userid}), which will return a text/json response

Mark

permanent link
Dr. Markus A. Thies (321113) | answered Aug 13 '10, 10:30 a.m.
Hi,

I know of 2 ways to do this:

You can do a GET on the user URL (https://localhost:9443/jazz/users/{userid}) and supply a header (Accept: application/rdf+xml).

Or you can use the contributor URL (https://localhost:9443/jazz/resource/itemName/com.ibm.team.repository.Contributor/{userid}), which will return a text/json response

Mark

Mark,
since I would like to include that result in a report, do you have also a clue about how to use either one with the Rationa Publishing Engine (RPE)?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.