Retrieves attachment metadata. To get the attachment itself, see rt_ticket_attachment_content.
rt_ticket_attachment(ticket_id, attachment_id, ...)
ticket_id | (numeric) The ticket identifier |
---|---|
attachment_id | (numeric) The attachment identifier |
... | Other arguments passed to |
(rt_api) An rt_api
object with the response
if (FALSE) { # Before running rt_ticket_attachment, you'll probably want to get a list of # the attachments for a given ticket, like: attachments <- rt_ticket_attachments(1) # Ticket ID 1 # And then you can get information about a specific attachment: rt_ticket_attachment(1, 3) # Attachment 3 on ticket 1 }