format_uri: int_format_url

Description Usage Arguments Details Value Examples

Description

int_format_url Generic internal function that formats api url string.

Usage

1
2
format_uri(tenant = tenant, device = device, type = "messages",
  filter_string = "")

Arguments

tenant

The tenant code required for access to the GAP API. This is provided by CoSignal support.

device

device number retried from get_devices.

type

character string either: messages or devices

Details

Generic internal function that formats a url string for the gap API.

Value

If all inputs are integer and logical, then the output will be an integer. If integer overflow http://en.wikipedia.org/wiki/Integer_overflow occurs, the output will be NA with a warning. Otherwise it will be a length-one numeric or complex vector.

Zero-length vectors have sum 0 by definition. See http://en.wikipedia.org/wiki/Empty_sum for more details.

Examples

1
sum("a")

maupson/gapAPI documentation built on May 21, 2019, 1:37 p.m.