diff --git a/Readme.md b/Readme.md index 6f61a38..c5fb86f 100644 --- a/Readme.md +++ b/Readme.md @@ -353,13 +353,19 @@ See JSON representation of the data above. ```json { - "backend":"archiverappliance", "range":{ "startSeconds":"0.0", "endSeconds":"0.030999999" }, "channels":[ - "Channel_01" + { + "name": "Channel_01", + "backend":"archiverappliance" + }, + { + "name": "Channel_02", + "backend":"archiverappliance" + } ] } ``` @@ -370,7 +376,7 @@ Archiver Appliance supports queries by *time range* and *date range* only (as it ###### Command ```bash -curl -H "Content-Type: application/json" -X POST -d '{"dbmode":"archiverappliance","range":{"startSeconds":"0.0","endSeconds":"0.030999999"},"channels":["Channel_01"]}' http://data-api.psi.ch/sf/query +curl -H "Content-Type: application/json" -X POST -d '{"range":{"startSeconds":"0.0","endSeconds":"0.030999999"},"channels":[{"name": "Channel_01","backend":"archiverappliance"}]}' http://data-api.psi.ch/sf/query ``` ###### Response