HookSniffAPI.Api.Embed (HookSniff v0.3.0)

Copy Markdown View Source

API calls for all endpoints tagged Embed.

Summary

Functions

Embeddable portal HTML

Embeddable portal JavaScript

Functions

embed_get(connection, opts \\ [])

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

Embeddable portal HTML

Parameters

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

Returns

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

embed_script_get(connection, opts \\ [])

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

Embeddable portal JavaScript

Parameters

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

Returns

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