Changes between Version 1 and Version 2 of adeiDG
- Timestamp:
- 06/25/08 11:00:14 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
adeiDG
v1 v2 1 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. 1 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. 2 3 == Examples == 2 4 3 5 6 == Supported Services == 7 '''Accessing current configuration''' 8 * ''server.php'' - List of configured data sources 9 * ''database.php'' - List of available databases within data source 10 * ''loggroup.php'' - List of available loggroups within specified database 11 * ''mask.php'' - List of configured masks withing specified loggroup 12 * ''item.php'' - List of available data items (channels) within specified loggroup 13 * ''experiment.php'' - List of experiments 14 * ''timewindow.php'' - List of standard window sizes 15 '''Access to the export related configuration''' 16 * ''format.php'' - List of supported export formats 17 * ''export_sampling.php'' - List of supported sampling rates (for data export) 18 * ''export_window.php'' - List of supported export modes (interval) 19 * Selection 20 * Currently opened data window 21 * Whole experiment 22 * ''export_mask.php'' - List of supported export modes (item mask) 23 * Current group only 24 * All groups having the mask with specified name 25 * Complete data source 26 * Everything 27 '''Access to the data aggregation related configuration''' 28 * ''aggregation.php'' - List of supported data aggregation modes (MEAN, MMAX, ...) 29 * ''interpolate.php'' - List of current interpolation modes 30 * ''show_gaps.php'' - 31 * ''show_marks.php'' - 32 '''Data requests''' 33 * ''getdata.php'' - 34 * ''getimage.php'' - 35 * ''update.php'' - ??? 4 36 5 37 == Supported Parameters == 38 '''Data Source Specification''' 6 39 * ''db_server'' - Data source (Server Identificator) 7 40 * ''db_name'' - Database name (within data source) 8 41 * ''db_group'' - Log Group (Identificator) 9 * ''db_mask'' - Item mask 10 * mask name 11 * comma separated list of items (numeric, counted from zero) 42 * ''db_mask'' - Item mask 43 * mask name 44 * comma separated list of items (numeric, counted from zero) 12 45 * omit this parameter to select all log group items 13 14 * 46 '''Data Interval Specification''' 47 * ''experiment'' - The current experiment duration 48 * ''window'' - data window within current experiment 49 '''Export Specification''' 50 * ''format'' - desired data format 51 * ''resample'' - desired sampling rate (optional) 52 * ''filename'' - desired file name (optional) 53 * ''mask_mode'' - should be specified if multiple groups are requested