add queries for all api objects