diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-27 10:41:36 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-27 10:41:36 +0000 |
| commit | 20657e9f1c3afd6fea826a1633860a7140336651 (patch) | |
| tree | 1b11d245775b6239cd1681bea306f25f27b90564 /src/json_errors.rs | |
| parent | 769782d921ea1229e9a67ef173eab569f564c73f (diff) | |
| download | genenetwork4-20657e9f1c3afd6fea826a1633860a7140336651.tar.gz | |
compute: say which dataset and engine each run used
Fills in the usage slot for gemma (all three routes, through one record_usage helper), qtl2, rqtl, fitqtl, bulklmm, bnw and bnw_features: dataset, group, source (group|upload|file|basket), trait, engine, and the run id where the endpoint has one -- the id a later result fetch carries in its path, which is what makes "computed and never fetched" measurable. The call goes in before validation on purpose: a 422 still records what was asked for, and a failed compute is as interesting as a working one. /search gets q, type, engine and hits. It is the only place a query string is written: the access log drops query strings because one can carry a credential, so ?q= was otherwise invisible, and "what people search for" is the most useful behavioural signal this API has.
Diffstat (limited to 'src/json_errors.rs')
0 files changed, 0 insertions, 0 deletions
