github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitlab/push-event.json (about)

     1  {
     2    "object_kind": "push",
     3    "before": "95790bf891e76fee5e1747ab589903a6a1f80f22",
     4    "after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
     5    "ref": "refs/heads/master",
     6    "checkout_sha": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
     7    "user_id": 4,
     8    "user_name": "John Smith",
     9    "user_email": "john@example.com",
    10    "user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
    11    "project_id": 15,
    12    "project":{
    13      "name":"Diaspora",
    14      "description":"",
    15      "web_url":"http://example.com/mike/diaspora",
    16      "avatar_url":null,
    17      "git_ssh_url":"git@example.com:mike/diaspora.git",
    18      "git_http_url":"http://example.com/mike/diaspora.git",
    19      "namespace":"Mike",
    20      "visibility_level":0,
    21      "path_with_namespace":"mike/diaspora",
    22      "default_branch":"master",
    23      "homepage":"http://example.com/mike/diaspora",
    24      "url":"git@example.com:mike/diaspora.git",
    25      "ssh_url":"git@example.com:mike/diaspora.git",
    26      "http_url":"http://example.com/mike/diaspora.git"
    27    },
    28    "repository":{
    29      "name": "Diaspora",
    30      "url": "git@example.com:mike/diaspora.git",
    31      "description": "",
    32      "homepage": "http://example.com/mike/diaspora",
    33      "git_http_url":"http://example.com/mike/diaspora.git",
    34      "git_ssh_url":"git@example.com:mike/diaspora.git",
    35      "visibility_level":0
    36    },
    37    "commits": [
    38      {
    39        "id": "b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
    40        "message": "Update Catalan translation to e38cb41.",
    41        "timestamp": "2011-12-12T14:27:31+02:00",
    42        "url": "http://example.com/mike/diaspora/commit/b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
    43        "author": {
    44          "name": "Jordi Mallach",
    45          "email": "jordi@softcatala.org"
    46        },
    47        "added": ["CHANGELOG"],
    48        "modified": ["app/controller/application.rb"],
    49        "removed": []
    50      },
    51      {
    52        "id": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
    53        "message": "fixed readme",
    54        "timestamp": "2012-01-03T23:36:29+02:00",
    55        "url": "http://example.com/mike/diaspora/commit/da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
    56        "author": {
    57          "name": "GitLab dev user",
    58          "email": "gitlabdev@dv6700.(none)"
    59        },
    60        "added": ["CHANGELOG"],
    61        "modified": ["app/controller/application.rb"],
    62        "removed": []
    63      }
    64    ],
    65    "total_commits_count": 4
    66  }