Spatio.Model.EnableShareRequest (spatio_sdk v0.0.2)

Body for POST /v1/notes/{id}/share. With setPassword: false, only the public flag is flipped — any existing password is preserved. With setPassword: true, the supplied password is applied (an empty string clears it).

Summary

Types

t()

@type t() :: %Spatio.Model.EnableShareRequest{
  password: String.t() | nil,
  setPassword: boolean() | nil
}

Functions

decode(value)