It's all about the answers!

Ask a question

How to acces to the worspace or stream using rtc server api?


Álvaro Alonso (35127) | asked Nov 21 '19, 3:34 a.m.

 I need to acces to the stream or to the workspace to get the path of a file.


How can i acces to them using the rtc server api?


Thanks


Comments
Geoffrey Clemm commented Nov 21 '19, 8:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Which stream or workspace do you want to use? 


Álvaro Alonso commented Nov 21 '19, 9:46 a.m.

I have a change set and i need to get the path of the changed  file when the user do a deliver operation. So im not sure which stream i have to use.


Geoffrey Clemm commented Nov 21 '19, 1:44 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The only stream/workspace that is guaranteed to have the pathnames of the modified files is the source of the deliver operation (i.e. the one that currently contains the change set).   So I suggest rephrasing your question as "how do I find the source workspace/stream for a deliver operation".   Note that if the deliver operation does not have this information in its payload, you could also use the "target" workspace/stream (with the caveat that the files that do not exist in the target will not have a pathname in the target). 

Be the first one to answer this question!


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.