[API] splitting the routes (needs a code review of the api)

2 jobs for dev in 22 minutes (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #1786
docs

00:11:53

passed #1787
test

00:10:07