getWebApiVersion: Get the WebAPI version number

View source: R/WebApi.R

getWebApiVersionR Documentation

Get the WebAPI version number

Description

Get the WebAPI version number

Usage

getWebApiVersion(baseUrl)

Arguments

baseUrl

The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI".

Details

Obtains the WebAPI version number. This function is used to check that WebAPI baseUrl can be accessed and is a good first check to make sure you can access a WebAPI endpoint.

Value

The WebApi versions as a string.

Examples

## Not run: 
getWebApiVersion("http://server.org:80/WebAPI")

## End(Not run)

OHDSI/ROhdsiWebApi documentation built on March 15, 2023, 1:23 p.m.