show_filters | R Documentation |
Most of the API endpoints have a large number of available filters. This function takes an API endpoint name and prints out all of the available filters. If 'filter_like' is provided, only those filters that contain the provided string are printed. If no endpoint name is provided, a list of available endpoints will be displayed.
show_filters(endpoint = "", filter_like = "")
endpoint |
|
filter_like |
|
See https://intra.glis.mnr.gov.on.ca/project_tracker/api/v1/swagger/, https://intra.glis.mnr.gov.on.ca/fn_portal/api/v1/swagger/, https://intra.glis.mnr.gov.on.ca/creels/api/v1/swagger/, and https://intra.glis.mnr.gov.on.ca/common/api/v1/swagger/ for an alternative way to view the full list of available filter keys (query parameters)
Adam Cottrill adam.cottrill@ontario.ca
## Not run:
show_filters("fn125")
show_filters("fn125", filter_like = "prj")
show_filters("sc121", "mode")
show_filters("species")
show_filters("sc121", "cats")
# show_filters("foo")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.