Skip to content

Instantly share code, notes, and snippets.

@FeodorFitsner
Created December 18, 2014 05:35
Show Gist options
  • Save FeodorFitsner/04168dad17a5a73fa714 to your computer and use it in GitHub Desktop.
Save FeodorFitsner/04168dad17a5a73fa714 to your computer and use it in GitHub Desktop.
Assembla webhook
Template:
{
"author": "%{author}",
"space": "%{space}",
"title": "%{title}",
"link": "%{link}",
"repository_suffix": "%{repository_suffix}",
"commit_id": "%{commit_id}",
"action": "%{action}",
"body": "%{body}",
"repository_url": "%{repository_url}",
"branch": "%{branch}"
}
Sample payload:
{
\n "author": "appveyor2",
\n "space": "test101",
\n "title": "Changeset [812c2db0627]: 5th commit",
\n "link": "https://www.assembla.com/code/test101/git/changesets/812c2db0627649f76bd9e55647f8624e4de72190",
\n "repository_suffix": "origin",
\n "commit_id": "812c2db0627",
\n "action": "committed",
\n "body": "5th commit\n\nBranch: master\nCommit from user: appveyor2",
\n "repository_url": "git@git.assembla.com:test101.git",
\n "branch": "master"
\n}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment