add more rest apis
add generate query field
""