REST API Access

CORIOLIX has been developed to make it easier for humans to interact with the underway sensor systems aboard research vessels. For machine-to-machine communication we publish many of the tables from our backend database through a REST API that makes it easy for external applications, programs, software packages (R, Matlab, etc) to access data.

The base URL for REST API Access on this system is:

https://coriolix.ceoas.oregonstate.edu/endeavorapi/

Example Queries

ALL AVAILABLE OPTIONS
To view all available REST API data and metadata endpoints:
https://coriolix.ceoas.oregonstate.edu/endeavorapi/

FULL RESOLUTION DATA
To retrieve data from a specific time interval at full resolution:
https://coriolix.ceoas.oregonstate.edu/endeavorapi/gnss_gga_bow/?date_after=2020-10-30%2004:00:00&date_before=2020-10-30%2005:00:00&format=json
https://coriolix.ceoas.oregonstate.edu/endeavorapi/decimateData/?model=GnssGgaBow&date_0=2020-10-30%2004:00:00&date_1=2020-10-30%2005:00:00&decfactr=1&format=json

LATEST DATA POINT
To retrieve the most recent data point:
https://coriolix.ceoas.oregonstate.edu/endeavorapi/decimateData/?model=GnssGgaBow&last_item=1&format=json

PARAMETER METADATA
To retrieve parameter metadata for a sensor:
https://coriolix.ceoas.oregonstate.edu/endeavorapi/parameter/?sensor_id=gnss0428&format=json

SENSOR METADATA
To retrieve metadata for a sensor:
https://coriolix.ceoas.oregonstate.edu/endeavorapi/sensor/?sensor_id=gnss0428&format=json

NUMBER OF DATA RECORDS
To retrieve the number of data points within a specific time interval:
https://coriolix.ceoas.oregonstate.edu/endeavorapi/countData/?model=GnssGgaBow&date_0=2020-09-16%2003:00:00&date_1=2020-09-16%2003:00:30

DECIMATION
To retrieve every 10th data point from within a specific time interval:
https://coriolix.ceoas.oregonstate.edu/endeavorapi/decimateData/?model=GnssGgaBow&date_0=2020-09-16%2003:00:00&date_1=2020-09-16%2003:00:30&decfactr=10&format=json

BINNED DATA
To retrieve binned data from a specific time interval:
https://coriolix.ceoas.oregonstate.edu/endeavorapi/binned_default_met/?date_after=2020-10-30%2004:00:00&date_before=2020-10-30%2004:05:00&format=json

 
 
OSU logo NSF logo RCRV logo
RCRV Datapresence and Engineering Support Center
Oregon State University
Corvallis, OR 97331, USA