MailSlurpAPI.Api.AttachmentController.get_attachment_info

You're seeing just the function get_attachment_info, go back to MailSlurpAPI.Api.AttachmentController module for more information.
Link to this function

get_attachment_info(connection, attachment_id, opts \\ [])

Specs

get_attachment_info(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, MailSlurpAPI.Model.AttachmentMetaData.t()} | {:error, Tesla.Env.t()}

Get email attachment metadata information Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties name and content-type and content-length in bytes for a given attachment.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • attachment_id (String.t): ID of attachment
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure