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 3e6bc6d commit 5b99180
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions src/FusionAuth/FusionAuthClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -4592,6 +4592,38 @@ public function retrieveWebhook($webhookId = NULL)
->go();
}

/**
* Retrieves a single webhook attempt log for the given Id.
*
* @param string $webhookAttemptLogId The Id of the webhook attempt log to retrieve.
*
* @return ClientResponse The ClientResponse.
* @throws \Exception
*/
public function retrieveWebhookAttemptLog($webhookAttemptLogId)
{
return $this->start()->uri("/api/system/webhook-attempt-log")
->urlSegment($webhookAttemptLogId)
->get()
->go();
}

/**
* Retrieves a single webhook event log for the given Id.
*
* @param string $webhookEventLogId The Id of the webhook event log to retrieve.
*
* @return ClientResponse The ClientResponse.
* @throws \Exception
*/
public function retrieveWebhookEventLog($webhookEventLogId)
{
return $this->start()->uri("/api/system/webhook-event-log")
->urlSegment($webhookEventLogId)
->get()
->go();
}

/**
* Retrieves all the webhooks.
*
Expand Down Expand Up @@ -5136,6 +5168,22 @@ public function searchUsersByQueryString($request)
->go();
}

/**
* Searches the webhook event logs with the specified criteria and pagination.
*
* @param array $request The search criteria and pagination information.
*
* @return ClientResponse The ClientResponse.
* @throws \Exception
*/
public function searchWebhookEventLogs($request)
{
return $this->start()->uri("/api/system/webhook-event-log/search")
->bodyHandler(new JSONBodyHandler($request))
->post()
->go();
}

/**
* Searches webhooks with the specified criteria and pagination.
*
Expand Down

0 comments on commit 5b99180

Please sign in to comment.