Skip to content

Commit 5227f60

Browse files
committed
domain sync
1 parent c153754 commit 5227f60

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

src/main/python/fusionauth/fusionauth_client.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3533,6 +3533,30 @@ def retrieve_webhook(self, webhook_id=None):
35333533
.get() \
35343534
.go()
35353535

3536+
def retrieve_webhook_attempt_log(self, webhook_attempt_log_id):
3537+
"""
3538+
Retrieves a single webhook attempt log for the given Id.
3539+
3540+
Attributes:
3541+
webhook_attempt_log_id: The Id of the webhook attempt log to retrieve.
3542+
"""
3543+
return self.start().uri('/api/system/webhook-attempt-log') \
3544+
.url_segment(webhook_attempt_log_id) \
3545+
.get() \
3546+
.go()
3547+
3548+
def retrieve_webhook_event_log(self, webhook_event_log_id):
3549+
"""
3550+
Retrieves a single webhook event log for the given Id.
3551+
3552+
Attributes:
3553+
webhook_event_log_id: The Id of the webhook event log to retrieve.
3554+
"""
3555+
return self.start().uri('/api/system/webhook-event-log') \
3556+
.url_segment(webhook_event_log_id) \
3557+
.get() \
3558+
.go()
3559+
35363560
def retrieve_webhooks(self):
35373561
"""
35383562
Retrieves all the webhooks.
@@ -3949,6 +3973,18 @@ def search_users_by_query_string(self, request):
39493973
.post() \
39503974
.go()
39513975

3976+
def search_webhook_event_logs(self, request):
3977+
"""
3978+
Searches the webhook event logs with the specified criteria and pagination.
3979+
3980+
Attributes:
3981+
request: The search criteria and pagination information.
3982+
"""
3983+
return self.start().uri('/api/system/webhook-event-log/search') \
3984+
.body_handler(JSONBodyHandler(request)) \
3985+
.post() \
3986+
.go()
3987+
39523988
def search_webhooks(self, request):
39533989
"""
39543990
Searches webhooks with the specified criteria and pagination.

0 commit comments

Comments
 (0)