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
{
"fields":["pulseId","value"]
"fields":["pulseId","value"],
"startPulseId":0,
"endPulseId":3,
"channels":[
@ -371,7 +371,7 @@ curl -H "Content-Type: application/json" -X POST -d '{"fields":["pulseId","value
```json
{
"ordering":"desc",
"fields":["pulseId","value"]
"fields":["pulseId","value"],
"startPulseId":0,
"endPulseId":3,
"channels":[
@ -425,7 +425,7 @@ curl -H "Content-Type: application/json" -X POST -d '{"ordering":"desc","fields"
{
"aggregationType":"value",
"aggregations":["min","max","mean"],
"fields":["pulseId","value"]
"fields":["pulseId","value"],
"startPulseId":0,
"endPulseId":3,
"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)
@ -497,7 +497,7 @@ Array value [aggregations](https://github.psi.ch/projects/ST/repos/ch.psi.daq.qu
"nrOfBins":2,
"aggregationType":"value",
"aggregations":["min","max","mean"],
"fields":["pulseId","value"]
"fields":["pulseId","value"],
"startPulseId":0,
"endPulseId":3,
"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)
@ -552,7 +552,7 @@ Array value [aggregation](https://github.psi.ch/projects/ST/repos/ch.psi.daq.que
"nrOfBins":1,
"aggregationType":"index",
"aggregations":["min","max","mean","sum"],
"fields":["pulseId","value"]
"fields":["pulseId","value"],
"startPulseId":0,
"endPulseId":3,
"channels":[
@ -619,7 +619,7 @@ curl -H "Content-Type: application/json" -X POST -d '{"nrOfBins":1,"aggregationT
{
"aggregationType":"extrema",
"aggregations":["min","max","sum"],
"fields":["pulseId","value"]
"fields":["pulseId","value"],
"startPulseId":0,
"endPulseId":3,
"channels":[