API, user: Separate endpoint connection from query build

4 jobs for new-api in 17 minutes and 50 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Check
passed #247914
check

00:00:17

 
  Test
passed #247915
flatpak

00:17:06

 
  Review
passed #247916
review

00:00:26

manual #247917
allowed to fail manual
stop_review