get_pt_portal_root: Internal function to url to the PT_Portal api.

View source: R/get_pt_portal_root.R

get_pt_portal_rootR Documentation

Internal function to url to the PT_Portal api.

Description

This function is intended to be used by all of the functions that call an api endpoint exposed by Project Tracker. Each of the portals (tfat, sc_portal, fn_portal etc.) all have a slightly different access point, and each will have a similar function. If the api endpoint for that portal changes in the future, (i.e. the version changes) we just need to update the value in this file and all of the dependent functions will use it. Note that the url string does NOT include a trailing slash.

Usage

get_pt_portal_root()

Value

string

Author(s)

Adam Cottrill adam.cottrill@ontario.ca


AdamCottrill/glfishr documentation built on Aug. 9, 2024, 5:47 p.m.