Are there any API docs?
I'm trying to use the JazzRTC Java API but I'm having a lot of difficulty understanding how to use it. I have found the Javadocs already, and although javadocs are great from a pure technical perspective, they do not explain how things work together from a general perspective.
I found the following blog on the Jazz site Rational Team Concert Plain Java API's which is a good start, but I'm still struggling to understand basic principals. For example, which classes I need to use to checkin/checkout files from a workspace. Which classes I need to deliver content to a stream. Etc.
Is there any additional documentation apart from the javadocs to better understand how Jazz/the API works?
|
2 answers
Ralph Schoon (63.5k●3●36●46)
| answered Aug 27 '15, 3:46 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There is JavaDoc for download, however, I don't think it is very useful.
Start here: Setting up Rational Team Concert for API Development and Understanding and Using the RTC Java Client API and search that blog for more info. Also What API's are Available for RTC and What Can You Extend? and https://rsjazz.wordpress.com/interesting-links/ could be useful. Comments
Eric Benzacar
commented Aug 27 '15, 4:55 p.m.
Thanks. I had found a lot of those sites already. At the moment, I'm specifically looking for docs relating to creating files/folders via the API and can only find blogs (mostly from non-official Jazz sites) which use parts of the API which are undocumented (ex: IFileItem, IFileContent,Manager, IFile*, etc).
So I'm wondering where the knowledge comes from? There are no API docs for these classes, and I read somewhere that no javadocs means the classes aren't part of the official API (useable, but can easily change from one version to another).
So how/where do I find out how to manage files & folders?
There is few official documentation available besides the JavaDoc. There is however the SDK and you can basically see the classes and the documentation if you followed Setting up Rational Team Concert for API Development and Understanding and Using the RTC Java Client API. Even, if available for internal classes.
|
the structure of the API for source code mgmt is a lot more complex than the workitem api.
Unless you REALLY REALLY need to use the API, I would suggest using the commandline to build scripts. additionally you might be able to get some concepts here https://jazz.net/library/LearnItem.jsp?href=content/docs/client-tour/using-scm.html note that like the rest of the system, scm is object oriented, so it takes many classes generally to construct an operating piece of logic Comments
Eric Benzacar
commented Aug 27 '15, 9:51 p.m.
Using the commandline is not an option. I REALLY, REALLY, need to use the API to embed the solution into another application. |
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.