python3 rhapi.py --url=http://dbloader-tracker:8113
will list both the real(cmsr) and dummy(int2r) databases. Not necessary, from here on I'll be using dummy
python3 rhapi.py --url=http://dbloader-tracker:8113 trker_int2r
, this is where everything is stored
python3 rhapi.py --url=http://dbloader-tracker:8113 trker_int2r.INSERTTABLENAME
python3 rhapi.py --url=http://dbloader-tracker:8113 trker_int2r.kinds_of_part
, you'll notice kinds_of_part is a table from the third command.
python3 rhapi.py --url=http://dbloader-tracker:8113 "select * from trker_int2r.kinds_of_part p"
-c
at the end of the query will give you the size of the table (Count the results)
-f xml
at the end python3 rhapi.py --url=http://dbloader-tracker:8113 "select * from trker_int2r.kinds_of_part p" -f xml
python3 rhapi.py --help
for more info
auth-get-sso-cookie --nocertverify -u https://cmsdca.cern.ch
-o cookies.txt
curl --insecure -b cookies.txt -L -v -X POST -d "select r.run_number from trker_int2r.trk_ot_test_nextrun_v r" https://cmsdca.cern.ch/trk_rhapi/query
; echo
curl --insecure -b cookies.txt -L -v -G "https://cmsdca.cern.ch/trk_rhapi/query/<queryID>/data" --data-urlencode "" ; echo
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
2022_06_PotatoCodeExplanation.pdf | r1 | manage | 374.4 K | 2022-06-14 - 17:41 | RamonOgaz | This is a brief explanation of the main classes used in the POTATO code, with examples. |
![]() |
bp-potato-or-potaNO-quiz.jpg | r1 | manage | 42.3 K | 2022-01-20 - 00:35 | FabioRavera |