{
  "ref": "refs/heads/main",
  "before": "d74a0d9989b1642e82e5f7ab3ba395f4034b1fcd",
  "after": "fc0cf34aac1443223c9dd55f3a901e6b38bd25b0",
  "compare_url": "https://try.gitea.io/johndoe/webhook-test/compare/d74a0d9989b1642e82e5f7ab3ba395f4034b1fcd...fc0cf34aac1443223c9dd55f3a901e6b38bd25b0",
  "commits": [
    {
      "id": "fc0cf34aac1443223c9dd55f3a901e6b38bd25b0",
      "message": "Add a new line to trigger webhook when pushing commit\n",
      "url": "https://try.gitea.io/johndoe/webhook-test/commit/fc0cf34aac1443223c9dd55f3a901e6b38bd25b0",
      "author": {
        "name": "John Doe",
        "email": "john.doe@example.org",
        "username": ""
      },
      "committer": {
        "name": "John Doe",
        "email": "john.doe@example.org",
        "username": ""
      },
      "verification": null,
      "timestamp": "2022-10-25T17:34:08+02:00",
      "added": [],
      "removed": [],
      "modified": [
        "README.md"
      ]
    }
  ],
  "total_commits": 1,
  "head_commit": {
    "id": "fc0cf34aac1443223c9dd55f3a901e6b38bd25b0",
    "message": "Add a new line to trigger webhook when pushing commit\n",
    "url": "https://try.gitea.io/johndoe/webhook-test/commit/fc0cf34aac1443223c9dd55f3a901e6b38bd25b0",
    "author": {
      "name": "John Doe",
      "email": "john.doe@example.org",
      "username": ""
    },
    "committer": {
      "name": "John Doe",
      "email": "john.doe@example.org",
      "username": ""
    },
    "verification": null,
    "timestamp": "2022-10-25T17:34:08+02:00",
    "added": [],
    "removed": [],
    "modified": [
      "README.md"
    ]
  },
  "repository": {
    "id": 38171,
    "owner": {
      "id": 520163,
      "login": "johndoe",
      "login_name": "",
      "full_name": "",
      "email": "johndoe@noreply.try.gitea.io",
      "avatar_url": "https://try.gitea.io/avatars/1c41d79af82e53f20334d1cf9a3dea7e",
      "language": "",
      "is_admin": false,
      "last_login": "0001-01-01T00:00:00Z",
      "created": "2022-10-25T15:30:24Z",
      "restricted": false,
      "active": false,
      "prohibit_login": false,
      "location": "",
      "website": "",
      "description": "",
      "visibility": "public",
      "followers_count": 0,
      "following_count": 0,
      "starred_repos_count": 0,
      "username": "johndoe"
    },
    "name": "webhook-test",
    "full_name": "johndoe/webhook-test",
    "description": "",
    "empty": false,
    "private": false,
    "fork": false,
    "template": false,
    "parent": null,
    "mirror": false,
    "size": 88,
    "language": "",
    "languages_url": "https://try.gitea.io/api/v1/repos/johndoe/webhook-test/languages",
    "html_url": "https://try.gitea.io/johndoe/webhook-test",
    "ssh_url": "git@try.gitea.io:johndoe/webhook-test.git",
    "clone_url": "https://try.gitea.io/johndoe/webhook-test.git",
    "original_url": "",
    "website": "",
    "stars_count": 0,
    "forks_count": 0,
    "watchers_count": 1,
    "open_issues_count": 0,
    "open_pr_counter": 0,
    "release_counter": 0,
    "default_branch": "main",
    "archived": false,
    "created_at": "2022-10-25T15:31:27Z",
    "updated_at": "2022-10-25T15:31:28Z",
    "permissions": {
      "admin": true,
      "push": true,
      "pull": true
    },
    "has_issues": true,
    "internal_tracker": {
      "enable_time_tracker": false,
      "allow_only_contributors_to_track_time": true,
      "enable_issue_dependencies": true
    },
    "has_wiki": true,
    "has_pull_requests": true,
    "has_projects": true,
    "ignore_whitespace_conflicts": false,
    "allow_merge_commits": true,
    "allow_rebase": true,
    "allow_rebase_explicit": true,
    "allow_squash_merge": true,
    "allow_rebase_update": true,
    "default_delete_branch_after_merge": false,
    "default_merge_style": "merge",
    "avatar_url": "",
    "internal": false,
    "mirror_interval": "",
    "mirror_updated": "0001-01-01T00:00:00Z",
    "repo_transfer": null
  },
  "pusher": {
    "id": 520163,
    "login": "johndoe",
    "login_name": "",
    "full_name": "",
    "email": "johndoe@noreply.try.gitea.io",
    "avatar_url": "https://try.gitea.io/avatars/1c41d79af82e53f20334d1cf9a3dea7e",
    "language": "",
    "is_admin": false,
    "last_login": "0001-01-01T00:00:00Z",
    "created": "2022-10-25T15:30:24Z",
    "restricted": false,
    "active": false,
    "prohibit_login": false,
    "location": "",
    "website": "",
    "description": "",
    "visibility": "public",
    "followers_count": 0,
    "following_count": 0,
    "starred_repos_count": 0,
    "username": "johndoe"
  },
  "sender": {
    "id": 520163,
    "login": "johndoe",
    "login_name": "",
    "full_name": "",
    "email": "johndoe@noreply.try.gitea.io",
    "avatar_url": "https://try.gitea.io/avatars/1c41d79af82e53f20334d1cf9a3dea7e",
    "language": "",
    "is_admin": false,
    "last_login": "0001-01-01T00:00:00Z",
    "created": "2022-10-25T15:30:24Z",
    "restricted": false,
    "active": false,
    "prohibit_login": false,
    "location": "",
    "website": "",
    "description": "",
    "visibility": "public",
    "followers_count": 0,
    "following_count": 0,
    "starred_repos_count": 0,
    "username": "johndoe"
  }
}