question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebHook support for gitlab.org

See original GitHub issue

Example payload:

{
  "before": "95790bf891e76fee5e1747ab589903a6a1f80f22",
  "after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
  "ref": "refs/heads/master",
  "user_id": 4,
  "user_name": "John Smith",
  "repository": {
    "name": "Diaspora",
    "url": "git@localhost:diaspora.git",
    "description": "",
    "homepage": "http://localhost/diaspora",
  },
  "commits": [
    {
      "id": "b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
      "message": "Update Catalan translation to e38cb41.",
      "timestamp": "2011-12-12T14:27:31+02:00",
      "url": "http://localhost/diaspora/commits/b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
      "author": {
        "name": "Jordi Mallach",
        "email": "jordi@softcatala.org",
      }
    },
    // ...
    {
      "id": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
      "message": "fixed readme",
      "timestamp": "2012-01-03T23:36:29+02:00",
      "url": "http://localhost/diaspora/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
      "author": {
        "name": "GitLab dev user",
        "email": "gitlabdev@dv6700.(none)",
      },
    },
  ],
  "total_commits_count": 4,
};

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
wookayincommented, Dec 28, 2016

Great, it works nice. BTW, do you please plan to deploy this support into http://n.tkte.ch/? Thanks!

0reactions
Techmancommented, May 18, 2017

Bump. @TkTech

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webhooks - GitLab Docs
Webhooks are custom HTTP callbacks that you define. They are usually triggered by an event, such as pushing code to a repository or...
Read more >
Web hooks · Help · GitLab
You can configure webhooks to listen for specific events like pushes, issues or merge requests. GitLab will send a POST request with data...
Read more >
Webhooks · Integrations · Project · User · Help · GitLab
You can configure webhooks to listen for specific events like pushes, issues or merge requests. GitLab sends a POST request with data to...
Read more >
Unable to add Webhooks for Gitlab project - Snyk Support
Secondly we have seen issues where the problem was caused by a misconfiguration on the Gitlab side. Please refer to this article: https://gitlab.com/gitlab-org/ ......
Read more >
Web hooks | Help | GitLab
GitLab will send a POST request with data to the web hook URL. ... "Gitlab Test", "url": "http://localhost/gitlab-org/gitlab-test.git", "description": "Aut ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found