notes on rest.py usage (see wq/wq.db#12)