Check for workspace or stream using scm commandline
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".
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 24 '17, 2:23 a.m.What is a user input URL and how is it related to RTC SCM?
Jyotsna Prasad
Jan 24 '17, 3:12 a.m.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