Creating Collection artifact using OSLC
Hi,
Format:Text
One answer
the dcterms:identifier is not the URI for the collection, its just the identifier in the context of the project area. You need to POST a new resource with a blank node for the identifier (the resource URI). Something like:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/" >
<rdf:Description rdf:nodeID="A0">
<dc:title>Some new resource</dc:title>
<dc:description>To check the Contributes To on a REST created Work Item</dc:description>
<rdf:type rdf:resource="http://open-services.net/rm#RequirementCollection"/>
</rdf:Description>
</rdf:RDF>
Comments
Donald Nong
Apr 09 '18, 3:42 a.m.