Check for workspace or stream using scm commandline
![]() Hello,
|
Accepted answer
![]() scm command line cannot parse the url but you could you parse out the item id from the url and run 'scm show attriubtes -r <repo_url> -w <workspace_or_stream_item_id> -j
The output will be in json format and it will have a key called "type". For workspace it will be: "type": "WORKSPACE" and for stream it will be "type": "STREAM".
Jyotsna Prasad selected this answer as the correct answer
|
Comments
What is a user input URL and how is it related to RTC SCM?
Hi Ralph, the URL is Stream/Workspace URL which is of this form https://XXXXX/ccm/resource/xxxxxxx/xxxx.scm.Workspace/xxxx.....for both Stream & Workspace the form is this only...How to recognise if it is of Stream or Workspace using scm commandline