It's all about the answers!

Ask a question

Service for getting users info


Jorge Diaz (8664434) | asked Oct 17 '11, 7:45 a.m.
JAZZ DEVELOPER
Hello,

I would like to get users information from service call. From the services catalog, I found the following service url:

https://<server>/jts/users

However, I get in response:

"NetworkError: 405 Method Not Allowed - https://<server>/jts/users"

On the other hand, I can find this information by calling the service:

https://<server>/jts/service/com.ibm.team.repository.service.internal.IAdminRestService/contributors?searchTerm=%25&hideArchivedUsers=true

But this service is marked as "internal", so I guess not meant to be consumed from external sources ...

Is there any way of getting this information from a public service of the catalog or plans to get this implemented?

Thanks in advance for the help.

Regads,

Jorge.

3 answers



permanent link
John Vasta (2.6k15) | answered Oct 17 '11, 10:13 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
The specification for the JFS Users service is at

https://jazz.net/wiki/bin/view/Main/JFSUsersAPI

Note that it says if you just issue a GET request to the server URL, the response will be 405 Method Not Allowed, because you have to specify some sort of query to filter the set of users that will be returned.

permanent link
Jorge Diaz (8664434) | answered Oct 17 '11, 11:34 a.m.
JAZZ DEVELOPER
Thanks for the clarification John.

This is part of OSLC Core spec right? (http://open-services.net/bin/view/Main/OslcCoreSpecification?sortcol=table;up=#Appendix_D_References).

Regards,

Jorge.

permanent link
John Vasta (2.6k15) | answered Oct 18 '11, 10:37 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
No, the Jazz users REST service is a proprietary Jazz Foundation service.

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.