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
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
One other answer
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.