How to update the part of modules inside changeset/streams in configuration management using REST API programmatically
Hi Team, I want to update the part of modules inside changeset/streams in configuration management using REST API.
currently iam using below link to get the data from that resource
- https://some-server/{SERVER}/publish/modules?projectURI={project_value}&oslc_config.context={configuration}
In the same way, I have to UPDATE/PUT certain data to the modules in the above link, using REST API programmatically.
can you please provide me the approach to update using REST API.
One answer
You're currently using the DOORS Next Reportable REST API. See https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI
For DOORS Next this API is read-only, but it does provide artifact URLs you can use through the OSLC RM API.
To modify things you'll have to use the OSLC Requirements Management API, providing the oslc_config.context={changeset configuraiton URI}. See here for all ELM APIs https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding
There's a guide to using the RM OSLC API here https://jazz.net/library/article/1197 - it's quite old so doens't mention configurations, provide the configuration with each request as above.