HookSniffAPI.Api.Events (HookSniff v0.3.0)

Copy Markdown View Source

API calls for all endpoints tagged Events.

Summary

Functions

events_get(connection, opts \\ [])

@spec events_get(
  Tesla.Env.client(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

List event types

Parameters

  • connection (HookSniffAPI.Connection): Connection to server
  • opts (keyword): Optional parameters

Returns

  • {:ok, nil} on success
  • {:error, Tesla.Env.t} on failure