diff --git a/python/lsst/consdb/pqserver.py b/python/lsst/consdb/pqserver.py index 98615054..a2737aef 100644 --- a/python/lsst/consdb/pqserver.py +++ b/python/lsst/consdb/pqserver.py @@ -133,6 +133,17 @@ def root(): return jsonify(data) +@app.get("/consdb") +def root2(): + logger.info(request) + data = { + "instruments": INSTRUMENT_LIST, + "obs_types": OBS_TYPE_LIST, + "dtypes": DTYPE_LIST, + } + return jsonify(data) + + @app.post("/flex///addkey") def add_flexible_metadata_key(instrument: str, obs_type: str): logger.info(request)