3

我正在使用以下查询来检索变更集。

OSCL 查询:

https://ibm.com:9443/ccm/resource/itemOid/com.ibm.team.scm.ChangeSet/_HFxrmiEbEeS7m-qENunxUw?_mediaType=text/xml

得到以下响应:

<scm:ChangeSet itemId="_HFxrmiEbEeS7m-qENunxUw"
properties="">
   <stateId>_W8aNECEbEeS7m-qENunxUw</stateId>
   <immutable>true</immutable>
   <contextId>_Dp6kMdwTEd2jUupDpQV1Rw</contextId>
   <modified>2014-08-11T05:50:11.568Z</modified>
   <mergePredecessor xsi:nil="true" />
   <predecessor>_RaxwgCEbEeS7m-qENunxUw</predecessor>
   <active>false</active>
   <comment>Test</comment>
   <lastUpdatedDate>2014-08-11T05:50:11.225Z</lastUpdatedDate>
   <modifiedBy itemId="_FAv8gA4GEeSsZdvBzERdWQ" />
   <changes>
       <internalId>_HUW6IiEbEeS7m-qENunxUw</internalId>
       <kind>2</kind>
       <before>_nDuHQBhzEeS88s3Rov8pNA</before>
       <after>_HUNJJSEbEeS7m-qENunxUw</after>
       <item itemId="_k5S2oBhzEeSht4FX-gq3Zg" xsi:type="filesystem:FileItemHandle" />
   </changes>
   <component itemId="_RvxoEBhzEeS88s3Rov8pNA" />
   <owner itemId="_FAv8gA4GEeSsZdvBzERdWQ" />
   <xComponentLink xsi:nil="true" />

我想获取更改详细信息。如果有人共享 OSLC 查询以检索更改详细信息,那就太好了。

4

1 回答 1

1

@user2530633,试试下面的查询,不是oslc查询

.com/ccm/service/com.ibm.team.filesystem.common.internal.rest.IFilesystemRestService2/changeSetPlus?knownTextContentTypePrefixes=text%2F&knownTextContentTypeStrings=application%2Fxml&knownTextContentTypeStrings=application%2Fjavascript&knownTextContentTypeStrings=application%2Fecmascript&knownTextContentTypeStrings=application%2Fx-javascript&changeSetPath=workspaceId %2F_Dh7kMAHIEeSZzL8CZgHcOQ%2FchangeSetId%2F_quVzDljgEeSiBMylK1kVWg&maxChanges=500"

在这里只需替换您的 workspaceid 和 changesetid 您可以找到内容的更改

于 2014-11-12T11:00:33.823 回答