We have detected an error in your notification set-up
(Event-ID dab39dc24f564ec7bd4628d1305fd03c).
Currently, we cannot inform you about inspection progress.
Please check that the user
557058:bca11929-8c2d-43f2-8a82-c5416880d395
still has access to your repository or
update the API account.
1 | <?php |
||
8 | class Hooks extends Api |
||
9 | { |
||
10 | /** |
||
11 | * @param string $workspace The workspace ID (slug) or workspace UUID in curly brackets. |
||
12 | * @param array $hookConfiguration The hook configuration |
||
13 | * @return ResponseInterface |
||
14 | * |
||
15 | * @throws \InvalidArgumentException |
||
16 | */ |
||
17 | public function create($workspace, array $hookConfiguration) |
||
40 | |||
41 | /** |
||
42 | * @param string $workspace The workspace ID (slug) or workspace UUID in curly brackets. |
||
43 | * @param string $uuid The universally unique identifier of the webhook. |
||
44 | * @param array $hookConfiguration The hook configuration |
||
45 | * @return ResponseInterface |
||
46 | * |
||
47 | * @throws \InvalidArgumentException |
||
48 | */ |
||
49 | public function update($workspace, $uuid, array $hookConfiguration) |
||
72 | |||
73 | /** |
||
74 | |||
75 | * @param string $workspace The workspace ID (slug) or workspace UUID in curly brackets. |
||
76 | * @return ResponseInterface |
||
77 | */ |
||
78 | public function all($workspace) |
||
84 | |||
85 | /** |
||
86 | * @param string $workspace The workspace ID (slug) or workspace UUID in curly brackets. |
||
87 | * @param string $uuid The universally unique identifier of the webhook. |
||
88 | * @return ResponseInterface |
||
89 | */ |
||
90 | public function get($workspace, $uuid) |
||
96 | |||
97 | /** |
||
98 | * @param string $workspace The workspace ID (slug) or workspace UUID in curly brackets. |
||
99 | * @param string $uuid The universally unique identifier of the webhook. |
||
100 | * @return ResponseInterface |
||
101 | */ |
||
102 | public function delete($workspace, $uuid) |
||
108 | } |
||
109 |