REST API GET URL Sample Formats for SCM Systems
Configured URL in SAM: http://<server ip>/services/github/<source>
URL runtime formation sample:
http://<server ip>/services/github/dev_fix_for_inline_edit
source = dev_fix_for_inline_edit
Note: For the branch name, SAM has a built in placeholder called 'source'. If there are additional
data elements like version or repository, then those can be configured by providing static
elements.
For example if the URL needs 'repository' and 'version' (in addition to the built-in branch name placeholder for 'source'), then providing the element in the following format is required.
Sample URL:
Configured URL in SAM: http://<server ip>/github/repos/<repository>/<version>/commits/<source>
URL runtime formation sample:
http://<server ip>/github/repos/siebelsam/sam-demo/commits/dev_fix_for_inline_edit
repository = siebelsam
version = sam-demo
source = dev_fix_for_inline_edit