Skip to content
Snippets Groups Projects
Commit 8279e2d5 authored by Menou Lucas's avatar Menou Lucas
Browse files

refactor: add some details on server example usage

parent 60f9a88e
No related branches found
No related tags found
1 merge request!4feat/updating
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
...@@ -145,11 +145,16 @@ $ make create-db ...@@ -145,11 +145,16 @@ $ make create-db
Here are a few examples to query the server: Here are a few examples to query the server:
* To list all instances configured and available: `http://localhost:8080/instance` * To list all instances configured and available:
* To list all datasets available and configured within the `default` instance: `http://localhost:8080/instance/default/dataset` * `http://localhost:8080/instance`
* To print all data for the `observations` dataset with column 1, 2 and 3 configured within the `default` instance: `http://localhost:8080/search/default/observations?a=1;2;3` * To list all datasets available and configured within the ***default*** instance:
* To count number of data available for the `observations` dataset configured within the `default` instance: `http://localhost:8080/search/default/observations?a=count` * `http://localhost:8080/instance/default/dataset`
* To print only 3 observations data (search by id) from the `observations` dataset configured within the `default` instance: `http://localhost:8080/search/default/observations?a=1;2;3&c=1::in::418|419|420` * To print all data for the ***observations*** dataset with column 1, 2 and 3 configured within the ***default*** instance:
* `http://localhost:8080/search/default/observations?a=1;2;3`
* To count number of data available for the ***observations*** dataset configured within the ***default*** instance:
* `http://localhost:8080/search/default/observations?a=count`
* To print only 3 observations data (search by id) from the ***observations*** dataset configured within the ***default*** instance:
* `http://localhost:8080/search/default/observations?a=1;2;3&c=1::in::418|419|420`
### Client ### Client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment