Commit Event
Description of push event parameters.
Parameter Description
| Parameter Name | Parameter Type | Parameter Description |
|---|---|---|
| object_kind | string | Event type, here it is "push" indicating a push event |
| event_name | string | Event name, same as object_kind, indicating a push event |
| before | string | The commit SHA value before the push |
| after | string | The commit SHA value after the push |
| ref | string | Git reference path, for example "refs/heads/main" indicates the main branch |
| checkout_sha | string | The checked-out commit SHA value |
| message | string | Message content |
| user_id | integer | User ID that triggered the push event |
| user_name | string | User's display name |
| user_username | string | User's username |
| user_email | string | User's email address |
| user_avatar | string | User avatar URL |
| project_id | integer | Unique identifier for the project |
| project.id | integer | Project ID |
| project.name | string | Project name |
| project.description | string | Project description |
| project.web_url | string | Project's web access address |
| project.avatar_url | string | Project avatar URL |
| project.git_ssh_url | string | Project's SSH clone address |
| project.git_http_url | string | Project's HTTP clone address |
| project.namespace | string | Project namespace |
| project.visibility_level | integer | Project visibility level (0: private, 1: public) |
| project.path_with_namespace | string | Project path with namespace |
| project.default_branch | string | Project's default branch |
| project.homepage | string | Project homepage URL |
| project.url | string | Project Git repository URL |
| project.ssh_url | string | Project SSH clone URL |
| project.http_url | string | Project HTTP clone URL |
| commits[].id | string | Commit SHA value |
| commits[].message | string | Commit message |
| commits[].timestamp | string | Commit timestamp |
| commits[].url | string | URL for the commit details page |
| commits[].author.name | string | Commit author's name |
| commits[].author.email | string | Commit author's email |
| commits[].added | array | List of files added in this commit |
| commits[].removed | array | List of files removed in this commit |
| commits[].modified | array | List of files modified in this commit |
| total_commits_count | integer | Total number of commits pushed this time |
| push_options | array | Push options array |
| repository.name | string | Repository name |
| repository.url | string | Repository Git URL |
| repository.description | string | Repository description |
| repository.homepage | string | Repository homepage URL |
| repository.git_http_url | string | Repository HTTP clone address |
| repository.git_ssh_url | string | Repository SSH clone address |
| repository.visibility_level | integer | Repository visibility level (0: private, 1: public) |
| git_branch | string | Target branch name for the push |
| git_commit_no | string | Latest commit SHA value |
| manual_build | boolean | Whether it is a manual build |
| uuid | string | Unique identifier for this push event |