Is the API in the wiki doc https://jazz.net/wiki/bin/view/Main/JFSResources still supported?
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
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.
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.
Comments
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?
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.