It's all about the answers!

Ask a question

RTC 3.0 SCM via REST APIs


EclipseTalk . (32736161) | asked Aug 03 '10, 9:37 p.m.
Hello,
I have 2 questions I'd like to ask:
1) I need to get access to components/streams/files in RTC 3.0. I can do this via Java APIs without problems but I'm not too sure how to do that via the REST APIs. I'm using an HTTP client to connect to JTS via OAuth.
2) On the other hand, if I want to use a mix of REST APIs and Java APIs how can I get an ITeamRepository object without asking the user to log once more by invoking the following?
TeamPlatform.getTeamRepositoryService().getTeamRepository(REPOSITORY_ADDRESS)
Can I get a ITeamRepository object handle once I'm connected to JFS via a Java httpclient?
Thank you in advance for your help.

2 answers



permanent link
Stefan Hufnagl (29411920) | answered Aug 04 '10, 2:56 a.m.
Hi,

I'm also interested in an answer for question one...because on many platforms (Android Phone, App Severn etc.) you can not use/upload the RTC Java Libs/Jar ==> OSLC is mandatory!

BTW, can you share your code (OAuth with HttpClient)?

Thanks in advance

Stef

permanent link
EclipseTalk . (32736161) | answered Sep 07 '10, 4:47 p.m.
For oauth you may have a look at com.ibm.team.jfs.app.oauth.client.OAuthConsumerClientHelper

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.