input_cogs_api: Specify a collection of input cognostics to be stored using...

View source: R/input_cogs.R

input_cogs_apiR Documentation

Specify a collection of input cognostics to be stored using an API

Description

Specify a collection of input cognostics to be stored using an API

Usage

input_cogs_api(
  ...,
  set_url,
  get_url,
  get_request_options = list(mode = "cors", method = "GET", headers = list(`Content-Type`
    = "application/json", Accept = "application/json")),
  set_request_options = list(mode = "cors", method = "POST", headers =
    list(`Content-Type` = "application/json", Accept = "application/json"))
)

Arguments

set_url

URL of the API endpoint for setting a single input

get_url

URL of the API endpoint for getting all inputs for the display

get_request_options

request options for the API call to set inputs

set_request_options

request options for the API call to get inputs

...

objects created by any of input_radio, input_text

Details

See [here](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#supplying_request_options for more information about request options.


trelliscopejs documentation built on Aug. 8, 2025, 6:40 p.m.