Values accepted for Delivery Mode in the FileLinks API.
Prefer the documented atoms returned by values/0. The type also accepts strings so a
newer server value can be preserved by an older SDK instead of failing during decoding.
Creates controlled links for delivering files.
File links can be time-limited, revocable, and protected by a token. Creating and administering links requires a secret key; opening a link uses its public ID and token and intentionally does not send the application's secret key.
Summary
Functions
Returns the documented Inttegro.FileLinks.DeliveryMode atoms known by this SDK version.
Types
@type t() :: :redirect | :download | :inline | String.t()
A delivery mode atom or an unknown wire value preserved as a string.
Functions
@spec values() :: [t()]
Returns the documented Inttegro.FileLinks.DeliveryMode atoms known by this SDK version.