gitlab事件类型
#
BuildEvent
#
属性 |
类型 |
object_kind |
string |
ref |
string |
tag |
bool |
before_sha |
string |
sha |
string |
build_id |
long |
build_name |
string |
build_stage |
string |
build_status |
string |
build_started_at |
long[] |
build_finished_at |
long[] |
build_duration |
float |
build_allow_failure |
bool |
project_id |
long |
project_name |
string |
user |
User |
commit |
BuildCommit |
repository |
Repository |
runner |
Runner |
IssueEvent
#
JobEvent
#
属性 |
类型 |
object_kind |
string |
ref |
string |
tag |
bool |
before_sha |
string |
sha |
string |
build_id |
long |
build_name |
string |
build_stage |
string |
build_status |
string |
build_started_at |
long[] |
build_finished_at |
long[] |
build_duration |
float |
build_allow_failure |
bool |
build_failure_reason |
string |
pipeline_id |
long |
project_id |
long |
project_name |
string |
user |
User |
commit |
BuildCommit |
repository |
Repository |
runner |
Runner |
MergeRequestEvent
#
PipelineEvent
#
PushEvent
#
属性 |
类型 |
object_kind |
string |
before |
string |
after |
string |
ref |
string |
checkout_sha |
string |
user_id |
long |
user_name |
string |
user_username |
string |
user_email |
string |
user_avatar |
string |
project_id |
long |
project |
Project |
repository |
Repository |
commits |
Commit[] |
total_commits_count |
long |
TagEvent
#
属性 |
类型 |
object_kind |
string |
before |
string |
after |
string |
ref |
string |
checkout_sha |
string |
user_id |
long |
user_name |
string |
user_username |
string |
user_avatar |
string |
project_id |
long |
project |
Project |
repository |
Repository |
commits |
Commit[] |
total_commits_count |
long |
WikiEvent
#
通用结构
#
Author
#
属性 |
类型 |
name |
string |
email |
string |
Variable
#
属性 |
类型 |
key |
string |
value |
string |
User
#
属性 |
类型 |
id |
long |
name |
string |
user_name |
string |
avatar_url |
string |
email |
string |
BuildCommit
#
属性 |
类型 |
id |
long |
sha |
string |
message |
string |
author_name |
string |
author_email |
string |
status |
string |
duration |
float |
started_at |
long[] |
finished_at |
long[] |
Repository
#
属性 |
类型 |
name |
string |
url |
string |
description |
string |
homepage |
string |
git_ssh_url |
string |
git_http_url |
string |
visibility_level |
long |
Runner
#
属性 |
类型 |
id |
long |
description |
string |
active |
bool |
is_shared |
bool |
Project
#
属性 |
类型 |
id |
long |
name |
string |
description |
string |
web_url |
string |
avatar_url |
string |
git_ssh_url |
string |
git_http_url |
string |
namespace |
string |
visibility_level |
long |
path_with_namespace |
string |
default_branch |
string |
homepage |
string |
url |
string |
ssh_url |
string |
http_url |
string |
Position
#
属性 |
类型 |
base_sha |
string |
start_sha |
string |
head_sha |
string |
old_path |
string |
new_path |
string |
position_type |
string |
old_line |
long |
new_line |
long |
width |
long |
height |
long |
x |
long |
y |
long |
StDiff
#
属性 |
类型 |
diff |
string |
new_path |
string |
old_path |
string |
a_mode |
string |
b_mode |
string |
new_file |
bool |
renamed_file |
bool |
deleted_file |
bool |
Source
#
属性 |
类型 |
name |
string |
description |
string |
web_url |
string |
avatar_url |
string |
git_ssh_url |
string |
git_http_url |
string |
namespace |
string |
visibility_level |
long |
path_with_namespace |
string |
default_branch |
string |
homepage |
string |
url |
string |
ssh_url |
string |
http_url |
string |
Target
#
属性 |
类型 |
name |
string |
description |
string |
web_url |
string |
avatar_url |
string |
git_ssh_url |
string |
git_http_url |
string |
namespace |
string |
visibility_level |
long |
path_with_namespace |
string |
default_branch |
string |
homepage |
string |
url |
string |
ssh_url |
string |
http_url |
string |
LastCommit
#
属性 |
类型 |
id |
string |
message |
string |
timestamp |
long[] |
url |
string |
author |
Author |
Assignee
#
属性 |
类型 |
id |
long |
name |
string |
username |
string |
avatar_url |
string |
email |
string |
ObjectAttributes
#
属性 |
类型 |
id |
long |
title |
string |
assignee_ids |
long[] |
assignee_id |
long |
author_id |
long |
project_id |
long |
created_at |
long[] |
updated_at |
long[] |
updated_by_id |
long |
last_edited_at |
long[] |
last_edited_by_id |
long |
relative_position |
long |
position |
Position |
branch_name |
string |
description |
string |
milestone_id |
long |
state |
string |
state_id |
long |
conf_idential |
bool |
discussion_locked |
bool |
due_date |
long[] |
time_estimate |
long |
total_time_spent |
long |
iid |
long |
url |
string |
action |
string |
target_branch |
string |
source_branch |
string |
source_project_id |
long |
target_project_id |
long |
st_commits |
string |
merge_status |
string |
content |
string |
format |
string |
message |
string |
slug |
string |
ref |
string |
tag |
bool |
sha |
string |
before_sha |
string |
status |
string |
stages |
string[] |
duration |
long |
note |
string |
notebook_type |
string |
at |
long[] |
line_code |
string |
commit_id |
string |
noteable_id |
long |
system |
bool |
work_in_progress |
bool |
st_diffs |
StDiff[] |
source |
Source |
target |
Target |
last_commit |
LastCommit |
assignee |
Assignee |
MergeRequest
#
属性 |
类型 |
id |
long |
target_branch |
string |
source_branch |
string |
source_project_id |
long |
assignee_id |
long |
author_id |
long |
title |
string |
created_at |
long[] |
updated_at |
long[] |
milestone_id |
long |
state |
string |
merge_status |
string |
target_project_id |
long |
iid |
long |
description |
string |
position |
long |
locked_at |
long[] |
source |
Source |
target |
Target |
last_commit |
LastCommit |
work_in_progress |
bool |
assignee |
Assignee |
url |
string |
Commit
#
属性 |
类型 |
id |
string |
message |
string |
title |
string |
timestamp |
long[] |
url |
string |
author |
Author |
added |
string[] |
modified |
string[] |
removed |
string[] |
Issue
#
属性 |
类型 |
id |
long |
title |
string |
assignee_id |
long |
author_id |
long |
project_id |
long |
created_at |
long[] |
updated_at |
long[] |
position |
long |
branch_name |
string |
description |
string |
milestone_id |
long |
state |
string |
iid |
long |
Snippet
#
属性 |
类型 |
id |
long |
title |
string |
content |
string |
author_id |
long |
project_id |
long |
created_at |
long[] |
updated_at |
long[] |
file_name |
string |
expires_at |
long[] |
type |
string |
visibility_level |
long |
Label
#
属性 |
类型 |
id |
long |
title |
string |
color |
string |
project_id |
long |
created_at |
long[] |
updated_at |
long[] |
template |
bool |
description |
string |
r#type |
string |
group_id |
long |
LabelChanges
#
Changes
#
PipelineObjectAttributes
#
属性 |
类型 |
id |
long |
ref |
string |
tag |
bool |
sha |
string |
before_sha |
string |
source |
string |
status |
string |
stages |
string[] |
created_at |
long[] |
finished_at |
long[] |
duration |
long |
variables |
Variable[] |
ArtifactsFile
#
属性 |
类型 |
filename |
string |
size |
string |
Build
#
属性 |
类型 |
id |
long |
stage |
string |
name |
string |
status |
string |
created_at |
long[] |
started_at |
long[] |
finished_at |
long[] |
when |
string |
manual |
bool |
user |
User |
runner |
Runner |
artifacts_file |
ArtifactsFile |
Wiki
#
属性 |
类型 |
web_url |
string |
git_ssh_url |
string |
git_http_url |
string |
path_with_namespace |
string |
default_branch |
string |