API, user: Separate endpoint connection from query build

4 jobs for new-api in 18 minutes and 15 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Check
passed #323117
check

00:00:19

 
  Test
passed #323118
flatpak

00:17:21

 
  Review
passed #323119
review

00:00:35

manual #323120
allowed to fail manual
stop_review