代码托管 CODEARTS REPO-为指定项目添加Webhook:请求示例

时间:2024-10-26 11:09:47

请求示例

POST https://{endpoint}/v1/projects/{project_uuid}/user-hooks

{
    "name": "test_webhook",
    "url": "http://www.example.com/project001",
    "token": "111",
    "push_events": true,
    "merge_requests_events": true,
    "tag_push_events": false,
    "note_events": false
}
support.huaweicloud.com/api-codeartsrepo/zh-cn_topic_0000002043143121.html