It's all about the answers!

Ask a question

Is there any rest API available for deletion of artifacts in RRC?

Samanwita Majumdar (5033639) | asked Sep 10 '12, 7:18 a.m.
I need an API documentation to delete artifacts in RRC. My requirement is to get artifact id using the RRC query Capability OSLC REST API and then delete the same using the API from OSLC. Can I have the relevant code snippets to have the same implemented?

2 answers

permanent link
Jared Russell (1.3k12019) | answered Sep 10 '12, 7:31 a.m.
edited Sep 10 '12, 7:31 a.m.
 See the resource removal section of this page.

To delete an OSLC Defined Resource, or any type of resource managed by a service, a client performs an HTTP DELETE on the resource's URI.

permanent link
Samanwita Majumdar (5033639) | answered Sep 11 '12, 6:30 a.m.
Can you help me provide a sample of this URI and details of the parameter that need to be sent for performing delete.

JM Seo commented Mar 13 '13, 5:53 p.m.

I think as long as etag added into header "If-Match" with using httpDelete method should delete an artifact like a charm.

Your answer

Register or to post your answer.