Increase.FileLinks.FileLink (Increase v1.0.0)

Copy Markdown View Source

File Links let you generate a URL that can be used to download a File.

Fields

  • id - The File Link identifier.
  • created_at - The ISO 8601 time at which the File Link was created.
  • expires_at - The ISO 8601 time at which the File Link will expire.
  • file_id - The identifier of the File the File Link points to.
  • idempotency_key - The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about idempotency.
  • type - A constant representing the object's type. For this resource it will always be file_link.
  • unauthenticated_url - A URL where the File can be downloaded. The URL will expire after the expires_at time. This URL is unauthenticated and can be used to download the File without an Increase API key.

Summary

Types

t()

@type t() :: %Increase.FileLinks.FileLink{
  created_at: DateTime.t(),
  expires_at: DateTime.t(),
  file_id: String.t(),
  id: String.t(),
  idempotency_key: String.t() | nil,
  type: String.t(),
  unauthenticated_url: String.t()
}