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 $team The team's name or uuid. |
||
| 12 | * @param array $hookConfiguration The hook configuration |
||
| 13 | * @return ResponseInterface |
||
| 14 | * |
||
| 15 | * @throws \InvalidArgumentException |
||
| 16 | */ |
||
| 17 | public function create($team, array $hookConfiguration) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $team The team's name or uuid. |
||
| 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($team, $uuid, array $hookConfiguration) |
||
| 72 | |||
| 73 | /** |
||
| 74 | |||
| 75 | * @param string $team The team's name or uuid. |
||
| 76 | * @return ResponseInterface |
||
| 77 | */ |
||
| 78 | public function all($team) |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @param string $team The team's name or uuid. |
||
| 87 | * @param string $uuid The universally unique identifier of the webhook. |
||
| 88 | * @return ResponseInterface |
||
| 89 | */ |
||
| 90 | public function get($team, $uuid) |
||
| 96 | |||
| 97 | /** |
||
| 98 | * @param string $team The team's name or uuid. |
||
| 99 | * @param string $uuid The universally unique identifier of the webhook. |
||
| 100 | * @return ResponseInterface |
||
| 101 | */ |
||
| 102 | public function delete($team, $uuid) |
||
| 108 | } |
||
| 109 |