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
} on success {:error, info} on failure