Version 2 (modified by csa, 16 years ago)
--

ADEI provides set of interfaces to facilitate access to the configuration and collected data. All interfaces are accessible by means of standard HTTP GET requests. The request parameters are supplied using GET parameters. The response is normally returned using XML or JSON encoding. The getdata and getimage requests return the data or image in the specified format.

Examples

Supported Services

Accessing current configuration

  • server.php - List of configured data sources
  • database.php - List of available databases within data source
  • loggroup.php - List of available loggroups within specified database
  • mask.php - List of configured masks withing specified loggroup
  • item.php - List of available data items (channels) within specified loggroup
  • experiment.php - List of experiments
  • timewindow.php - List of standard window sizes

Access to the export related configuration

  • format.php - List of supported export formats
  • export_sampling.php - List of supported sampling rates (for data export)
  • export_window.php - List of supported export modes (interval)
    • Selection
    • Currently opened data window
    • Whole experiment
  • export_mask.php - List of supported export modes (item mask)
    • Current group only
    • All groups having the mask with specified name
    • Complete data source
    • Everything

Access to the data aggregation related configuration

  • aggregation.php - List of supported data aggregation modes (MEAN, MMAX, ...)
  • interpolate.php - List of current interpolation modes
  • show_gaps.php -
  • show_marks.php -

Data requests

  • getdata.php -
  • getimage.php -
  • update.php - ???

Supported Parameters

Data Source Specification

  • db_server - Data source (Server Identificator)
  • db_name - Database name (within data source)
  • db_group - Log Group (Identificator)
  • db_mask - Item mask
    • mask name
    • comma separated list of items (numeric, counted from zero)
    • omit this parameter to select all log group items

Data Interval Specification

  • experiment - The current experiment duration
  • window - data window within current experiment

Export Specification

  • format - desired data format
  • resample - desired sampling rate (optional)
  • filename - desired file name (optional)
  • mask_mode - should be specified if multiple groups are requested