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 \\ [])


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.


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


} on success {:error, info} on failure