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 e3c4af2 commit 49b018d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions lib/fusionauth/fusionauth_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3538,6 +3538,30 @@ def retrieve_webhook(webhook_id)
.go
end

#
# Retrieves a single webhook attempt log for the given Id.
#
# @param webhook_attempt_log_id [string] The Id of the webhook attempt log to retrieve.
# @return [FusionAuth::ClientResponse] The ClientResponse object.
def retrieve_webhook_attempt_log(webhook_attempt_log_id)
start.uri('/api/system/webhook-attempt-log')
.url_segment(webhook_attempt_log_id)
.get
.go
end

#
# Retrieves a single webhook event log for the given Id.
#
# @param webhook_event_log_id [string] The Id of the webhook event log to retrieve.
# @return [FusionAuth::ClientResponse] The ClientResponse object.
def retrieve_webhook_event_log(webhook_event_log_id)
start.uri('/api/system/webhook-event-log')
.url_segment(webhook_event_log_id)
.get
.go
end

#
# Retrieves all the webhooks.
#
Expand Down Expand Up @@ -3954,6 +3978,18 @@ def search_users_by_query_string(request)
.go
end

#
# Searches the webhook event logs with the specified criteria and pagination.
#
# @param request [OpenStruct, Hash] The search criteria and pagination information.
# @return [FusionAuth::ClientResponse] The ClientResponse object.
def search_webhook_event_logs(request)
start.uri('/api/system/webhook-event-log/search')
.body_handler(FusionAuth::JSONBodyHandler.new(request))
.post
.go
end

#
# Searches webhooks with the specified criteria and pagination.
#
Expand Down

0 comments on commit 49b018d

Please sign in to comment.