DNG DSX Module URI parameter format variation
When a module URI is passed into a template from a DSX this parameter can be formulated in 4 different ways
Lets say I have a module URI _F8ptYCYOEeiWbapxO14vMQ
I have a template containing a Modules schema (from the query https://localhost:9443/rm/publish/modules?metadata=schema)
Now in the DSX I pass the module URI to the template schema
I can do this in the following 4 ways
https://localhost:9443/rm/publish/text?moduleURI=_F8ptYCYOEeiWbapxO14vMQ
https://localhost:9443/rm/publish/modules?moduleURI=_F8ptYCYOEeiWbapxO14vMQ
https://localhost:9443/rm/publish/text?resourceURI=_F8ptYCYOEeiWbapxO14vMQ
https://localhost:9443/rm/publish/modules?resourceURI=_F8ptYCYOEeiWbapxO14vMQ
What is the significance of the 4 variations in the parameter format immediately following https://localhost:9443/rm/publish/ ?
They all seem to produce the same results in the limited testing I have done.
Accepted answer
https://server:port/rm/publish/[artifact_format]?[module/resource]URI=<id>
Need to explore further on using moduleURI Vs resourceURI after "?". But ideally, [artifact_format] in the data source URI should match the data source schema used in RPE template.
One other answer
Further testing seems to show that it is also be possible to use the following 2 variations:-
https://localhost:9443/rm/publish/resources?moduleURI=_F8ptYCYOEeiWbapxO14vMQ
https://localhost:9443/rm/publish/resources?moduleURI=_F8ptYCYOEeiWbapxO14vMQ
where resources? is used instead of text? or modules? as the ? part of the URI
why do some many different options exist to produce the same results?