ODI REST Service

The links below provides an interface to access metadata and data from the ODI server using REST. The requests returns JSON data. The REST service is located at http://corona.lund.irf.se/odi-rest-4/ and the links below show how to access the service.

REST functions

Function Syntax Example
List datasets list-datasets list-datasets
Read metadata read-metadata?dataset=<dataset name> read-metadata?dataset=ace_mfi_h0
Read data read-data?dataset=<dataset name>[&args] read-data?dataset=ace_mfi_h0
List variables list-variables?dataset=<dataset name>[&args] list-variables?dataset=ace_mfi_h0
List columns list-columns?dataset=<dataset name>[&args] list-columns?dataset=ace_mfi_h0

The read data function may optionally take one or several arguments:

&start=<date>&end=<date>&limit=<num>&var=<var-1,var-2,...>&&col=<col-1,col-2,...>&

Examples

read-data?dataset=ace_mfi_h0&start=2013-01-01T00:00:00&limit=60&var=epoch,bgsm

read-data?dataset=ace_mfi_h0&start=2013-01-01T00:00:00&limit=60&col=epoch,bgsm_2