API calls for all endpoints tagged Playground.
Summary
Functions
@spec playground_get( Tesla.Env.client(), keyword() ) :: {:ok, HookSniffAPI.Model.PlaygroundGet200Response.t()} | {:error, Tesla.Env.t()}
Get playground info (endpoints, sample payloads)
Parameters
connection(HookSniffAPI.Connection): Connection to serveropts(keyword): Optional parameters
Returns
{:ok, HookSniffAPI.Model.PlaygroundGet200Response.t}on success{:error, Tesla.Env.t}on failure
@spec playground_test_post( Tesla.Env.client(), HookSniffAPI.Model.TestWebhookRequest.t(), keyword() ) :: {:ok, HookSniffAPI.Model.TestWebhookResponse.t()} | {:error, Tesla.Env.t()}
Test a webhook delivery
Parameters
connection(HookSniffAPI.Connection): Connection to servertest_webhook_request(TestWebhookRequest):opts(keyword): Optional parameters
Returns
{:ok, HookSniffAPI.Model.TestWebhookResponse.t}on success{:error, Tesla.Env.t}on failure