MailSlurpAPI.Api.AttachmentController.get_attachments

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

get_attachments(connection, opts \\ [])

Specs

get_attachments(Tesla.Env.client(), keyword()) ::
  {:ok, MailSlurpAPI.Model.PageAttachmentEntity.t()} | {:error, Tesla.Env.t()}

Get email attachments Get all attachments in paginated response. Each entity contains meta data for the attachment such as name and content-type. Use the attachmentId and the download endpoints to get the file contents.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters
    • :page (integer()): Optional page index event list pagination
    • :size (integer()): Optional page size event list pagination
    • :sort (String.t): Optional createdAt sort direction ASC or DESC

      Returns

} on success {:error, info} on failure