It's all about the answers!

Ask a question

How to create an URI to get Artifacts for Configuration managed qm project with several streams in REST API?


Muhammad Mumshad Hassan (131) | asked Jul 20 '21, 12:43 p.m.
edited Jul 20 '21, 3:17 p.m.

Hello. I am trying to get the URI so that I can get test suites from different streams, but it is not working. Any help will be appreciated.


I want to look for the test suite in a different stream through Rest API. How can I modify the URI?

With this URI above, it only looks for the test suite in my main stream, but not the other streams. I also want to get and load the other test suites which are in other streams with the REST API

Accepted answer


permanent link
David Honey (1.8k17) | answered Jul 20 '21, 1:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The standard way as defined by the OSLC Configuration Management specification is to do one of the following:

  • Specify the query parameter ?oslc_config.context=configurationUri
  • Add a Configuration-Context header whose value is the URI of a configuration.

Muhammad Mumshad Hassan selected this answer as the correct answer

Comments
Muhammad Mumshad Hassan commented Jul 20 '21, 2:34 p.m. | edited Jul 20 '21, 3:19 p.m.

Thanks a lot. Perfect

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.