标签: bitbucket bitbucket-api
https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/hooks
我只看到GET和POST动词用于Bitbucket上的钩子事件。有办法以某种方式删除或修改它们吗?
答案 0 :(得分:2)
是的。只需在/{uid}之后附加/hooks,您就可以对各个操作进行操作。有关它们的文档,请参见https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/hooks/%7Buid%7D。
/{uid}
/hooks