Merge branch 'api' into 'master'

Organise API endpoint utilities

See merge request !437
3 jobs for master in 7 minutes and 26 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #134714
Lint

00:01:20

passed #134715
Test

00:03:07

 
  Build
passed #134716
Build

00:04:18