Use of API to automate import into RM DOORS Next?
One answer
Hi Oscar
There's an old example of creating folders here https://rhnaranjo.wordpress.com/2012/06/25/folder-support-added-to-rrc-4-0-oslc-rm-api-implementation/ - note you'll have to always provide the configuration URL with this using either parameter oslc_config.context or header Configuration-Context. You'll need the folder URL when creating an artifact in a folder.
This (also old) article https://jazz.net/library/article/1197 shows the basics of creating an artifact - these days you'll also have to provide the configuration for every POST/GET/PUT.
Discovery including finding configurations is described here https://jazz.net/forum/questions/266334/dng-oslcfetch-components-from-project-area. The services.xml lists the oslc:resourceShape (i.e Artifact Type) that you'll have to search to find the one you need when creating an artifact of that type.
HTH
Ian