Start new transaction

Request:

POST https://example.com:9435/dm/editingsessions?rmps.context=https%3A%2F%2Frsa-jade2k8.ottawa.ibm.com%3A9435%2Fdm%2Fstreams%2F16 HTTP/1.1

Query Parameters
rmps.context=https://example.com:9435/dm/streams/16
Headers
X-ibm-rmps-internal: true

Response:

HTTP/1.1 200 OK

Headers
Server: Apache-Coyote/1.1
Location: https://example.com:9435/dm/editingsessions/329
Content-Type: text/plain;charset=UTF-8
Content-Length: 1040
Date: Thu, 27 Sep 2012 13:40:25 GMT
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:j.0="http://jazz.net/xmlns/rmps/editingsession/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="https://example.com:9435/dm/editingsessions/329">
    <j.0:owningUserUri rdf:resource="https://example.com:9435/jts/users/test"/>
    <j.0:projectUri rdf:resource="https://example.com:9435/dm/process/project-areas/_4k9iVfwdEeGIbrXzZZZ7PA"/>
    <j.0:streamUri rdf:resource="https://example.com:9435/dm/streams/16"/>
    <rdf:type rdf:resource="http://jazz.net/xmlns/rmps/editingsession/1.0/EditingSession"/>
    <j.0:state>ACTIVE</j.0:state>
    <j.0:supressChangeSetConfiguration rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</j.0:supressChangeSetConfiguration>
    <j.0:locking rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</j.0:locking>
    <j.0:indexable rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</j.0:indexable>
  </rdf:Description>
</rdf:RDF>

Set description on transaction

Request:

POST https://example.com:9435/dm/editingsessions/329?rmps.context=https%3A%2F%2Frsa-jade2k8.ottawa.ibm.com%3A9435%2Fdm%2Fstreams%2F16&streamUri=https%3A%2F%2Frsa-jade2k8.ottawa.ibm.com%3A9435%2Fdm%2Fstreams%2F16 HTTP/1.1

Query Parameters
rmps.context=https://example.com:9435/dm/streams/16
streamUri=https://example.com:9435/dm/streams/16
Headers
X-ibm-rmps-internal: true
{ "action" : "setDescription", "value" : "delete resource" }

Response:

HTTP/1.1 200 OK

Headers
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 27 Sep 2012 13:40:25 GMT

DELETE resource

Request:

DELETE https://example.com:9435/dm/models/891?rmps.context=https%3A%2F%2Frsa-jade2k8.ottawa.ibm.com%3A9435%2Fdm%2Fstreams%2F16&streamUri=https%3A%2F%2Frsa-jade2k8.ottawa.ibm.com%3A9435%2Fdm%2Fstreams%2F16 HTTP/1.1

Query Parameters
rmps.context=https://example.com:9435/dm/streams/16
streamUri=https://example.com:9435/dm/streams/16
Headers
X-ibm-rmps-internal: true

Response:

HTTP/1.1 200 OK

Headers
Server: Apache-Coyote/1.1
Content-Type: text/plain
Content-Length: 0
Date: Thu, 27 Sep 2012 13:40:26 GMT

Commit the transaction

Request:

POST https://example.com:9435/dm/editingsessions/329?rmps.context=https%3A%2F%2Frsa-jade2k8.ottawa.ibm.com%3A9435%2Fdm%2Fstreams%2F16&streamUri=https%3A%2F%2Frsa-jade2k8.ottawa.ibm.com%3A9435%2Fdm%2Fstreams%2F16 HTTP/1.1

Query Parameters
rmps.context=https://example.com:9435/dm/streams/16
streamUri=https://example.com:9435/dm/streams/16
Headers
X-ibm-rmps-internal: true
{ "action" : "commit" }

Response:

HTTP/1.1 200 OK

Headers
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 27 Sep 2012 13:40:29 GMT