summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSujay Patel <sujaypatel1996@gmail.com>2019-06-08 11:54:20 +0530
committersujay <sujay.patel@caavo.com>2019-06-10 15:35:38 +0530
commited8a00b9c41c25af3fcc45892a7d5144d75c6863 (patch)
treebcbb26cea1d92f0c20b6325831b14e4cd60e662f /doc
parent6aa0df5a0f9a71de3e64f8170ebdc1c041a238ff (diff)
downloadgitlab-ce-ed8a00b9c41c25af3fcc45892a7d5144d75c6863.tar.gz
Adding labels to note event payload.
Diffstat (limited to 'doc')
-rw-r--r--doc/user/project/integrations/webhooks.md28
1 files changed, 27 insertions, 1 deletions
diff --git a/doc/user/project/integrations/webhooks.md b/doc/user/project/integrations/webhooks.md
index a0f500a939f..d5f28ddabc1 100644
--- a/doc/user/project/integrations/webhooks.md
+++ b/doc/user/project/integrations/webhooks.md
@@ -653,7 +653,33 @@ X-Gitlab-Event: Note Hook
"description": "test",
"milestone_id": null,
"state": "closed",
- "iid": 17
+ "iid": 17,
+ "labels": [
+ {
+ "id": 25,
+ "title": "Afterpod",
+ "color": "#3e8068",
+ "project_id": null,
+ "created_at": "2019-06-05T14:32:20.211Z",
+ "updated_at": "2019-06-05T14:32:20.211Z",
+ "template": false,
+ "description": null,
+ "type": "GroupLabel",
+ "group_id": 4
+ },
+ {
+ "id": 86,
+ "title": "Element",
+ "color": "#231afe",
+ "project_id": 4,
+ "created_at": "2019-06-05T14:32:20.637Z",
+ "updated_at": "2019-06-05T14:32:20.637Z",
+ "template": false,
+ "description": null,
+ "type": "ProjectLabel",
+ "group_id": null
+ }
+ ],
}
}
```