discourse_api v0.1.4 DiscourseApi behaviour
Documentation for DiscourseApi.
Link to this section Summary
Link to this section Functions
Link to this function
change_user_email(username, new_email)
Link to this function
get_active_user(options \\ %{})
Link to this function
get_sso_email(username)
Link to this function
get_user_by_external_id(external_id)
Link to this function
get_user_by_id(id)
Link to this function
impl()
Link to this function
silence(id, silenced_till, reason, post_action)
Link to this section Callbacks
Link to this callback
change_user_email(arg1, arg2)
Link to this callback
get_active_user(arg1)
Link to this callback
get_user_by_external_id(arg1)
Link to this callback
silence(non_neg_integer, arg2, arg3, arg4)
silence(non_neg_integer(), Date.t(), String.t(), String.t()) :: {:ok | :error, map()}
Link to this callback
unsilence(non_neg_integer)
unsilence(non_neg_integer()) :: {:ok | :error, map()}