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? |
Accepted answer
Ian Barnard (2.3k●7●14)
| answered Nov 14, 11:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Nov 14, 11:44 a.m. 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
|
One other answer
Ralph Schoon (63.5k●3●36●46)
| answered Nov 14, 11:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER 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.
|
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.