Use case 1:
RCDB web site should accept JSON object with request:
- conditions name to get
- query
- run range
And get json object containing values with it:
Example request:
{
"query": "@is_production and even_count>1M",
"run_min": 20000,
"columns_to_get": ["event_count", "target_name", "beam_current"],
}
Example of response:
{
"result":
[
{"run":20000, "event_count": 1873843563, "target_name": "DIAMOND", "beam_current": 100.2 },
{"run":20001, "event_count": 3453497345, "target_name": "DIAMOND", "beam_current": 101.2 }
]
}
Use case 1:
RCDB web site should accept JSON object with request:
And get json object containing values with it:
Example request:
{ "query": "@is_production and even_count>1M", "run_min": 20000, "columns_to_get": ["event_count", "target_name", "beam_current"], }Example of response:
{ "result": [ {"run":20000, "event_count": 1873843563, "target_name": "DIAMOND", "beam_current": 100.2 }, {"run":20001, "event_count": 3453497345, "target_name": "DIAMOND", "beam_current": 101.2 } ] }