(self, project_id: str)
| 981 | |
| 982 | @api_error_handler |
| 983 | async def get_webhooks(self, project_id: str) -> Dict[str, Any]: |
| 984 | response = await self.async_client.get( |
| 985 | f"api/v1/webhooks/projects/{project_id}/", |
| 986 | ) |
| 987 | response.raise_for_status() |
| 988 | capture_client_event("async_client.get_webhook", self.sync_client) |
| 989 | return response.json() |
| 990 | |
| 991 | @api_error_handler |
| 992 | async def create_webhook(self, url: str, name: str, project_id: str, event_types: List[str]) -> Dict[str, Any]: |
nothing calls this directly
no test coverage detected