refresh_filters: Refresh the global api filter list

View source: R/refresh_filters.R

refresh_filtersR Documentation

Refresh the global api filter list

Description

A function to refresh or fetch available filters for an endpoint. This function is called the first time filters are applied or requested and any time an unknown or new endpoint is specified. This function is not intended to be called directly by users, but is called by the show_filters and check_filter functions.

Usage

refresh_filters(endpoint, api_app)

Arguments

endpoint
  • the name of the api endpoint

api_app
  • the name of the api application to fetch the filters from. Defaults to 'fn_portal'

Value

list

Author(s)

Adam Cottrill adam.cottrill@ontario.ca


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