issue #20851: added field queries to discovery doc
issue #20851: pass rest params into database query
issue #20851: be more general about data type restriction in discovery
issue #20851: remove hardcoded admin
Merge pull request #697 from shackbarth/20851-rest

issue #20851: pass field-level rest parameters into database query