#' Get ticket attachment
#'
#' Retrieves attachment metadata
#'
#' @param ticket_id (numeric) The ticket identifier
#' @param attachment_id (numeric) The attachment identifier
#' @param ... Other arguments passed to \code{\link{rt_GET}}
#'
#' @export
#'
#' @examples
#' \dontrun{
#' rt_ticket_attachment(2, 1)
#' }
rt_ticket_attachment <- function(ticket_id,
attachment_id,
...) {
url <- rt_url("ticket", ticket_id, "attachments", attachment_id)
rt_GET(url, ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.