View Source GlificWeb.Resolvers.WebhookLogs (Glific v5.1.6)

WebhookLog Resolver which sits between the GraphQL schema and Glific WebhookLog Context API. This layer basically stitches together one or more calls to resolve the incoming queries.

Link to this section Summary

Functions

Get the count of webhook_logs filtered by args

Get the list of webhook_logs filtered by args

Link to this section Functions

Link to this function

count_webhook_logs(_, args, _)

View Source
@spec count_webhook_logs(Absinthe.Resolution.t(), map(), %{context: map()}) ::
  {:ok, integer()}

Get the count of webhook_logs filtered by args

Link to this function

webhook_logs(_, args, _)

View Source
@spec webhook_logs(Absinthe.Resolution.t(), map(), %{context: map()}) ::
  {:ok, [Glific.Flows.WebhookLog]}

Get the list of webhook_logs filtered by args