Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Doors Next Generation 7.0.3: Query for local streams in project via API and create local streams in project via API

 I know you can query for global streams in GCM via API, as well as create global streams via API as how to do that is detailed at this link. But is it possible to query for local streams that are in a Doors Next project via API, as well as create local streams in Doors next via API?

0 votes


Accepted answer

Permanent link

Hi Joshua


In 7.0.3 there isn't a direct query for configurations - you have to discover them.

See this answer for the discovery sequence to find configurations https://jazz.net/forum/questions/266334/dng-oslcfetch-components-from-project-area

Then you can create a stream by POST to an entry the oslc_config:baselines collection (because streams always start from a baseline, using the same principle as for creating a changeset described here https://jazz.net/forum/questions/285890/how-can-i-create-in-dng-via-api-a-new-change-set adapting the example of xml/rdf for a changeset to be for a stream

In 7.1 there is a new API with OSLC Query capability on configurations, to query for baselines in a stream. See https://jazz.net/wiki/bin/view/Main/DNGOSLCConfigurationQueryCapabilityOverview
HTH
Ian

Joshua Baxter selected this answer as the correct answer

0 votes


One other answer

Permanent link

This is our API landing page: https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding

These are all the documented API's. 

The type system manager https://rsjazz.wordpress.com/2019/02/01/type-system-manager-part-1/ uses some of the server APIs. This includes iterating the configurations e.g. streams.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Nov 14, 9:40 a.m.

Question was seen: 282 times

Last updated: Nov 14, 11:44 a.m.

Confirmation Cancel Confirm