View Source Plausible.Plugins.API.SharedLinks (Plausible v0.0.1)

Plugins API context module for Shared Links. All high level Shared Links operations should be implemented here.

Summary

Functions

Link to this function

get_or_create(site, name, password \\ nil)

View Source
@spec get_or_create(Plausible.Site.t(), String.t(), String.t() | nil) ::
  {:ok, Plausible.Site.SharedLink.t()}
Link to this function

get_shared_links(site, params)

View Source
@spec get_shared_links(Plausible.Site.t(), map()) :: {:ok, Paginator.Page.t()}