rt_ticket_attachment: Get a ticket's attachment

Description Usage Arguments Value Examples

View source: R/rt_ticket_attachment.R

Description

Retrieves attachment metadata. To get the attachment itself, see rt_ticket_attachment_content.

Usage

1
rt_ticket_attachment(ticket_id, attachment_id, ...)

Arguments

ticket_id

(numeric) The ticket identifier

attachment_id

(numeric) The attachment identifier

...

Other arguments passed to rt_GET

Value

(rt_api) An rt_api object with the response

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# 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

## End(Not run)

rt documentation built on May 15, 2021, 9:06 a.m.