en_cli v0.4.0 EnCli

Engima Client API wrapper

Link to this section Summary

Link to this section Functions

Link to this function

get_device(uid)
get_device(String.t()) ::
  {:ok, %{device: %{}}} | {:error, %{message: String.t()}}

Link to this function

list_devices(opts \\ [])
list_devices(owner_id: String.t(), page: integer(), page_size: integer()) ::
  {:ok, %{}} | {:error, %{message: String.t()}}

Link to this function

start_engine(uid)
start_engine(String.t()) ::
  {:ok, %{message: String.t()}} | {:error, %{message: String.t()}}

Link to this function

stop_engine(uid)
stop_engine(String.t()) ::
  {:ok, %{message: String.t()}} | {:error, %{message: String.t()}}

Link to this function

update_device(uid, params)
update_device(String.t(), %{}) ::
  {:ok, %{message: String.t()}} | {:error, %{message: String.t()}}