It's all about the answers!

Ask a question

Is the API in the wiki doc https://jazz.net/wiki/bin/view/Main/JFSResources still supported?


Alex Akilov (1211023) | asked Nov 07 '16, 5:21 p.m.
I was trying some of the URLs listed in https://jazz.net/wiki/bin/view/Main/JFSResources but got invalid HTTP return codes.  Has this API been removed?

Accepted answer


permanent link
Jason Garcowski (16) | answered Nov 08 '16, 8:31 a.m.
Hi Alex,

Which ones are you trying to use?  I know certainly that the bulidmap ones have moved.  Historical buildmaps may still be available in that format, but all current and those created post 6.0.1 will be in the format of

https://host:port/ccm/resource/itemOid/com.ibm.team.enterprise.build.buildmap.BuildMap/xxxx

and can be queried using the format

https://host:port/ccm/resource/itemCol/com.ibm.team.enterprise.build.buildmap.BuildMap/?buildableFile=XX&buildDefinition=XXX&temporary=XX&archived=XX

I should also note that this isn't API and is subject to change at anytime without notice.
Alex Akilov selected this answer as the correct answer

Comments
Alex Akilov commented Nov 18 '16, 2:58 p.m.

 That's great that there is an alternate API.  Speaking of API, is there a way for us to programmatically query/update the source code data info?


Jason Garcowski commented Nov 18 '16, 3:16 p.m.

I know that these are certainly changing, but as of 6.0.2 I believe the following is still true. 

The direct references to dependency data referenced in the original post should still work.  Dependency data can be queried using the JFS Index Store Query service.  It is documented here: https://jazz.net/wiki/bin/view/Main/JFSIndexStoreQueryAPI but the gist of it is https://host:port/ccm/query?query=XXXXXX  where the XXXXX is an URL encoded SPARQL query.

Again these things are changing, but they are available (but not guaranteed, etc) for now.

Your answer


Register or to post your answer.