zulip/zerver/webhooks/gogs/fixtures/push__commits_multiple_comm...

85 lines
2.5 KiB
JSON

{
"secret": "",
"ref": "refs/heads/master",
"before": "479e6b772b7fba19412457483f50b201286d0103",
"after": "d8fce16c72a2ff56a5afc8a08645a6ce45491794",
"compare_url": "http://localhost:3000/john/try-git/compare/479e6b772b7fba19412457483f50b201286d0103...d8fce16c72a2ff56a5afc8a08645a6ce45491794",
"commits": [
{
"id": "d8fce16c72a2ff56a5afc8a08645a6ce45491794",
"message": "Webhook Test\n",
"url": "http://localhost:3000/john/try-git/commit/d8fce16c72a2ff56a5afc8a08645a6ce45491794",
"author": {
"name": "John Doe",
"email": "john@example.com",
"username": ""
},
"committer": {
"name": "John Doe",
"email": "john@example.com",
"username": ""
},
"timestamp": "2017-01-28T08:54:49-05:00"
},
{
"id": "d8fce16c72a2ff56a5afc8a08645a6ce45491794",
"message": "Webhook Test\n",
"url": "http://localhost:3000/john/try-git/commit/d8fce16c72a2ff56a5afc8a08645a6ce45491794",
"author": {
"name": "Benjamin",
"email": "ben@example.com",
"username": ""
},
"committer": {
"name": "John Doe",
"email": "john@example.com",
"username": ""
},
"timestamp": "2017-01-28T08:54:49-05:00"
}
],
"repository": {
"id": 1,
"owner": {
"id": 1,
"login": "john",
"full_name": "",
"email": "john@example.com",
"avatar_url": "https://secure.gravatar.com/avatar/ab4e102452ed53394cba1eb306de04c4",
"username": "john"
},
"name": "try-git",
"full_name": "john/try-git",
"description": "",
"private": false,
"fork": false,
"html_url": "http://localhost:3000/john/try-git",
"ssh_url": "john@localhost:john/try-git.git",
"clone_url": "http://localhost:3000/john/try-git.git",
"website": "",
"stars_count": 0,
"forks_count": 0,
"watchers_count": 1,
"open_issues_count": 0,
"default_branch": "master",
"created_at": "2017-01-27T17:21:00-05:00",
"updated_at": "2017-01-27T17:22:47-05:00"
},
"pusher": {
"id": 1,
"login": "john",
"full_name": "",
"email": "john@example.com",
"avatar_url": "https://secure.gravatar.com/avatar/ab4e102452ed53394cba1eb306de04c4",
"username": "john"
},
"sender": {
"id": 1,
"login": "john",
"full_name": "",
"email": "john@example.com",
"avatar_url": "https://secure.gravatar.com/avatar/ab4e102452ed53394cba1eb306de04c4",
"username": "john"
}
}