Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1c11c5dc
Commit
1c11c5dc
authored
Mar 26, 2020
by
Tim Poffenbarger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add changelog entry and update webhook documentation
parent
49844f96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
12 deletions
+45
-12
changelogs/unreleased/212452-webhooks-do-not-show-when-discussion-lock-changes.yml
...452-webhooks-do-not-show-when-discussion-lock-changes.yml
+5
-0
doc/user/project/integrations/webhooks.md
doc/user/project/integrations/webhooks.md
+40
-12
No files found.
changelogs/unreleased/212452-webhooks-do-not-show-when-discussion-lock-changes.yml
0 → 100644
View file @
1c11c5dc
---
title
:
Add `discussion_locked` to Webhook
merge_request
:
28018
author
:
type
:
fixed
doc/user/project/integrations/webhooks.md
View file @
1c11c5dc
...
...
@@ -252,7 +252,7 @@ X-Gitlab-Event: Tag Push Hook
}
```
### Issue
s
events
### Issue events
Triggered when a new issue is created or an existing issue was updated/closed/reopened.
...
...
@@ -267,10 +267,12 @@ X-Gitlab-Event: Issue Hook
```
json
{
"object_kind"
:
"issue"
,
"event_type"
:
"issue"
,
"user"
:
{
"name"
:
"Administrator"
,
"username"
:
"root"
,
"avatar_url"
:
"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40
\u
0026d=identicon"
"avatar_url"
:
"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40
\u
0026d=identicon"
,
"email"
:
"admin@example.com"
},
"project"
:
{
"id"
:
1
,
...
...
@@ -284,17 +286,12 @@ X-Gitlab-Event: Issue Hook
"visibility_level"
:
20
,
"path_with_namespace"
:
"gitlabhq/gitlab-test"
,
"default_branch"
:
"master"
,
"ci_config_path"
:
null
,
"homepage"
:
"http://example.com/gitlabhq/gitlab-test"
,
"url"
:
"http://example.com/gitlabhq/gitlab-test.git"
,
"ssh_url"
:
"git@example.com:gitlabhq/gitlab-test.git"
,
"http_url"
:
"http://example.com/gitlabhq/gitlab-test.git"
},
"repository"
:
{
"name"
:
"Gitlab Test"
,
"url"
:
"http://example.com/gitlabhq/gitlab-test.git"
,
"description"
:
"Aut reprehenderit ut est."
,
"homepage"
:
"http://example.com/gitlabhq/gitlab-test"
},
"object_attributes"
:
{
"id"
:
301
,
"title"
:
"New API: create/update/delete file"
,
...
...
@@ -304,14 +301,45 @@ X-Gitlab-Event: Issue Hook
"project_id"
:
14
,
"created_at"
:
"2013-12-03T17:15:43Z"
,
"updated_at"
:
"2013-12-03T17:15:43Z"
,
"position"
:
0
,
"branch_name"
:
null
,
"updated_by_id"
:
1
,
"last_edited_at"
:
null
,
"last_edited_by_id"
:
null
,
"relative_position"
:
0
,
"description"
:
"Create new API for manipulations with repository"
,
"milestone_id"
:
null
,
"state"
:
"opened"
,
"state_id"
:
1
,
"confidential"
:
false
,
"discussion_locked"
:
true
,
"due_date"
:
null
,
"moved_to_id"
:
null
,
"duplicated_to_id"
:
null
,
"time_estimate"
:
0
,
"total_time_spent"
:
0
,
"human_total_time_spent"
:
null
,
"human_time_estimate"
:
null
,
"weight"
:
null
,
"iid"
:
23
,
"url"
:
"http://example.com/diaspora/issues/23"
,
"action"
:
"open"
"state"
:
"opened"
,
"action"
:
"open"
,
"labels"
:
[{
"id"
:
206
,
"title"
:
"API"
,
"color"
:
"#ffffff"
,
"project_id"
:
14
,
"created_at"
:
"2013-12-03T17:15:43Z"
,
"updated_at"
:
"2013-12-03T17:15:43Z"
,
"template"
:
false
,
"description"
:
"API related issues"
,
"type"
:
"ProjectLabel"
,
"group_id"
:
41
}]
},
"repository"
:
{
"name"
:
"Gitlab Test"
,
"url"
:
"http://example.com/gitlabhq/gitlab-test.git"
,
"description"
:
"Aut reprehenderit ut est."
,
"homepage"
:
"http://example.com/gitlabhq/gitlab-test"
},
"assignees"
:
[{
"name"
:
"User1"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment