代码托管 CODEARTS REPO-更新指定项目的Webhook:请求示例

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

请求示例

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

{
    "url":"http://www.example.com/project002",
    "name":"Webhook_new",
    "token_type":"X-Repo-Token",
    "token":"213",
    "push_events":false,
    "merge_requests_events":false,
    "tag_push_events":true,
    "note_events":false
}
support.huaweicloud.com/api-codeartsrepo/zh-cn_topic_0000002006944116.html