Submit compact Rhea reaction search requests for biochemical reactions and reaction IDs. Use when a user wants concise Rhea summaries
scripts/rest_request.py for all Rhea calls.base_url=https://www.rhea-db.org.rhea search endpoint plus format=json.query, targeted ID search via query=RHEA:<id>, and small result windows.base_url, pathmethod, , , , , , , , , , , paramsheadersjson_bodyform_bodyrecord_pathresponse_formatmax_itemsmax_depthtimeout_secsave_rawraw_output_path{"base_url":"https://www.rhea-db.org","path":"rhea","params":{"query":"caffeine","format":"json"},"record_path":"results","max_items":10}{"base_url":"https://www.rhea-db.org","path":"rhea","params":{"query":"RHEA:47148","format":"json"},"record_path":"results","max_items":5}ok, source, path, method, status_code, warnings, and either compact records or a compact summary.raw_output_path when save_raw=true.ok=false with error.code and error.message.echo '{"base_url":"https://www.rhea-db.org","path":"rhea","params":{"query":"caffeine","format":"json"},"record_path":"results","max_items":10}' | python scripts/rest_request.py
scripts/rest_request.py.