It's all about the answers!

Ask a question

I am having problems with /service/

Ben Beetle (1122) | asked Mar 01 '16, 9:55 p.m.

I am trying to query all project area's and then all components within each project area... 
I call /service/
to get the projects, and then take one as an example....

<values xsi:type="rest:ProjectAreaDTO">


<name>SCMon Project</name>

Source Code Access Analysis (SCAA) is now labeled SCMon for Source Code Monitoring.
<summary>Source Code Monitoring project</summary>

Then if I understand correctly I would call this to get the components....

But when I do that I get this response which appears to be the response I expect when I query a project without any components... but when I view the project area in Eclipse client, under the project, under source control, there are half a dozen components listed.  (I can provide a screenshot). 

Any ideas?

<soapenv:Envelope xmlns:soapenv="""""http:///com/ibm/team/core/services.ecore" xmlns:xsi="">
<returnValue xsi:type="">
<value xsi:type=""></value>

One answer

permanent link
Donald Nong (14.5k614) | answered Mar 02 '16, 4:38 a.m.
You're using internal APIs, which is not supported for further development.

For what you have observed, I guess maybe you only see the project-scoped components with the query that you constructed?

Ben Beetle commented Mar 03 '16, 6:52 p.m. | edited Mar 03 '16, 7:04 p.m.

 Thanks!  What exactly do you mean by "not supported for further development"?  Are you saying that this could break (further) at any time and Rational might not fix it? Is that for both the project query and the component query or just the component query?

Also... I checked... 3 of the components I expect to see say "project scoped" in eclipse.  (the others say "team private")... So if I understand your last sentence correctly, I think those 3 should at least show up in the query.  

Donald Nong commented Mar 03 '16, 7:06 p.m.

"Not supported" means that no documentation published, and how the APIs work is mainly your own guesswork. The APIs can also change without notice (to you), so your application/implementation may break.

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.