Skip to content

Commit

Permalink
domain sync
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdan committed Sep 3, 2024
1 parent c153754 commit 5227f60
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/main/python/fusionauth/fusionauth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3533,6 +3533,30 @@ def retrieve_webhook(self, webhook_id=None):
.get() \
.go()

def retrieve_webhook_attempt_log(self, webhook_attempt_log_id):
"""
Retrieves a single webhook attempt log for the given Id.
Attributes:
webhook_attempt_log_id: The Id of the webhook attempt log to retrieve.
"""
return self.start().uri('/api/system/webhook-attempt-log') \
.url_segment(webhook_attempt_log_id) \
.get() \
.go()

def retrieve_webhook_event_log(self, webhook_event_log_id):
"""
Retrieves a single webhook event log for the given Id.
Attributes:
webhook_event_log_id: The Id of the webhook event log to retrieve.
"""
return self.start().uri('/api/system/webhook-event-log') \
.url_segment(webhook_event_log_id) \
.get() \
.go()

def retrieve_webhooks(self):
"""
Retrieves all the webhooks.
Expand Down Expand Up @@ -3949,6 +3973,18 @@ def search_users_by_query_string(self, request):
.post() \
.go()

def search_webhook_event_logs(self, request):
"""
Searches the webhook event logs with the specified criteria and pagination.
Attributes:
request: The search criteria and pagination information.
"""
return self.start().uri('/api/system/webhook-event-log/search') \
.body_handler(JSONBodyHandler(request)) \
.post() \
.go()

def search_webhooks(self, request):
"""
Searches webhooks with the specified criteria and pagination.
Expand Down

0 comments on commit 5227f60

Please sign in to comment.