This commit is contained in:
Fabian Märki
2015-08-21 12:10:46 +02:00
parent af11abce75
commit 645aa5883a

View File

@ -323,7 +323,7 @@ Allows for server side optimizations since not all data needs to be retrieved.
```json ```json
{ {
"fields":["pulseId","value"] "fields":["pulseId","value"],
"startPulseId":0, "startPulseId":0,
"endPulseId":3, "endPulseId":3,
"channels":[ "channels":[
@ -371,7 +371,7 @@ curl -H "Content-Type: application/json" -X POST -d '{"fields":["pulseId","value
```json ```json
{ {
"ordering":"desc", "ordering":"desc",
"fields":["pulseId","value"] "fields":["pulseId","value"],
"startPulseId":0, "startPulseId":0,
"endPulseId":3, "endPulseId":3,
"channels":[ "channels":[
@ -425,7 +425,7 @@ curl -H "Content-Type: application/json" -X POST -d '{"ordering":"desc","fields"
{ {
"aggregationType":"value", "aggregationType":"value",
"aggregations":["min","max","mean"], "aggregations":["min","max","mean"],
"fields":["pulseId","value"] "fields":["pulseId","value"],
"startPulseId":0, "startPulseId":0,
"endPulseId":3, "endPulseId":3,
"channels":[ "channels":[
@ -485,7 +485,7 @@ curl -H "Content-Type: application/json" -X POST -d '{"aggregationType":"value",
``` ```
Array value [aggregations](https://github.psi.ch/projects/ST/repos/ch.psi.daq.query/browse/src/main/java/ch/psi/daq/query/model/Aggregation.java). Array value [aggregations](https://github.psi.ch/projects/ST/repos/ch.psi.daq.query/browse/src/main/java/ch/psi/daq/query/model/Aggregation.java):
![Value Aggregation](doc/images/Value_Aggregation.png) ![Value Aggregation](doc/images/Value_Aggregation.png)
@ -497,7 +497,7 @@ Array value [aggregations](https://github.psi.ch/projects/ST/repos/ch.psi.daq.qu
"nrOfBins":2, "nrOfBins":2,
"aggregationType":"value", "aggregationType":"value",
"aggregations":["min","max","mean"], "aggregations":["min","max","mean"],
"fields":["pulseId","value"] "fields":["pulseId","value"],
"startPulseId":0, "startPulseId":0,
"endPulseId":3, "endPulseId":3,
"channels":[ "channels":[
@ -541,7 +541,7 @@ curl -H "Content-Type: application/json" -X POST -d '{"nrOfBins":2,"aggregationT
``` ```
Array value [aggregation](https://github.psi.ch/projects/ST/repos/ch.psi.daq.query/browse/src/main/java/ch/psi/daq/query/model/Aggregation.java) with additional binning. Array value [aggregations](https://github.psi.ch/projects/ST/repos/ch.psi.daq.query/browse/src/main/java/ch/psi/daq/query/model/Aggregation.java) with additional binning:
![Value Aggregation with Binning](doc/images/Value_Binning.png) ![Value Aggregation with Binning](doc/images/Value_Binning.png)
@ -552,7 +552,7 @@ Array value [aggregation](https://github.psi.ch/projects/ST/repos/ch.psi.daq.que
"nrOfBins":1, "nrOfBins":1,
"aggregationType":"index", "aggregationType":"index",
"aggregations":["min","max","mean","sum"], "aggregations":["min","max","mean","sum"],
"fields":["pulseId","value"] "fields":["pulseId","value"],
"startPulseId":0, "startPulseId":0,
"endPulseId":3, "endPulseId":3,
"channels":[ "channels":[
@ -619,7 +619,7 @@ curl -H "Content-Type: application/json" -X POST -d '{"nrOfBins":1,"aggregationT
{ {
"aggregationType":"extrema", "aggregationType":"extrema",
"aggregations":["min","max","sum"], "aggregations":["min","max","sum"],
"fields":["pulseId","value"] "fields":["pulseId","value"],
"startPulseId":0, "startPulseId":0,
"endPulseId":3, "endPulseId":3,
"channels":[ "channels":[