rt_url: Generate an RT API URL

Description Usage Arguments

View source: R/rt.R

Description

Create an RT API URL based on the server URL and any arguments provided

Usage

1
rt_url(..., query_params = NULL, base_url = Sys.getenv("RT_BASE_URL"))

Arguments

...

Parts of the URL to be joined by "/"

query_params

(list) A named list of query parameters where the names of the list map to the query parameter names and the values of the list map to the query parameter values. e.g., list(a=1) maps to "?a=1".

base_url

(character) The base URL that hosts RT for your organization


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