In progress...

This commit is contained in:
Fabian Märki
2015-08-21 10:46:51 +02:00
parent c567a442f6
commit a7c38186aa

View File

@ -240,10 +240,18 @@ Following examples build on a waveform data (see below). They also work for scal
}
```
###### Example
```bash
curl -H "Content-Type: application/json" -X POST -d '{"startPulseId":0,"endPulseId":3,"channels":["Channel_01"]}' http://sf-nube-14.psi.ch:8080/query
```
###### Response
See JSON representation of the data above.
##### Query by Time
```
@ -258,10 +266,17 @@ curl -H "Content-Type: application/json" -X POST -d '{"startPulseId":0,"endPulse
}
```
###### Example
```bash
curl -H "Content-Type: application/json" -X POST -d '{"startMillis":0,"startNanos":0,"endMillis":30,"endNanos":999999,"channels":["Channel_01"]}' http://sf-nube-14.psi.ch:8080/query
```
###### Response
See JSON representation of the data above.
##### Query by Date
@ -277,6 +292,12 @@ curl -H "Content-Type: application/json" -X POST -d '{"startMillis":0,"startNano
}
```
###### Example
```bash
curl -H "Content-Type: application/json" -X POST -d '{"startDate":"1970/01/01 01:00:00.000","startNanos":0,"endDate":"1970/01/01 01:00:00.030","endNanos":999999,"channels":["Channel_01"]}' http://sf-nube-14.psi.ch:8080/query
```
###### Response
See JSON representation of the data above.