document/文档/linux/Gitea/webhook.json
2024-06-30 04:47:39 +08:00

195 lines
5.6 KiB
JSON

{
"ref": "refs/heads/main",
"before": "dd420bcda9be2ff3dde9d65b4c30c0a08c9b043c",
"after": "dd420bcda9be2ff3dde9d65b4c30c0a08c9b043c",
"compare_url": "http://123.207.203.228:3000/server/CodeRelease/compare/dd420bcda9be2ff3dde9d65b4c30c0a08c9b043c...dd420bcda9be2ff3dde9d65b4c30c0a08c9b043c",
"commits": [
{
"id": "dd420bcda9be2ff3dde9d65b4c30c0a08c9b043c",
"message": "提交代码\n",
"url": "http://123.207.203.228:3000/server/CodeRelease/commit/dd420bcda9be2ff3dde9d65b4c30c0a08c9b043c",
"author": {
"name": "zpc",
"email": "zpc1131@gmail.com",
"username": ""
},
"committer": {
"name": "zpc",
"email": "zpc1131@gmail.com",
"username": ""
},
"verification": null,
"timestamp": "0001-01-01T00:00:00Z",
"added": null,
"removed": null,
"modified": null
}
],
"total_commits": 1,
"head_commit": {
"id": "dd420bcda9be2ff3dde9d65b4c30c0a08c9b043c",
"message": "提交代码\n",
"url": "http://123.207.203.228:3000/server/CodeRelease/commit/dd420bcda9be2ff3dde9d65b4c30c0a08c9b043c",
"author": {
"name": "zpc",
"email": "zpc1131@gmail.com",
"username": ""
},
"committer": {
"name": "zpc",
"email": "zpc1131@gmail.com",
"username": ""
},
"verification": null,
"timestamp": "0001-01-01T00:00:00Z",
"added": null,
"removed": null,
"modified": null
},
"repository": {
"id": 6,
"owner": {
"id": 3,
"login": "server",
"login_name": "",
"source_id": 0,
"full_name": "",
"email": "server@noreply.localhost",
"avatar_url": "http://123.207.203.228:3000/avatars/cf1e8c14e54505f60aa10ceb8d5d8ab3",
"html_url": "http://123.207.203.228:3000/server",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2024-06-02T13:09:11+08:00",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "",
"visibility": "public",
"followers_count": 0,
"following_count": 0,
"starred_repos_count": 0,
"username": "server"
},
"name": "CodeRelease",
"full_name": "server/CodeRelease",
"description": "代码发布",
"empty": false,
"private": false,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 39,
"language": "",
"languages_url": "http://123.207.203.228:3000/api/v1/repos/server/CodeRelease/languages",
"html_url": "http://123.207.203.228:3000/server/CodeRelease",
"url": "http://123.207.203.228:3000/api/v1/repos/server/CodeRelease",
"link": "",
"ssh_url": "git@123.207.203.228:server/CodeRelease.git",
"clone_url": "http://123.207.203.228:3000/server/CodeRelease.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": "2024-06-25T11:48:41+08:00",
"updated_at": "2024-06-25T14:11:25+08:00",
"archived_at": "1970-01-01T08:00:00+08:00",
"permissions": {
"admin": false,
"push": false,
"pull": false
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": true,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"has_projects": true,
"projects_mode": "all",
"has_releases": true,
"has_packages": true,
"has_actions": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"allow_fast_forward_only_merge": true,
"allow_rebase_update": true,
"default_delete_branch_after_merge": false,
"default_merge_style": "merge",
"default_allow_maintainer_edit": false,
"avatar_url": "http://123.207.203.228:3000/",
"internal": false,
"mirror_interval": "",
"object_format_name": "",
"mirror_updated": "0001-01-01T00:00:00Z",
"repo_transfer": null
},
"pusher": {
"id": 2,
"login": "zhangzhe",
"login_name": "",
"source_id": 0,
"full_name": "",
"email": "zhangzhe@noreply.localhost",
"avatar_url": "http://123.207.203.228:3000/avatars/a41a0dc924cc9424ef91104f38c3b30d",
"html_url": "http://123.207.203.228:3000/zhangzhe",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2024-05-31T17:08:51+08:00",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "",
"visibility": "public",
"followers_count": 0,
"following_count": 0,
"starred_repos_count": 0,
"username": "zhangzhe"
},
"sender": {
"id": 2,
"login": "zhangzhe",
"login_name": "",
"source_id": 0,
"full_name": "",
"email": "zhangzhe@noreply.localhost",
"avatar_url": "http://123.207.203.228:3000/avatars/a41a0dc924cc9424ef91104f38c3b30d",
"html_url": "http://123.207.203.228:3000/zhangzhe",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2024-05-31T17:08:51+08:00",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "",
"visibility": "public",
"followers_count": 0,
"following_count": 0,
"starred_repos_count": 0,
"username": "zhangzhe"
}
}